• Breaking News

    Saturday, September 5, 2020

    Android Dev - App Feedback Thread - September 05, 2020

    Android Dev - App Feedback Thread - September 05, 2020


    App Feedback Thread - September 05, 2020

    Posted: 05 Sep 2020 05:28 AM PDT

    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]

    Retrosheet: Turn Google Spreadsheet to JSON endpoint (for Android and JVM)

    Posted: 04 Sep 2020 09:42 PM PDT

    Introducing Radiography – Text-ray goggles for your Android views

    Posted: 04 Sep 2020 11:20 AM PDT

    Any good command line test runner & result presenter, other than Spoon?

    Posted: 05 Sep 2020 04:04 AM PDT

    Alternatives to Square's Spoon - anyone know of any good? Requirements:

    • Command-line based, not requiring the Android SDK to be installed but instead run against the already built pair of APKs.
    • UI presenting test results with..:
      • Presenting Espresso screenshots taken during test run
      • Stack trace on errors
      • Logcat output on errors
    • (Preferrably) Parallell device execution. (I suppose this can be worked around by launching mulitple shells)
    • (Would be awesome) Live update of test results during execution

    Why not Spoon? - The UI is good but not great. I'm not a big fan of a segmented bar representing test results - It doesn't allow individual input to individual devices (ref) - It's not maintained

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

    SuperheroesAndroid - Sample app using the Marvel API following a functional/reactive architecture

    Posted: 05 Sep 2020 03:42 AM PDT

    I wrote a sample app trying out some ideas around a more functional architecture for Android and the result is here.

    It's a reactive layered architecture, powered by RxJava. What is unique here is the preference towards functions. Most of the logic is written as extension functions over it's dependencies.

    Any feedback is welcomed.

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

    Dagger.Hilt TLDR

    Posted: 05 Sep 2020 05:05 AM PDT

    My app got rejected, i submitted an update but it still shows "App rejected" as status in the all apps category, shouldn't the status change to pending publication?

    Posted: 05 Sep 2020 05:56 AM PDT

    To clarify im talking about google play store. Or shouldn't i create a new release but instead upload the whole app as a new app?

    thanks in advance

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

    Android widgets – Update using Kotlin Flow, Room and Hilt

    Posted: 05 Sep 2020 05:29 AM PDT

    Hi,

    I just made a tutorial about updating widget using Kotlin Flow, Room and Hilt.

    Android widgets – Update using Kotlin Flow, Room and Hilt

    What do you think about this approach?

    Thanks.

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

    Kotlin vs flutter for android

    Posted: 05 Sep 2020 04:25 AM PDT

    For person new in programming any start learn kotlin Or dart with flutter and why

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

    Authentication With Flutter And AWS Cognito!☁️

    Posted: 05 Sep 2020 03:25 AM PDT

    After A10 upgrade my stock launcher overrides all widgets swipe gesture. So swiping down in scrollable widgets triggers system swipe down gesture...How to fix it?

    Posted: 05 Sep 2020 01:03 AM PDT

    Title says it all. It is very annoying and it happens for all widgets.

    I need to scroll very carefully inside widgets to not trigger system scroll gestures...

    Is there a way to fix it, besides changing launcher?

    Seems to be related to A10 in general, because I also noticed the same behavior on my friend's Xiaomi after update, he complained about it too.

    Do manufacturers not test their upgrades? It is annoying af :(

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

    Structural Class Redefinition

    Posted: 04 Sep 2020 01:25 PM PDT

    What large scale apps use Firebase?

    Posted: 04 Sep 2020 10:55 AM PDT

    I've always heard Firebase is good for small projects, but for large scale apps you should stay away from Firebase. Is there any popular app that uses Firebase?

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

    If I only include Mono audio speakers, and stereo 3.5mm headset can I still be compatible with Android 10?

    Posted: 04 Sep 2020 08:39 AM PDT

    I've been reading the compatibility spec for Android 10 while developing an IOT device. I really don't need Stereo audio from the device, but I'm worried that I'll break compatibilities and bad things will happen since I wouldn't be implementing high quality audio output.

    Is this an instance where the "Must" might be a "should" for custom devices? Am I safe to just use one speaker out?

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

    Tracking distance when phone is on?

    Posted: 04 Sep 2020 11:57 AM PDT

    I am new to android development but was looking for some advice. I have used the google Distance API to figure distance between two points but seems like overkill when all I need total distance traveled. Looking if any alternatives exist for this problem.

    Example: If the app was running and you drove to work, it would show how far your commute was.

    Thanks.

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

    Possible to know when apps access the accelerometer?

    Posted: 04 Sep 2020 11:19 AM PDT

    There are articles about the amount of personal data that can be inferred from accelerometer/gyroscope data. Android doesn't give us permission controls for apps access to these, but can I monitor it somehow?

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

    MVVM RecyclerView General Question

    Posted: 04 Sep 2020 11:11 AM PDT

    Have some general MVVM questions for a recycler view that will show header cells and regular cells.

    Created an adapter for a recycler view that conforms to ListAdapter<Model>. I also created a ViewModel that inherits from androidx.lifecycle.ViewModel. So I have an adapter, model, and view model.

    1. Should the Adapter accept an array of models or a single view model?
      1. If array of models, the model would then need to know when to show sections vs regulars model info. This seems wrong because models shouldn't know about UI
      2. If View Model, then adapter would know too much since the view model knows about everything pertaining to the fragment. However, the view model is a great place to put the logic for when to use a header cell vs a regular cell. Maybe fragment uses multiple view models and only pass the relevant one to the adapter?
    2. How to best access String Resources inside a view model?
      1. If it's through the constructor, via view factory context argument, then it would be bad whenever the user changes language because it would still be referencing the older resources right?
      2. Conceptually View Model should not be referencing Resources since its view related right? If so, then how can I setup the view model's underlying array objects because those will eventually show information on the recyclerview. Anything on the UI should be through String Resources. I suppose the fragment can create the model with the resources, pass the model into the view model?
    submitted by /u/alwaysSearching23
    [link] [comments]

    Dev Support

    Posted: 04 Sep 2020 10:13 AM PDT

    Where can one go to ask questions to get help with development? I have been trying to figure out how to use the headset jack to hook into my app, and I need some help, but not sure where to turn to find it. Since you can't post here looking for help, where do people turn for help with these sorts of things?

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

    How do I receive both notification popup on phone and trigger backgroundhandler to store the message on app terminated?

    Posted: 04 Sep 2020 09:59 AM PDT

    How do I receive both notification popup on phone and trigger backgroundhandler to store the message on app terminated?

    It seem like if I terminate the app and I send the notification without the notification load but only data load, then it trigger background handler, but it does not show a notificaiton popup on phone so u can't know if you received a notification.

    If I include the notification payload along with the data payload, then it does not trigger background handler when app is terminated, but on notification click it will trigger onresume or onlaunch and it will show me the message, but then lets say if I send 10 messages at once and I open only 1 of them, then the other won't show up in the app right away until I click on each notification.

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

    What is Android ImageView ScaleType

    Posted: 04 Sep 2020 09:48 AM PDT

    What is Android ImageView ScaleType

    You want to use an ImageView on your App and you are wondering which ScaleType you should use. I have a good news for you, there is an App for that

    https://preview.redd.it/z1hfk3g3u5l51.jpg?width=600&format=pjpg&auto=webp&s=28a6fe8cb79269d76814a914ab71528c39e52f12

    Yes I created an App that you can find here to show you all the different ScaleType values. And even further below are screenshots of all those values side by side

    https://preview.redd.it/ciuemfx4u5l51.png?width=1561&format=png&auto=webp&s=5223e65132d987a333034af5d267ff3baa9248e5

    The full descriptions of each ScaleType from the official Android documentation.

    CENTER

    Center the image in the view, but perform no scaling.

    android:scaleType="center"

    CENTER_CROP

    Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).

    android:scaleType="centerCrop"

    CENTER_INSIDE

    Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).

    android:scaleType="centerInside"

    FIT_CENTER

    Scale the image using Matrix.ScaleToFit#CENTER.

    android:scaleType="fitCenter".

    FIT_END

    Scale the image using Matrix.ScaleToFit#END.

    android:scaleType="fitEnd"

    FIT_START

    Scale the image using Matrix.ScaleToFit#START.

    android:scaleType="fitStart"

    FIT_XY

    Scale the image using Matrix.ScaleToFit#FILL.

    android:scaleType="fitXY"

    MATRIX

    Scale using the image matrix when drawing. The image matrix can be set using ImageView#setImageMatrix(Matrix).

    android:scaleType="matrix"

    Check the full code on github and follow me on Twitter for more tips about #coding, #learning, #technology, #Java, #JavaScript, #Autism, #Parenting...etc.

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

    No comments:

    Post a Comment