• Breaking News

    Saturday, August 28, 2021

    Android Dev - App Feedback Thread - August 28, 2021

    Android Dev - App Feedback Thread - August 28, 2021


    App Feedback Thread - August 28, 2021

    Posted: 28 Aug 2021 06:00 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 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]

    Jetpack Compose : "remember" composable seems useless because it doesn't retain state during activity recreation(for example during configuration change).

    Posted: 28 Aug 2021 05:41 AM PDT

    Hi there! When do we really need to use "remember" composable? For me only "rememberSavable" composable looks like a proper way to retain state across recompositions.

    BTW if you use "remember" composable with LazyColumn or LazyRow lists you will lose retained state while scrolling.

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

    How do you usually perform mocking for instrument unit test?

    Posted: 28 Aug 2021 06:34 AM PDT

    I was wondering, how do you usually perform mocking for instrument unit test? (The test which is in androidTest folder)

    For normal unit test (The test in test folder), this is what I am doing if I want to run the unit test in Cuba timezone.

    import org.threeten.bp.ZoneId; public class ZoneIdWrapper { public static ZoneId zoneIdSystemDefault() { return ZoneId.systemDefault(); } } // Unit test in "test" folder. @Test public void toDayResolutionInCuba() { PowerMockito.mockStatic(ZoneIdWrapper.class); ZoneId cubaZoneId = ZoneId.of("America/Havana"); PowerMockito.when(ZoneIdWrapper.zoneIdSystemDefault()).thenReturn(cubaZoneId); ... } 

    But, how about instrument test? How will you mock "ZoneIdWrapper.zoneIdSystemDefault()" function so that it returns Cuba timezone?

    Thanks.

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

    Developing Android apps with api.

    Posted: 28 Aug 2021 01:50 AM PDT

    When developing api for Android apps, how do you approach, is it Api first then app( views and app logic after getting api) or is it app side first then api( assuming api will be like this and this ). What I think most helpful for my workflow is I have to sit with backend devs and talk to them about my requirement and through that communication api and app is developed. (Which my boss hates) The place I work don't have anyone more experienced than me for Android, and here they are asking me to always develop app first with a clear idea of api requirements, and make placeholder endpoints. Basically I have to assume api's and work on it. I have been doing this for a while, and everytimes api would not be what I expect it to be, if the api is not what I have done many times(like for login pages, I know how it's api works, but for custom views and requirement this approach doesn't work) It's really frustrating. Is this the way things work out normally. I need your opinions.

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

    What are the best ads for marketing apps/games?

    Posted: 28 Aug 2021 04:18 AM PDT

    When it comes to marketing apps/games the often asked question is: What ads are the best? And in most cases, the answer is Google Play search ads.

    Let's see what makes these ads so good. But also understand better why you might run ads.

    Why run ads?

    Most people get this wrong. And that is bad because:

    • They waste money on ads
    • They make things worse

    Later you will learn how running ads can make things worse.

    You are not running ads to just get downloads. You are running ads to find people who would enjoy using your app/game. You are running ads to show the Google Play algorithm that you have a good app/game.

    And you are doing all this because Google Play has the ability to show and promote your app/game. To help you get more organic(free) downloads.

    Summary: Running ads 🡲 To find the right people 🡲 For them to use and enjoy your app/game 🡲 For Google Play to promote your app/game 🡲 For you to get more free downloads.

    How can Google Play "promote" your app/game? By giving you a higher ranking in search. The higher in the search you are the more organic(free) downloads you will get. Because your app/game becomes visible to more people.

    Here you can check the rest of the post. We will go over these things:

    • What do you need to do before you run these ads?
    • What makes Google Play search ads good.
    • When you shouldn't use Google Play search ads.

    https://medium.com/augeo/what-are-the-best-ads-for-marketing-apps-games-7a2f172a94f7

    submitted by /u/Story-Line
    [link] [comments]

    Android Design Patterns : Factory Method

    Posted: 28 Aug 2021 06:06 AM PDT

    Making a keyboard app, new to Android dev, is there a to track when a finger is dragging over a key?

    Posted: 27 Aug 2021 09:04 PM PDT

    Like for example, if the user is swiping, I want to get the keys the user is swiping over. Is there a way to do this with a <button> or <key>?

    It's hard to find much about custom keyboards online. Or maybe I don't know where to look.

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

    E-commerce App update rejected as it doesn't comply with UGC policy.

    Posted: 28 Aug 2021 01:09 AM PDT

    What we did so far:

    1. Added a way for users to contact support if they find a product or a store inappropriate. (Google rejected it)

    2. Improved option 1 and added a way for user's to submit a report for thr app. (Rejected it again)

    Did anyone of you experienced this issue? If yes, please share your findings.

    Thanks!

    Email Screenshot

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

    Jetpack Compose - Learn with code

    Posted: 28 Aug 2021 12:56 AM PDT

    Jetpack Compose - Learn with code

    https://proandroiddev.com/learn-with-code-jetpack-compose-lists-and-pagination-part-1-545447c55cb2

    Hi guys, if you want to explore Jetpack Compose - checkout my article! Would love to get your feedback on the same. Last but not the least, if you liked the article don't forget to clap and follow me :)

    EpicWorld - game discovery app

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

    I wrote a free Jetpack Compose library. It shows Snackbar-style messages with less boilerplate code and more customizability options.

    Posted: 27 Aug 2021 09:15 AM PDT

    How to correctly measure the App Startup time on Android

    Posted: 27 Aug 2021 10:11 AM PDT

    Android app rejects update for MANAGE_EXTERNAL_STORAGE permission request. Need help in getting approve.

    Posted: 27 Aug 2021 04:07 PM PDT

    My issue is the requirement of my app is all storage access and MANAGE_EXTERNAL_STORAGE

    permission required by our app and if we don't then it kills the purpose of our app design and messaging features. The other messaging apps like Whatsapp,Telegram,Tinder,Google Duo etc have the same access and almost the same feature for their messaging app. Now I feel I am doing something wrong in the permission declaration form, can you please give a quick look at the responses i submitted at Google Play console . Please check the following answer for MANAGE_EXTERNAL_STORAGE permission.

    All files access *

    • Describe one feature in your app that requires a permitted use of the all files access permission.
      Our App has inbuilt a custom gallery for file picker, which helps users to send/edit/delete and receive multiple format file types including txt,apk,doc,pdf, raw etc also media file type. For 1 click share files and media we have inbuilt custom gallery for all type pickers after the user picks a particular file then the user can edit that file before sharing
      Usage *.
    • Why does your app need to use the all files access permission? Select all that apply.
      Core functionality
      Personalisation

    Technical reason *

    • Explain why your app can't make use of more privacy-friendly best practices, such as the storage access framework or the media store API. Improving the performance of your app is not an acceptable reason
      With our inbuilt custom phone file management system we are giving users an easy and fast way to share/edit/create whatever type they select. It's custom single click file management for Our App

    Thanks

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

    How to access external non media files on Android TV 11?

    Posted: 27 Aug 2021 12:33 PM PDT

    Are there any resources/documentation/guides on how to work with files on Android TV (when targeting Android 11)? I honestly have no clue how to do that. On phones/tablets, I just use Storage Access Framework but that isn't available on Android TV. The MANAGE_EXTERNAL_STORAGE permission still requires the use of SAF, doesn't it? So is MediaStore API the only option? But that won't let me open subtitle file (text/*), right? 🤯 Am I missing anything?

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

    Let's revive libviperfx

    Posted: 27 Aug 2021 03:51 PM PDT

    Libviperfx is an audio enhancing library that works really, really good.

    Unfortunately, it hasn't been updated in years, and the team behind it seems to have shifted it's focus on other commercial stuff, and the old binaries struggle to work on latest android versions.
    And that's a shame, really, libviperfx is really good.

    In fact, it's so good that there's a petition that asks for it's source code, that has gotten over 800 signatures. (source: https://www.change.org/p/china-viper-163-com-open-source-viper-acoustic-s-viper4android-driver)

    Libviperfx is not open source, and the binaries are stripped, but I think it'd be worth reversing it and making an open source alternative.

    Anyone would join me in this hard work?

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

    No comments:

    Post a Comment