• Breaking News

    Friday, May 28, 2021

    Android Dev - Weekly Anything Goes Thread - May 28, 2021

    Android Dev - Weekly Anything Goes Thread - May 28, 2021


    Weekly Anything Goes Thread - May 28, 2021

    Posted: 28 May 2021 06:00 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    Kotlin Flow cheat sheet

    Posted: 28 May 2021 04:49 AM PDT

    Kotlin Flow cheat sheet

    Kotlin Flow cheat sheet

    Source (the blog post is not from me, I was looking for Kotlin Flow cheat sheet and thought I should share it here)

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

    The Effect of a Lunar Eclipse on Install Rates (of a Moon position app)

    Posted: 27 May 2021 01:22 PM PDT

    Is there any android VOIP guide/solution for hosting in a VPN without internet access?

    Posted: 28 May 2021 06:55 AM PDT

    Hey! I am developing an android app for a custom android OS that can only access IPs on a specific VPN. The VPN does not have internet access. I made the app using WebRTC and a node js backend. I opened all the ports, disabled firewall, and ran the node js app with a coturn server on the same VPN. The phones are able to talk over the server using the node js app, but as soon as webrtc kicks in the phones are unable to contact the server machine, and the coturn logs show absolutely nothing.

    Is there something different I can try? Any guides? Any complete solutions I can buy? Thanks!

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

    Alien Space invaders ������ in Jetpack Compose ��

    Posted: 27 May 2021 02:13 PM PDT

    In app purchase query

    Posted: 28 May 2021 02:02 AM PDT

    For a bit of context, I am developing an app that allows people to book gardening services. Currently, there is only one time purchases available in the app, and because the payment is for a physical service then I can use Stripe to complete the payment.

    There's now a requirement to enable a subscription model that will add more packages to choose from, as well as reduce the price of existing gardening packages. Because I am still offering physical goods, can I use Stripe for the subscription payments? Or would I need to use IAP? The documentation around this is very unclear, every page or article I read seems to contradict the previous one. The implementation also seems rather inconsistent; Tinder uses IAP for subscriptions but apps like Spotify & Netflix do not. Any clarification would be greatly appreciated.

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

    3 tips to configure the Gradle Wrapper & Distribution

    Posted: 28 May 2021 08:44 AM PDT

    Android 12 found native game mode for quick screenshot/screen recording/live broadcast

    Posted: 27 May 2021 10:27 PM PDT

    Play Store shows old version of app but correctly shows the updated at date in some devices

    Posted: 28 May 2021 06:55 AM PDT

    Is there any possibility for app side coding issue for this?

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

    Publish Android app to Samsung Knox (managed) Google Play

    Posted: 28 May 2021 06:39 AM PDT

    Hello,

    At the moment i'm trying to add a third party Android application to our Samsung Knox portal via the Managed Google Play store.

    • The app that I want to add doesn't come up when I search it.
    • Every other app that I search however does come up.
    • When I get an Android phone and search the app in the normal Google Play Store I can find it.
    • I can find the iOS version of the app via Samsung Knox.

    Does the developer of the Android app need to publish it to an MDM/EMM solution like Samsung Knox?

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

    Google Play updating download-number

    Posted: 28 May 2021 01:47 AM PDT

    So it has been about 2 weeks since my game hit the 5k installation mark, yet Google Play still only shows 1000+ Downloads. What is your experience with this ? Does it always take so long?

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

    Why Databinding XML still not supporting Kotlin code inside binding logic ?

    Posted: 27 May 2021 11:22 PM PDT

    Kotlin is now official language for Android Dev..

    But still we can't use Kotlin in Databinding XML logic

    Like

    android:text = "@{profileName ?: defaultName} // return defaultName if profileName is null

    Reasons and ideas please

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

    How can I contribute translations for the actual AOSP?

    Posted: 28 May 2021 01:34 AM PDT

    What's state of the art nowadays

    Posted: 28 May 2021 12:59 AM PDT

    Hi,

    I'm a mobile dev for many years now, started with android native, added ios native then due to my job I got jnto cross platform with Xamarin which I'm basically doing for 5 years now.

    Lately I got a Android native project to look into and was a bit surprised and I'm afraid now that I missed out on some major changes in Android dev tech stack. This especially because this project used a MVVM framework which I never saw in Android before.

    So I wanted to know, what does an Android dev need to know nowadays, which frameworks, patterns and technologies are state of the art?

    I know that Kotlin is more and more the language to go with, I'm aware of the existants of AndroidX, but what more? Is MVVM for example the new standard in Android ?

    Thanks!

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

    Users don't know Google Play Store email when getting new device

    Posted: 27 May 2021 12:14 PM PDT

    I have a steady stream of support tickets from people who bought my app and then subsequently got a new phone. The don't know what account they used with Google Play Store on their old phone and they get very upset when I tell them there is no way(that I know of) to track down/verify their purchase with just their name. I would like to show UI in my app informing the user of their Google Play Store email and recommending that they remember it! I haven't been able to find anyway to do this. Alternatively, is there any way to get user details in the Google Play Console, I can search by email if I have one but I can't see email/user details any other way in the order management section of Google Play Console

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

    What is a good way to set up an http client in Android Studio?

    Posted: 27 May 2021 11:16 PM PDT

    I am working with Android code that was written around 2017. The person who worked on it was using loopj. These are the imports he was using to make http requests to the backend Python server:

    import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.JsonHttpResponseHandler; import com.loopj.android.http.RequestHandle; import com.loopj.android.http.RequestParams; 

    Obviously, a lot has changed since then. Is it a good idea to continue using this or is a better library now available? I searched the official Android Studio tutorials and I came across Volley: https://developer.android.com/training/volley/simple Should I use this or is there an even better alternative? I have no background in creating http clients.

    Also, his client (using loopj) involves a huge amount of boilerplate code. I get the feeling that the modern libraries probably have less boilerplate code and, thus, allow us to focus more on sending data.

    There are two types of data that I send: json data and byte array (the byte array represents the camera image).

    I asked around in other places and someone recommended Retrofit. Is it a good alternative to loopj?

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

    Fastest way to load data into programme memory

    Posted: 27 May 2021 10:33 PM PDT

    I am working on an app which needs a map with around 130,000 entries. Currently, I have the data serialised into the messagepack format and I deserialise it using the Jackson library at launch.

    This adds around 5 seconds to the app's startup time. Is there a way to mitigate that?

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

    Developers - who has written an app primarily in JS?

    Posted: 28 May 2021 01:43 AM PDT

    Who has written an app primarily in JS? What was your experience, how did you convert or frame the code? What tools did you use and can you recommend?

    I'm finding I would like to stick with a more traditional weblike code design to ensure responsive fluidity on the front-end; but there are so many articles giving so many opinions that I'd rather skip the editorialized dump of SEO content that's written for clicks, not correctness.

    Because of this desire, I would like to uphold a standard amid the development process for backend as well so it's easier to dive into. Of course, I could use .Net C++ or other languages; however, it will be easier to find people who are focused on one or two languages as opposed to 3 to 7.

    Thanks in advance!

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

    Turing interview

    Posted: 27 May 2021 10:33 PM PDT

    As an android developer, have you interviewed on TURNING, if yes or you know someone. Kindly share your experience.

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

    admob ad serving is limited

    Posted: 27 May 2021 01:01 PM PDT

    admob ad serving is limited

    i had this issue for 17 days now, i sent admob an email and 2 feedbacks but no response the ads are not limited they are just non existent, what should i do?

    https://preview.redd.it/revskl7wxp171.png?width=1339&format=png&auto=webp&s=b281fdf31042a10b88d90e83b151514191d5fa55

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

    Quick question, going from closed testing to production in Google Play Store

    Posted: 27 May 2021 02:09 PM PDT

    If your APK gets approved for closed testing, can you then choose the APK for use in production without having to go through the same review-process again? I'm quite new to app-development and just realized that Google has a freaking 3-7 day review process. I was just curious if this is going to take 3 days or a whole week to test it and then deploy it to production.

    Thanks

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

    Use Conductor with Hilt! conductor-hilt extension

    Posted: 27 May 2021 06:04 AM PDT

    No comments:

    Post a Comment