• Breaking News

    Tuesday, July 20, 2021

    Android Dev - Weekly Questions Thread - July 20, 2021

    Android Dev - Weekly Questions Thread - July 20, 2021


    Weekly Questions Thread - July 20, 2021

    Posted: 20 Jul 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]

    Android 12 migration journey

    Posted: 20 Jul 2021 03:36 AM PDT

    Is there a way to put perform an action if a notification is cleared or clicked?

    Posted: 20 Jul 2021 06:11 AM PDT

    I'm currently making a chat app. As of now I have any new messages sent in displaying on a notification, and it adds it into an internal ArrayList. However, if I click out or click on the notification, and retype a new message the old messages are still there.

    I was hoping to make something where once you click on the notification, it clears the list until you get new messages.

    Is something like this possible?

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

    Anyone using a Macbook Air (M1, 16GB RAM) for Android development?

    Posted: 20 Jul 2021 01:11 AM PDT

    I have to decived between a Macbook Pro and Macbook Air. On the surface it seems that they are very similar performance wise?
    I don't care much for the touch bar, additional screen brightness and longer batter of the MBP.

    Is there anything else I need to consider when making my decision?

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

    Swarogya - Automated Hospital Management System

    Posted: 19 Jul 2021 12:39 PM PDT

    Swarogya - Automated Hospital Management System

    Github

    Last year, my sister and I developed this automated, hospital management system that reduces extensive resources and Health Professionals' requirements drastically, resulting in big savings. The system ensures minimum infection to the health professionals and reduces their long working hours, making them healthier and more efficient. It promises to reduce 75% of the health professional's requirement.

    It supports features like automatic report generation, drastically reducing the manual manpower needed, resulting in big saving of running costs on every monthly basis. The system ensures timely attention of needy patients.

    Android App

    Web App

    I would request anyone interested to feel free to contribute to this project in case you find it worth it. I am open to any suggestions, comments, or ideas regarding this. Thank you!

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

    Rookie question regarding Google's 30% commission when your app has a free trial period

    Posted: 20 Jul 2021 08:10 AM PDT

    Hello everybody, I´m working with a development team and I´m hoping to launch my first app at the end of this year. I know very little about this stuff and my question might be pretty dumb, but here we go: If your business model is monthly subscription and you have a 1 month free trial, does Google charge you the 30% commission once the user starts paying (after the trial period) or does it charge you 30% of the app value directly to you whether the user pays for it or not?

    I guess my question is basically: If Google charges the 30% per consumer´s transaction or if it charges it directly to the developer, independently if the user ended up paying for the subscription or not.

    Thank you so much, have a good one.

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

    Extending Anvil for Fun and Profit - Slack Engineering

    Posted: 20 Jul 2021 07:56 AM PDT

    dev account privacy

    Posted: 20 Jul 2021 07:52 AM PDT

    Is there a way to publish apps anonymous?

    I was stalked several times in my life but on the other side I would want to deploy an app, but is that possible that no one can doxx me?

    Is it possible to do that without imprint?

    It is kind of a hentai game and I don't want my name linked to it

    submitted by /u/Soft-Consequence-773
    [link] [comments]

    Android Custom Toast

    Posted: 19 Jul 2021 08:28 PM PDT

    What is the best way to execute a python script on a PC and display output in an Android application

    Posted: 20 Jul 2021 07:39 AM PDT

    In your opinion, where I should start to achieve the following needs :

    1 - App run, the python script should execute in my computer

    2 - The app shows a progress bar while the script is executing.

    3 - When the script finishes, the app should display the output

    Thank you

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

    Know Any good Global state lib in android?

    Posted: 20 Jul 2021 07:15 AM PDT

    Hey, have any of you found the need to use a global state in android ? Know any lib to use ? Any that helps you with saving the state if activity is killed or can help you communicate with multiple activities? I know of mvrx but it doesn't give you a a global state or not that i know of.

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

    Needing to clear Play Store storage to view "update" option for test apps

    Posted: 20 Jul 2021 07:14 AM PDT

    When I make a test release from my Pipeline, the app is automatically sent to the Play Store for testers to download it. Unfortunately there's no way to "force reload" pages on the Play Store, so to actually see if I can update my app I have to Go to Settings > Play Store > Clear Storage > Relaunch Play Store > Check if I can update.

    This is incredibly annoying but I'm almost sure I must be doing something wrong. Is there a better way to download new versions of my test app?

    Is there an Android equivalent of the Testflight app?

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

    I made a tool to convert Figma designs to (pretty idiomatic!) JetPack Compose code. Let me know what you think

    Posted: 20 Jul 2021 07:04 AM PDT

    Head First Android Development 3rd Editition - Early Release O'Reilly Books

    Posted: 20 Jul 2021 05:49 AM PDT

    This books has a release date of December 2021 but it's already available online at O'Reilly Books.

    https://www.oreilly.com/library/view/head-first-android/9781492076513/

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

    When should we use remoteMessage.getNotification() in Firebase?

    Posted: 20 Jul 2021 04:51 AM PDT

    Most apps I developed have login (no option to skip). In these apps I show notification only if user logged in1. Also if a user logout from app & another user is logged in, there are possibilities for a notification intended for previous user to show to current user (if it is received late) which is solved by sending user id in fields for notification & show notification only if it matches logged in user id which is possible in data message only (am I right?). In some cases we have to update UI in realtime which is possible by sending additional key value pairs in data. Most cases require app to process the notification instead of OS. But in notification type remote message are these possible?

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

    Does anyone know the Google Play suspend appeal link, please?

    Posted: 20 Jul 2021 02:24 AM PDT

    Why I'm switching from Mockito to Mockk | Eric the Coder

    Posted: 20 Jul 2021 12:47 AM PDT

    Importance of Wall clock time, On CPU time and off CPU time for solving performance issues

    Posted: 19 Jul 2021 12:12 PM PDT

    https://www.amanjeet.me/three-musketeers-of-time/

    This post tells about the importance of wall clock time, on CPU time, and off CPU time. How to extract them on android and some interesting facts which I learned around them. Let me know about your reviews and suggestions in the comment section below.

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

    Allowing developers to apply for more time to comply with Play Payments Policy

    Posted: 19 Jul 2021 11:37 AM PDT

    Did you know what?

    Posted: 20 Jul 2021 05:14 AM PDT

    Android was originally developed as an OS for digital cameras.

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

    Complete Kotlin development masterclass

    Posted: 20 Jul 2021 02:16 AM PDT

    Play Store reviews gone?

    Posted: 19 Jul 2021 07:12 PM PDT

    I noticed many apps (not just mine) has most reviews removed. Like 99% removed on the play store webpage.

    However, they are still there if I goto publisher's console.

    Did google do a reset to ratings and reviews or something?

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

    Color Palette for GMail App

    Posted: 19 Jul 2021 06:42 PM PDT

    I've searched around, but couldn't find anything. Has anyone managed to find a comparable color palette for the GMail app?

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

    No comments:

    Post a Comment