• Breaking News

    [Android][timeline][#f39c12]

    Saturday, January 30, 2021

    App Feedback Thread - January 30, 2021 Android Dev

    App Feedback Thread - January 30, 2021 Android Dev


    App Feedback Thread - January 30, 2021

    Posted: 30 Jan 2021 06:00 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 a top level comment
    • must make an effort to respond to questions and feedback from commenters
    • app 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.

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

    How do you let your users back up their data?

    Posted: 30 Jan 2021 07:35 AM PST

    I published a tiny app for saving notes and book quotes and recently a lot of my users have been asking for means to back up their data. Notes are saved on the device and are never sent to a server. Users don't even log in, their data isn't stored on any cloud.

    Obviously, I have `android:allowBackup="true"` but I'm wondering if others are relying on this feature. My biggest gripe with it is that backup is limited to 25MB.

    My question is - how are you backing up your user's data?

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

    Comments and discussion about UI, integration tests, and mocks

    Posted: 30 Jan 2021 11:47 AM PST

    I have some experience with Unit testing but I have never gone beyond that, and in the next project we will start doing UI and integration tests. I have thoughts based on what I've read, but I'd like to see what you think, what am I missing, and get real-experience feedback.

    Some specific questions (sorry, it is a bit long, relevant topics in bold as TL;DR):

    1) For UI tests, to reduce flakiness and slowness, I understand it's better if we mock the server. But where/how? By running an on-device server (e.g. with Ktor), by providing mock json responses (retrofit interceptor), by providing mock data sources, by providing mock UseCases…?

    What I see is, the more code that is mocked the less "real-like conditions" the test will be; but the easier and faster it will be to build, run and maintain. And we can already test all of that with unit and integration tests…

    Am I missing some points? What have you tried and how did it work out?

    2) How worthwhile is it testing the server requests (data source), considering it is mostly done by retrofit and the serializer, and it requires setting up a lot of big json files? It seems that it will rarely break due to a programmer error, as that code should only change if the actual server response changes, and in that case the test needs to be changed anyway. The only benefit I can see is if we change the serialization library (or upgrade to a breaking version) in the future, which might be enough to be worthwhile, but I am not sure because it is a lot of effort for a not that frequent change. Probably if we have some end-to-end tests from question 1 it makes this less necessary too.

    Again, am I missing something? What's your experience? And what tools are good and bad for testing REST API requests?

    3) What do you consider more important to test in UI testing, sorted by usefulness in finding bugs vs effort and flakiness? I suspect this: correct user interaction and navigation > specific bugs that have been detected and fixed > UI correctly doing what the VM expects >> ui correctly shows the info >> animation. Not sure if there are more things that could be tested or the sorting is not correct. Prior to having tried it, for example, it seems very costly to test that the UI looks as it should (text is not cut or has ellipsize, views do not overlap…).

    4) I was thinking about covering all the visual part of UI testing with screenshot testing and leaving UI tests for interaction/navigation. Those tests in theory look good, but I've read the worst opinions about them. They seem especially useful when we update UI libraries -e.g. material design- and margins or colors work differently. I see that I lose the benefit of reading the tests and knowing the UI behaves as expected, but if all logic is at the ViewModel or in separate and testable UI helper classes it should not be necessary. It seems that it can very significantly reduce the effort of building and maintaining tests, and detect issues that do not seem feasible with standard UI tests.

    5) As sort of a follow-up of 1, is it a good idea having some fully end-to-end tests that include actual server requests, to be able to release blindly? I think I'd always want human supervision before doing a release, so there would be no reason for that, I think. Note that currently, I do not expect to be doing more than 1 release per month or so. If we were releasing once per week or more I'd probably change my opinion on this.

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

    Can NPU and GPU operate simultaneously on Android device?

    Posted: 29 Jan 2021 09:35 PM PST

    I'm an android developer interested in NNAPI.

    Can NPU and GPU operate simultaneously on Android device?

    Thank you!

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

    Is there a way to be notified when my release has been approved?

    Posted: 30 Jan 2021 03:31 PM PST

    I did not find a way to be notified when a release in the Google Play Console is approved by Google team (and then I manually publish it the store).

    There is no emails or webhooks available.

    It's annoying to visit the console every hour to know if the review process of my update is done.

    I already searched a solution with CI/CD like Bitrise or even tried to scrap the Google Play Console but no success.
    Bonus: Did someone ever manage to scrap the Google Play Console? I've managed to pass my auth cookies and stuff but I'm stuck to the loading view (with the Google Play Console Logo).

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

    Is there a no-coding free software that allows you to make a simple app?

    Posted: 30 Jan 2021 03:25 PM PST

    All I would like it to do is:

    - input data (durations)

    - do calculations based on the data

    - present the data

    - make a widget

    - do pop-up notifications based on calculations of the data

    - option to export the data

    Thank you in advance! :)

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

    How to convince backend devs that Android is important - help needed

    Posted: 30 Jan 2021 07:32 AM PST

    Hi,

    I'm working on a conference talk / YouTube video / blog post (hopefully all three together) about the importance of the Android platform. It's goal is to convince developers who usually work on backends to look into Android as a potential job market for them to switch to, and as a potential niche if they decided to write new projects. My very specific goal inside that goal is to convince Scala devs that they can write Android apps, but let's not delve into that here :) (I tell you about it only for full disclosure).

    I already have quite a bit of source materials to work on but maybe I missed something interestinng, so I decided to ask for your help. Do you know about any thorough, like really thorough, well documented statistics, surveys, etc., about the Android platform?
    For example:
    1. How many Android devices are there in comparison to iPhones, laptops, desktops, and servers?
    2. How many Android devs work on apps in comparison to devs in other niches of IT?
    3. How fast the platform grows? (and judging on what?)
    4. What are the sources of revenue on the Android platform, how much an Android dev can earn, how does it compare to other niches?
    5. If we treat an Android device as a computer, how does it compare to a standard computer? (for example, can we say that an average Android phone in 2021 is comparable to an average laptop from X years ago?)
    Yeah, things like that :) Thanks for any help. Also, if you think about other arguments, please let me know.

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

    Flutter or React Native?

    Posted: 30 Jan 2021 01:45 PM PST

    I have some knowledge in JavaScript and Java, so it seems like React Native is the obvious choice. However, I heard that RN sometimes displeases its users and that they feel so much better using Flutter. Is it worth learning Dart to use Flutter or should I learn React Native.

    submitted by /u/Interesting-Trash-75
    [link] [comments]

    Modelling UI State on Android

    Posted: 30 Jan 2021 04:45 AM PST

    Kotlin Coroutines Fundamentals

    Posted: 30 Jan 2021 08:53 AM PST

    The Crazy Android Fragment Bug I’ve Investigated

    Posted: 29 Jan 2021 11:39 PM PST

    Android Currency Converter with RxJava2, Dagger2, Retrofit and Kotlin Channel

    Posted: 30 Jan 2021 09:15 AM PST

    Android Currency Converter with RxJava2, Dagger2, Retrofit and Kotlin Channel

    I'have created a simple currency converter application using RxJava2, Dagger2, Retrofit and Kotlin Channel. You can see a sample video about the app below and the source code under the link.

    https://github.com/inspire-coding/CurrencyConverter_RxJava_Dagger2

    https://reddit.com/link/l8qd0e/video/ey28g9s56ie61/player

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

    kmm +DART Flutter view

    Posted: 30 Jan 2021 09:03 AM PST

    Compose and SWIFT UI are really similar to Flutter views, and furthermore Flutter takes care of iOS, Android differences in a cool way.

    What is the technical difficulties in developing a clean architecture app, that could use the view layer of DART? I guess are two different compiler right, not expert. But the point is `why not using a kind of way to repaint compose and swift UI in C++ as flutter does?`, so that one can develop one view in both the platforms, maybe not in DART necessarily... Please do not get angry with me I sincerely want to ask to understand, this is something I cannot find in the internet really easy. Thanks, your newbe

    submitted by /u/Professional-Sea-677
    [link] [comments]

    Play Console Publish Timeline Question (With Ads SDK)

    Posted: 30 Jan 2021 08:53 AM PST

    I have been updating my app via play console everyday. It used to take only 15 to 30 mins to get reviewed. However, two days back I did add 'ratings sdk' and 'ads sdk' to my app. Now, it has been more than 2 days and my app has still not been reviewed.

    My best guess is that now a human will first review the app because of ads sdk. Has anyone else faced this or is there something else that I should be looking for.

    15 mins publish time did highly reduced my development time. So, I am extra curious.

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

    First Time Dev: Error with Gradle Sync

    Posted: 30 Jan 2021 08:51 AM PST

    Hi, I'm completely new to android development and just downloaded Android Studio today. I am following this tutorial which seems to be going well until it asks me to open activity_main.xml - when I tried to open it, it gives me this error: Design editor is unavailable until after a successful project sync. After some googling I managed to find out how to sync files with Gradle, but when I did so it gave me this error: Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: And I don't know how to fix this, google or StackOverflow seem to have no help.

    Thanks in advance!

    submitted by /u/1ZacNolan1
    [link] [comments]

    Where is Block Store API documentation?

    Posted: 29 Jan 2021 09:40 PM PST

    I was searching for the documentation of the Block Store API as I would like to integrate it into my app, but couldn't find it. I have seen a video from June 2020 on Android Developers channel ( https://www.youtube.com/watch?v=KFGthqwDmc0&feature=emb_title ) saying the block store API will be available by the end of 2020. So, is it still not available yet? If so, is there any information on when it will be available? Thanks

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

    Guess I won't update Android Studio in a long time

    Posted: 29 Jan 2021 04:12 PM PST

    Yesterday I updated to Android Studio 4.1.2, and now I get a bug where the popup (what shows up when you hover the mouse over something) sometimes gets stuck on screen and won't disappear until I restart the program.

    When I updated to 4.0, the keyboard shortcuts (I'm on a Mac) got changed for no reason (luckily an easy fix). Also, when I open another project, the new window shows up under the previous one (when in Full Screen, on Mac, a new window should open separately, also in Full Screen).

    When I updated to 3.6, the 'select file/path' dialog also appears under the previous dialog. They changed the Design views with "Code/Split View/Design View", which doesn't save the previous selected view. Since then, every time an XML is opened, you have to change it manually.

    And now with 4.1.2, instead of a red underline when 'critical warnings' are detected (like this, or like when for example you type View#setVisibility(0) instead of View#setVisibility(View.VISIBLE)), the whole letters are colored in red, so now it's not different from errors (e.g. you typed a method that doesn't exist).

    Why do I even bother upgrading? Every update adds more accumulated bugs/problems.

    I won't update in a year, or maybe even three. Some problems are bearable, others not so much. This post is half rant, half discussion to read other people's opinions and experiences with this.

    (To clarify, I'm not a professional dev, it's more like a hobby I started ~1.5 years ago).

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

    Worth of Associate Android Developer Certification Syllabus, not the certificate

    Posted: 29 Jan 2021 10:33 PM PST

    If I finish the Study guide: Associate Android Developer Certification including the Android Core, User Interface, Data Management, Debugging and Testing. And I have completed three or four projects including apps like simple payment management, PDF reader and an Instagram clone. Can I consider my self ready for a jr. developer job?

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

    How do I get an ArrayList of floats from Firestore in android studio, Kotlin?

    Posted: 30 Jan 2021 12:55 AM PST

    HUMBLE BOOK BUNDLE: MATH FOR PROGRAMMERS BY MANNING PUBLICATIONS (pay what you want and help charity)

    Posted: 29 Jan 2021 11:53 PM PST

    Learn Kotlin in 12 Minutes - Would love any feedback on this high-density video covering about the core language features for a class I'm teaching.

    Posted: 29 Jan 2021 11:35 PM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel