• Breaking News

    Tuesday, March 9, 2021

    Android Dev - Weekly Questions Thread - March 09, 2021

    Android Dev - Weekly Questions Thread - March 09, 2021


    Weekly Questions Thread - March 09, 2021

    Posted: 09 Mar 2021 06:00 AM PST

    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]

    What's the best and simplest way to implement sticky headers without Jetpack Compose?

    Posted: 08 Mar 2021 07:10 PM PST

    Identify when the application is doing too much work on its main thread

    Posted: 09 Mar 2021 06:15 AM PST

    In the application startup, the main thread might be busy for a certain time. It might be drawing the application UI, responding to user interactions and so on. I am wondering whether is there any way to check whether the main thread is busy or not. Not only in the startup, but also when the main thread is more busy doing different kind of things/doing too much work on its main thread.

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

    Android Gradle plugin 7.0 will allow the use of Java 11 source code in your project

    Posted: 08 Mar 2021 12:57 PM PST

    Does it even make sense to build indie apps

    Posted: 09 Mar 2021 06:54 AM PST

    I have been building Android apps in my free time over the weekends for the last few years. I also monetize them with in-app ads. Last year my Admob account was suspended suddenly after 5 years of no single violation. I moved to FAN at that time and now after a year, the same thing happened with FAN too this Sunday. I feel so helpless and have no more motivation to spend my energy fighting/appealing with these big companies. It just feels so bad to lose all your mental health for things like this that are not in your control at all. I have been trying to deal with my AdMob losses for the last 12 months and now this FAN blocking has left me totally devastated.

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

    Android Studio for macbook m1

    Posted: 09 Mar 2021 06:02 AM PST

    Is anyone working on the m1 version of Android Studio? AS is more closely following the IntelliJ releases, but IntelliJ has had a stable release for 2 months now and there's nothing at all for AS. I also don't see many people asking for it. Am I the only idiot that got a macbook m1 and is also an android dev?

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

    Firebase Test Lab vs writing my own tests

    Posted: 09 Mar 2021 02:16 AM PST

    Hello there, the app I'm currently working on now has just surpassed the 16.000 lines and testing is getting kinda tedious now. I'm migrating new features in kotlin. I don't know how reliable the combination of java and kotlin in one project is so I decided I want to test it properly.

    Are there advantages to writing my own test over using firebase test Lab? I'm kinda new to this whole unit testing thing.

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

    Is it possible to get hired as an Android developer if the only language I currently know is Kotlin?

    Posted: 08 Mar 2021 08:48 AM PST

    Just a little background:

    I started learning Kotlin three years ago, and I've built multiple projects using Android Studio. I'm sort of decent in Android development now. However, the only programming language I currently know is Kotlin. Is it possible to get hired at a company without knowing Java or any other language/framework?

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

    If im going to hire someone to create an app icon for me what are the things that i need to avoid getting trouble in the future(what if the artist in the future report on google support that i "stole" his artwork even if i paid for it) ps. sorry im kinda new to these kind of things

    Posted: 09 Mar 2021 05:14 AM PST

    what is your idea about choosing the best name for a word guessing game? ( word finder with given letters)

    Posted: 09 Mar 2021 04:20 AM PST

    Do you agree with using the words " girls / boys" in the name of the game?

    What is your reason? Do you have experience ?

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

    The Most Popular Databases – 2006/2021

    Posted: 09 Mar 2021 02:49 AM PST

    Android Studio Arctic Fox Canary 9 available

    Posted: 08 Mar 2021 10:04 AM PST

    Gamedge - An Android application for browsing video games and checking the latest gaming news from around the world.

    Posted: 08 Mar 2021 04:16 PM PST

    Gamedge - An Android application for browsing video games and checking the latest gaming news from around the world.

    Hello everyone.

    I've just open-sourced a project that I've been working on for quite some time called Gamedge. The aim is to showcase the latest trends in Android development by utilizing the best practices, libraries, and tools to develop a fully-fledged Android application.

    If anyone want to take a look, here's a link to the GitHub.

    https://preview.redd.it/m7wvgu91vzl61.png?width=1280&format=png&auto=webp&s=12cd3d84e333696aff8e05c391bf80c4fcd2f76b

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

    Open Source submission #AndroidDevChallenge

    Posted: 08 Mar 2021 02:26 PM PST

    I'm sorry if this post if is out of scope.

    I'm posting this post because I start to the developer the app for the challenge #AndroidDevChallenge about jetpack compose, but I realized too late that my country (Italy) is not included in the competition (I don't know the why).

    To don't stop the work, I decide to continue to learn Jetpack compose (start 3 days ago) and use Github and reddit to submit my result to the Open source community.

    Github codebase: https://github.com/vincenzopalazzo/CoolCountdownTimer

    tweet with screenshot: https://twitter.com/PalazzoVincenzo/status/1369049348617756675?s=20

    tweet with video: https://twitter.com/PalazzoVincenzo/status/1368939357109968903?s=20

    Sorry if I post this post here.

    p.s: If you want buy me a sticker you can use this channel (Much appreciated)

    Good international Women's day.

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

    AdMob RequestConfiguration, Where to put it?

    Posted: 08 Mar 2021 08:24 PM PST

    I need to add these line of codes, but I'm not sure where should I put it. It is not stated in the documentation.

    RequestConfiguration requestConfiguration = MobileAds.getRequestConfiguration() .toBuilder() .setTagForChildDirectedTreatment(RequestConfiguration.TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE) .build(); MobileAds.setRequestConfiguration(requestConfiguration); 

    Do I put it before or after AdMob Initialization? or Do I use it every AdRequest?

    Thanks

    submitted by /u/mr-lucky-thirteen
    [link] [comments]

    If my latest release was rejected, Do I need to create a new release?

    Posted: 08 Mar 2021 08:06 PM PST

    My app got rejected because of some ad content and family policies. So I need to add some code in my app then reupload a new one.

    Do I need to create a new release then upload the newly build apk/aab? or there is a way to edit and just reupload on the rejected one?

    submitted by /u/mr-lucky-thirteen
    [link] [comments]

    If user has poor wifi, can I set google play login service to offline mode?

    Posted: 08 Mar 2021 01:25 PM PST

    Some users will have poor wifi and when loading my game and they get stuck in google play loading graphic when attempting to login which sometimes lasts a few minutes! Is there a way to create a rule: if user's wifi connection is LESS than 3 bars of wifi then act in offline mode for google play? That would eliminate this issue.

    The funny thing is if the user has no wifi on, then the login to google is instant and a much user-friendly experience.

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

    HOWTO: Running Java code directly on Android (without creating an APK)

    Posted: 08 Mar 2021 07:09 AM PST

    Best way to learn Android Development?

    Posted: 08 Mar 2021 03:37 PM PST

    I lost my job when the pandemic hit, got stucked with my toddler having online classes, and was lucky enough to not get qualified for unemployment. Decided to change my career (previously working in Turism), enrolled and completed Android Basics from Udacity. I took another two courses from Udemy in Android Development with Java, but I don't still feel comfortable writing functions without looking at the previous projects. Does everyone experienced this issues, and is this a good way to learn Android Development?

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

    Does anyone here use BigQuery for Firebase for their app analytical needs?

    Posted: 08 Mar 2021 02:25 PM PST

    What do you use it for? LTV calculations? UX optimizations?

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

    [WIP] I created my first Android library using Kotlin for validating Forms and Strings

    Posted: 08 Mar 2021 11:13 AM PST

    No comments:

    Post a Comment