• Breaking News

    Tuesday, May 18, 2021

    Android Dev - Weekly Questions Thread - May 18, 2021

    Android Dev - Weekly Questions Thread - May 18, 2021


    Weekly Questions Thread - May 18, 2021

    Posted: 18 May 2021 06:00 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Migrating from LiveData to Kotlin’s Flow

    Posted: 17 May 2021 06:13 PM PDT

    How do P2P payment apps work?

    Posted: 18 May 2021 06:43 AM PDT

    Question:

    How does the P2P payment system work on apps like CashApp, Venmo and Zelle?

    Context:

    As an example of my ignorance, I don't know what stops CashApp/Venmo from giving themselves an account with a trillion dollars and just depositing it into a bank or whatever. I know that's obviously not possible, I'm wondering why? What's the back-end of these numbers in your account?

    I'm a total beginner, and I'd like to build something like CashApp or Venmo as a final test of my skill. I won't be going public with it of course, there's no way to compete with these two, I'm just testing myself.

    P.S I hope this is general enough and doesn't break rule 2.

    Edit: if you have any resources I should look up relevant to this question I'd love to read them

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

    Is there any way to add features to the default android keyboard?

    Posted: 18 May 2021 06:42 AM PDT

    I'm looking to add a feature to the default keyboard, if possible. I'm going to be creating a custom input and I'd like to be able to easily switch to that input method from the keyboard and back.

    I've looked, but I've only found how to create a new custom keyboard to replace the default keyboard.

    I'd prefer not to have to create a full, custom keyboard if it's possible to just add a feature to the default keyboard instead.

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

    Kotlin Coroutines 1.5: GlobalScope Marked as Delicate, Refined Channels API, and More

    Posted: 18 May 2021 08:55 AM PDT

    How to use ShapeableImageView in Android

    Posted: 17 May 2021 07:48 PM PDT

    How to use ShapeableImageView in Android
    https://amahmoud91.medium.com/deep-dive-into-shapeableimageview-in-android-1ba7f9a5969e?sk=8866ceaf8b9eeb6e1007b2dbb84185cf

    PS: That a Friend Link which means it will not redirect to Paywall. if it's not allowed just Notify me and will remove the Post

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

    _UNKNOWN Stuck partial wake locks, anyone experienced?

    Posted: 18 May 2021 07:29 AM PDT

    Hello Android devs, I got this kind of bad behavior, but I don't use any wakelocks, I even don't know what is that.

    My app is only drawing app and no ads.

    Anyone experienced this and how to solve? I suspect problem after using some Rate my app dialog so I removed it but problem's still there.

    image

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

    Leak investigation: Rx disposal race in SQLDelight

    Posted: 17 May 2021 04:04 PM PDT

    Android + spring + REST + authorization

    Posted: 18 May 2021 04:46 AM PDT

    I want to make an Android application using Spring Framework and tomcat as server. Communication between Android and server will be done using REST. What is the best way to make authorization (login / password) on server, what is "best practice"?

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

    Diving Deeper Into Kotlin Standard Library Functions

    Posted: 18 May 2021 04:45 AM PDT

    Hello everyone,

    Are you amazed by concise Kotlin syntax?

    Check out my blog on Kotlin Standard Library methods, which has a one-line description of each method that makes development simpler & more manageable.

    https://blog.kiprosh.com/kotlin-standard-library-functions/

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

    Is there any app/game that you found that uses fast-follow asset delivery? Did you notice any app let's you play before it fully installs?

    Posted: 18 May 2021 12:23 AM PDT

    I am looking to find a link for an example of fast-follow asset delivery in the wild.

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

    Can a system app update device drivers?

    Posted: 18 May 2021 03:57 AM PDT

    Hey fellow android devs. Maybe anyone of you has an idea, if the following is possible. I'm not very familiar with ROM development. But I have decent knowledge about Linux and am a senior level Android developer.

    I've got a customer who wants to release a Tablet-like device with a custom built Android. I wrote an app with system privileges to allow updating of some preinstalled apps.

    The question now is: Can a system app with root privileges also update device drivers? The device has some special purpose sensors integrated and the drivers may need to be updated at some point. Or is this only possible via a system update?

    Sidenote: The ROM is based on Android 5.1.1 (yes, I know. It's not my choice 🙄)

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

    React native or flutter or Android studio?

    Posted: 18 May 2021 03:43 AM PDT

    I am going to learn either Js or Java or Dart for developing an android app. What tool should I use for developing my app? I currently know some C and Python and HTML and CSS.

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

    How do you update your APK on Play Store Console?

    Posted: 17 May 2021 10:15 PM PDT

    I need the android .img file for examination.

    Posted: 18 May 2021 01:59 AM PDT

    I'm using OSX and Genymotion. I've installed an application on the emulated android device, and I wish to extract the .img file out so I could examine it inside Autopsy. I'm quite new so any advice would be appreciated.

    Thank you

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

    Anybody knows anything about Jamendo Api?

    Posted: 18 May 2021 01:31 AM PDT

    I am looking for an online music library from where I can get the musics to stream in my application and I found the Jamendo.

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

    Can I get paid from my personal account in Google Play Console?

    Posted: 18 May 2021 12:58 AM PDT

    I'm from India, and I've been developing this game lately. I don't have a play console account. I've been meaning to add an IAP to remove the ads in the game. While reading a medium article, I found out that you need a merchant account to get paid for the IAPs people make in your game. Is that the case?

    Can I use my personal bank account as I'm not an organization or a business?

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

    Improve your Android Studio debug build time!

    Posted: 17 May 2021 11:43 PM PDT

    Jetpack Compose Markdown Text

    Posted: 17 May 2021 07:47 PM PDT

    Improving Android startup: Initializing Dagger Async

    Posted: 17 May 2021 05:30 PM PDT

    Hilt to the rescue, part 1

    Posted: 17 May 2021 12:11 PM PDT

    Developing simple app with no knowledge

    Posted: 17 May 2021 09:50 PM PDT

    Hey guys. I want to make an offline usable android and ios app where my coworkers can open pdfs and pre download them maybe. They need to be categorized for example in "coffee, candy, drinks" and then in there i want to have a list of all the pdf manuals i have for the vending machines we have. Is there something like a free or cheap builder for this? I only know html/css a little, so I can't code at all.

    Thanks in advance

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

    Android WebView Tutorial

    Posted: 17 May 2021 07:47 PM PDT

    Hi, I wrote two parts about android webview which cover:

    1. Simple WebView
    2. Override Link open to
    3. ViewPager2
    4. Fix ViewPager2 scroll
    5. TabLayout

    Part 1 https://mihfazhillah.medium.com/android-webview-a-study-case-using-remoteworker-id-part-1-7cd1efe678cb

    Part 2 https://mihfazhillah.medium.com/android-webview-part-2-webview-on-top-viewpager2-639181e6d6f5

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

    No comments:

    Post a Comment