• Breaking News

    Saturday, December 28, 2019

    Android Dev - App Feedback Thread - December 28, 2019

    Android Dev - App Feedback Thread - December 28, 2019


    App Feedback Thread - December 28, 2019

    Posted: 28 Dec 2019 04:28 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make top level comment
    • must make effort to respond to questions and feedback from commenters
    • may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

    - Da Mods

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

    Introducing Scabbard: Easily visualize Dagger 2 dependency graphs

    Posted: 27 Dec 2019 10:28 PM PST

    Question: On Firebase Console's "Audiences" screen, does it show all ranges of ages, or only from age of 18 ?

    Posted: 28 Dec 2019 02:56 AM PST

    This is a simple question.

    I had my apps available for all, as they are just tools, but I see just statistics from age of 18:

    https://i.imgur.com/NDHJ8Hi.png

    Is it the real statistics, or Firebase doesn't include those that are below age of 18?

    I ask this because if this is the statistics, I can change the content rating without worrying about harm on downloads, and I might get easy on app review time.

    submitted by /u/AD-LB
    [link] [comments]

    What is the correct flow to check for biometrics or password with BiometricPrompt?

    Posted: 28 Dec 2019 01:31 AM PST

    BiometricManager has a canAuthenticate method that can return either of 4 flags:

    when (biometricManager.canAuthenticate()) { BiometricManager.BIOMETRIC_SUCCESS -> Log.d("MY_APP_TAG", "App can authenticate using biometrics.") BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE -> Log.e("MY_APP_TAG", "No biometric features available on this device.") BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE -> Log.e("MY_APP_TAG", "Biometric features are currently unavailable.") BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED -> Log.e("MY_APP_TAG", "The user hasn't associated " + "any biometric credentials with their account.") } 

    Now it seems logical to only trigger the BiometricPrompt if the result of that call is BIOMETRIC_SUCCESS and otherwise fall back to a different authentication method (i.e. app-specific password). But if you set setDeviceCredentialAllowed(true) on the BiometricPrompt, it can still activate the password input even if the canAuthenticate check does not return BIOMETRIC_SUCCESS (I think in this case it's BIOMETRIC_ERROR_NONE_ENROLLED).

    Is someone here that uses BiometricPrompt in his app and can tell me what kinds of checks he has in place and what kinds of authentication options he shows to his user in which scenario?

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

    Android 11 exposure: 5-year-old problem finally resolved

    Posted: 28 Dec 2019 03:49 AM PST

    What's better to learn when starting Android development: Kotlin or Java?

    Posted: 28 Dec 2019 01:04 AM PST

    New to Android development. I have recently created a webapp using RoR and now I want to recreate it for Android devices. When visiting the Android Developers website, it gives you two options to start out with Android, either Kotlin or Java. From what I've read, Kotlin was specifically made by Google for Android development, but I've heard some people mention that Java is easier to learn. I should mention that I'm only experienced in Ruby and Python as programming languages. So what would be easier for me to start out with/what would you recommend? TIA

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

    Best approach for app that runs infrequently on an external trigger?

    Posted: 27 Dec 2019 12:47 PM PST

    I'm working on an app that:

    1. Depends on an Alexa skill that triggers an action in the app to run
    2. Needs to respond extremely quickly to this trigger
    3. Will not run frequently

    I have been able to set up FCM notifications to run using "Data" instead of "Notification" but when the app has been killed due to background execution limits, the trigger no longer runs. This makes sense given the desire to reduce resource consumption. However, it completely kills my app because it requires activation from the Alexa skill.What are my options for getting the trigger to continue?

    It doesn't run periodically so WorkManager and JobScheduler don't follow Google's guidelines.

    Foreground services don't either, as there is no constant task being performed. Additionally, older versions of Android couldn't stop the constant notification from displaying. Someone correct me if I'm wrong.

    Bound services don't run indefinitely and can't serve waiting for notifications. I don't think this is what I am looking for.

    These are the options I have considered:

    1. I could trigger the app based off an incoming text message, but I feel that abuses the system. SMS messages are also unreliable in their delivery time.
    2. Background services could theoretically work, but being put into the idle state would stop the trigger.
    3. Foreground service, but have the notification hidden and send data notifications to the user.

    The issue I am facing is that my app doesn't run frequently, but when it does it needs to be triggered externally and run ASAP. A minute delay is not acceptable.

    Any ideas?

    EDIT #1: I've added this permission to the manifest to whitelist my app for doze mode (and in turn not applying to standby bucket restrictions). I can't simulate the conditions with ADB, but I think this will work for keeping it out of doze mode. Then I can launch an activity that directs to the battery optimization page and turn it off for my app.<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>

    If the app still terminates at some point, then I'll need to find out why so I can figure out if an AlarmManager, JobScheduler, WorkManager, Service, or something else can keep it alive. I'm guessing a Service would be able to.

    EDIT #2: Found out this whitelist doesn't completely prevent doze-mode. If this ends up not working then I'll have to create a background service that uses AlarmManager to keep alive. I'm going to do some testing to see if high-priority FCM data messages can still trigger this when I need it.

    I could still use an answer for my original question, as I don't know if this will work.

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

    Startup app on Android 7 Tablet?

    Posted: 27 Dec 2019 12:55 PM PST

    We've been working on an app for a while and recently ran into the issue that we cant get it to sun on startup withought manual imput from a user. The app must work on a Advance 4757 tablet and android 7 but the dev team has not been able to find out how to make it work via programming.

    I wanted to know if anyone could help me giving them suggestions on what could be donde or if its actually impossible to have custom apps autorun on startup.

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

    I followed this tutorial for a navbar, but the IDE gives an error for a line of code. How can I get around this?

    Posted: 27 Dec 2019 03:36 PM PST

    The line of code:

    actionBar.setDefaultDisplayHomeAsUpEnabled(true);

    IDE error:

    setDefaultDisplayHomeAsUpEnabled() can only be called within the same library group (groupId=androidx.appcompat)

    The tutorial in case anyone wants to look at it: https://guides.codepath.com/android/fragment-navigation-drawer#download-nav-drawer-item-icons.

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

    Android support libraries minimum supported API

    Posted: 27 Dec 2019 12:07 PM PST

    Hello,

    According to my understanding each Android API version releases support libraries in order lower versions might use current API version features. But not all API's might use them.

    I suppose that support library version 26.0.0 was created when API version 26 was released. I know that support library 26.0.0 might be used by Android of minimum API 14.

    But what about others versions of support libraries? What minimum API versions might use them?

    For example, what is minimum Android API version that can use support library 23.0.0 ?

    Where I can find whole list?

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

    Google play review

    Posted: 27 Dec 2019 12:04 PM PST

    Hi! Today I noticed that someone gave a review on my game and said that I gave 5 stars because I was promised a reward. However I did not ask anyone to give such a review nor in my game neither personally. Would anyone give me suggestion about what should I do? Should I flag this review as a spam or should I reply to him/her that I did not offer any reward?

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

    How to use Retrofit with Headers

    Posted: 27 Dec 2019 11:50 AM PST

    Hi everyone.

    I've been dealing with this since morning. But I couldn't figure it out. I need to use Rapidapi. It has a key.

    Api : https://rapidapi.com/omgvamp/api/hearthstone

    I made a project with normal API. But I could not use this API.

    Please help me

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

    Production relaese

    Posted: 27 Dec 2019 10:13 AM PST

    Hello all,

    how long after production release will I see the app in the store? THX

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

    Admob CTR

    Posted: 27 Dec 2019 08:57 AM PST

    Is CTR too high these days?

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

    API 29 does not support com.android.support ?

    Posted: 27 Dec 2019 08:39 AM PST

    Hello,

    Trying to understand how to use application settings using preferences using tutorial. I'm using API 29 and looks like I can't use PreferenceFragmentCompat from 'com.android.support:preference-v7:26.1.0' package. Android Studio complains regarding this dependency:

    Version 28 (intended for Android Pie and below) is the last version of the legacy support library...

    Does it means I can't use anything from 'com.android.support:*'? Since PreferenceFragmentCompat is depricated what I should use instead of it?

    I know I can use older SDK, but this is not option.

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

    No comments:

    Post a Comment