• Breaking News

    Sunday, July 11, 2021

    Android Dev - Path Finding Visualizer App using Jetpack Compose

    Android Dev - Path Finding Visualizer App using Jetpack Compose


    Path Finding Visualizer App using Jetpack Compose

    Posted: 11 Jul 2021 07:17 AM PDT

    Path Finding Visualizer App using Jetpack Compose

    Path Finding Visualizer App using Jetpack Compose in Android.
    I used Dijkstra's algorithm for finding the guaranteed shortest path.
    I also had fun managing the state and animation using Kotlin coroutines.

    Source code:
    https://github.com/crjacinro/compose-path-finding

    This pet project is inspired by Clement Mihailescu's Pathfinding Visualizer project (https://github.com/clementmihailescu/Pathfinding-Visualizer)

    https://reddit.com/link/oi58sz/video/iksxymyzdla71/player

    submitted by /u/crjacinro23
    [link] [comments]

    How long will you go to protect your Android app from being tampered?

    Posted: 11 Jul 2021 07:34 AM PDT

    I'm having issue submitting an app for Android Auto.

    Posted: 11 Jul 2021 03:59 AM PDT

    I followed the official docs to create Android Auto app, but I'm getting rejected with this message:

    At this time, we are only accepting apps within the Media, short form Messaging, or categories supported by the Android for Cars App Library. Media apps that use TSS engine readout for content are not permitted at this time.

    It happens on internal track, which shouldn't be reviewed at all, so I'm confused even more.

    "Categories supported by the Android for Cars App Library" are, as I read:

    • androidx.car.app.category.NAVIGATION
    • androidx.car.app.category.PARKING
    • androidx.car.app.category.CHARGING

    This is what I added in the manifest

    <service android:name=".service.CarService" android:exported="true" android:label="@string/app_name" android:icon="@drawable/ic_logo"> <intent-filter> <action android:name="com.google.android.car.action.CAR_APP"/> <category android:name="androidx.car.app.category.NAVIGATION"/> </intent-filter> </service> <meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc"/> 

    automotive_app_desc.xml looks like this:

    <?xml version="1.0" encoding="utf-8"?> <automotiveApp> <uses name="template" /> </automotiveApp> 

    Frankly, I tried different variations and tried submitting anything that resulted in my app actually working in my testing using desktop head unit.

    Any help with this is appreciated, I will try anything :)

    submitted by /u/Samael1990
    [link] [comments]

    95 of 100 subscription orders from Indonesia stuck in payment pending after free trial ended. Is it normal?

    Posted: 11 Jul 2021 07:37 AM PDT

    The payment pending or decline rate in global is more than 80%. The mainly purchased item costs less than $20/year. Although the developing countries have a higher decline rate than developed countries, the decline rate is too high to ignore. Have you encountered this issue? What is your app's decline rate in specific countries?

    submitted by /u/Phxx
    [link] [comments]

    Listen permanently for notifications

    Posted: 11 Jul 2021 03:56 AM PDT

    I want to create an application that sends my phone notifications to my PC which are then displayed there.

    I read that you need to start a foreground service to make it always running. So that is what I tried: ``` public class NotificationListener extends NotificationListenerService {

    @Override public void onNotificationPosted(StatusBarNotification sbn) { Bundle extras = sbn.getNotification().extras; Log.d("App", "Notification posted"); } @Override public int onStartCommand(Intent intent, int flags, int startId){ Log.d("App", "Service started"); startForeground(1, new NotificationCompat.Builder(this, NotificationChannel.DEFAULT_CHANNEL_ID) .setContentTitle(getText(R.string.notification_title)) .setContentText(getText(R.string.notification_body)) .setContentIntent(PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), 0)) .build()); return START_STICKY; } 

    } Unfortunately, no debug message is shown. This is my AndroidManifest.xml: <service android:name=".NotificationListener" android:enabled="true" android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> <intent-filter> <action android:name="android.service.notification.NotificationListenerService" /> </intent-filter> </service> ```

    And even if it worked, what is missing to make it really always running? I am sure I forgot something and that it isn't that easy.

    submitted by /u/patri9ck
    [link] [comments]

    i don't knows what playstore mean by this message

    Posted: 11 Jul 2021 02:08 AM PDT

    Depends on menu Your app depends on having a "Start," "Select," or "Menu" button to reach the menu. Android TV controllers do not support a "Select," "Start," or "Menu" button. Please refer to our Gamepad Button Presses documentation for details: http://developer.android.com/training/game-controllers/controller-input.html#buttonProcess

    submitted by /u/diyar_gulli
    [link] [comments]

    Adopting Jetpack Compose - Joe Birch

    Posted: 10 Jul 2021 08:38 AM PDT

    Integratable piece of code for apps

    Posted: 11 Jul 2021 03:10 AM PDT

    Hey guys,

    I come from web dev and have almost no experience with android dev.
    I want to create a small window with some functionality (should be able to communicate with an API) in it, which can be added by other programmers to their android apps.
    I am not sure where to start because there are so many ways to create apps.
    I tried hard to do my research prior to writing this but I don't even know how to search for it on google.
    So i would be thankful for any advice, resources or just keywords for google searches that you guys can give me. Thank you very much in advance <3 :)

    submitted by /u/Affectionate-Cod312
    [link] [comments]

    Is a strike against your developer account permanent?

    Posted: 10 Jul 2021 12:49 PM PDT

    I asked this question a week ago: https://www.reddit.com/r/androiddev/comments/od0pxl/does_the_play_store_allow_you_to_publish_an_app/

    It was about publishing an app the the Play Store than had an APK inside it with an old targetSDKversion. Everyone told me it would get suspended. So I submitted it to a review process to be sure and it got suspended. I read that this counts as a strike against my account. Is this strike permanent? Is there a way to undo it? Also I'm speculating here, but Google said that "Suspensions count as strikes against the good standing of your Google Play Developer account." which got me thinking that maybe they also punish you by lowering the search rank of your other apps on the Store.

    submitted by /u/HiDiNoWro
    [link] [comments]

    Platform or tools for gathering feedback

    Posted: 10 Jul 2021 04:22 PM PDT

    Hi everyone, my first post here. I would love to hear what tools you use for engaging with your app testers (gathering ideas, discussing bugs, perhaps even sharing test apks)

    submitted by /u/ock88
    [link] [comments]

    Stuck on Bluetooth Headset Issue

    Posted: 10 Jul 2021 01:44 PM PDT

    I have a app which basically have VoIP functionality. Everything is working without any issue. But when user connect bluetooth headphone sometime user unable to hear any audio and sometime bluetooth headphone's mic not catching the voice. Spent couple of days still 0 progress. I am using a third party library for VoIP( https://www.agora.io/en/products/voice-call/ ). It gives a callback when ever audio route changes. And when I hear the route is BLUETOOTH Headphone then I basically uses Android's audioManager to route audio to Bluetooth Headphone. I am doing like this 1. Setting Mode to MODE_IN_COMMUNICATION 1. am.startBluetoothSco() 2. am.isBluetoothScoOn = true

    The problem is sometime it's working and sometime(most of the time) it's not.

    Here's the issue's I have faced till now:- 1. On same device sometime it works and sometimes not. 2. Sometimes the whole audio is gone and Android device's volume become very low then I have to restart my device. 3. One some device it's works only the first time

    I am a newbie in BLUETOOTH I don't even know why we have to set Mode and also what mode to use where etc. Any helps or any reference will be very helpful. Guys please help me

    Thank You

    submitted by /u/QuietShock
    [link] [comments]

    Unable to build project (Android Studio Canary)

    Posted: 11 Jul 2021 01:14 AM PDT

    hi guys i’m new to android, so i was trying to change the icon of the apk, like let’s say instagram i wanna change the icon of the apk and i’m using a macbook do any of you guys know an app or a solution to do that thanks a lot

    Posted: 11 Jul 2021 12:57 AM PDT

    Open Sourced NIDS(Intruder Detection Systems) on Android

    Posted: 10 Jul 2021 09:00 AM PDT

    Hi guys, i want to create an android app that will act as a GUI for SNORT NIDS(or Zeek,Suricata) so that network administrators can monitor SNORT((or Zeek,Suricata) ) from their phones. How would I go about doing this ? Is kotlin a good language for this project ? Which IDS is best suited for this project ? Would appreciate any input !

    submitted by /u/packetMilk
    [link] [comments]

    Dagger hilt - rid of it completely

    Posted: 10 Jul 2021 05:27 PM PDT

    1. In production apps, what do you commonly inject? View model? What else? I don't care about singleton, cuz I can easily create a singleton without dagger.

    2. If viewmodel is only thing you inject most, does it make any sense to make your app much more complicated with dagger?

    3. I don't need injection in singleton with dagger since you inject it once and be done with it.

    4. With jet pack compose, it's even more so I should not use dagger at all.

    5. For testing, I could just use mocks

    submitted by /u/ynkm1692
    [link] [comments]

    FIRESTORE COLLECTION GROUP QUERY

    Posted: 10 Jul 2021 08:30 AM PDT

    Hello, I am creating an app of multiple restaurant ordering. Where categories of different food items are shown. There is an admin app where I manage restaurant and its menus. Now I have set the database like this

    RootDb |-Restaurants //a collection |-restaurantid (which is restaurant username) |-MenuItems // subcollection |- All other properties of restaurant Now from Menuitems |- menuid |-all properties of menu

    Now, I have implemented all the features of the app other than the categories, I didn't think of setting the database accordingly for getting the data quickly whenever user clicks on category.

    I have to check all the restaurants then inside them I need to get the items from "MenuItems"

    please help me how can I get the category items from every restaurant with a query

    Note: there are many restaurants added with there own menu.

    submitted by /u/PutEmbarrassed9376
    [link] [comments]

    No comments:

    Post a Comment