• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, March 23, 2022

    Weekly Questions Thread - March 22, 2022 Android Dev

    Weekly Questions Thread - March 22, 2022 Android Dev


    Weekly Questions Thread - March 22, 2022

    Posted: 22 Mar 2022 07: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 devs in multi-modular projects be like

    Posted: 22 Mar 2022 11:12 PM PDT

    Rx to Coroutines Concepts, Part 5: Shared Flows

    Posted: 23 Mar 2022 12:17 PM PDT

    I need help with an android app backed with AWS

    Posted: 23 Mar 2022 05:00 PM PDT

    I want to create an app in Android Studio. This app basically utilizes the device camera or even images already existing in the device and uploads them to a database. I would like to use Android Web Services as the database service provider. But I have no clue on how to start or where to start my project from. I do not have any previous experience in app development or database design, but I believe learning the concepts with such a project in mind makes the process faster and more enjoyable. So could anyone suggest what I should do or where I should start working on my project? I personally find understanding the database concepts very strenuous.

    I tried watching many android studio videos and they have been very useful. I kind of have an idea on how to create the application but the Amazon Web Services database system is what confuses me a lot. Is there any easier way I could follow to complete my project?

    submitted by /u/7even_9ine_6910
    [link] [comments]

    Facebook/Meta interview

    Posted: 23 Mar 2022 04:20 PM PDT

    Hey guys. As title says I have upcoming interview for Facebook/Meta for Android developer position. I have about 2 years of experience (currently Jr android dev). What is the best places I can start preparing for interview. And if there are any member of our subreddit who works in Facebook/Meta I am open to any suggestions advices possible. Thank you in advance

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

    Thank you everyone. I got my first android job offer

    Posted: 22 Mar 2022 11:35 AM PDT

    Just been offered my first job as an android developer (and I've accepted) It will change my family's lives because the pay is double what I've been getting until now.

    I wanted to say thank you to everyone because I started learning Kotlin in October and I've benefited so much from the community here. All of the questions and answers I've found here. All the problems you have helped me solve. All the motivation when it's just really hard to learn. All of it has paid off and it's only up from here.

    P.s. if you are learning too, good luck you'll smash it anyday now!

    Take care everyone

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

    TabLayout inside BottomNavBar

    Posted: 23 Mar 2022 03:21 PM PDT

    I have a big app, in which after I login I navigate to a screen with bottom navigation. On each bottom nav fragments I have tab layouts with viewpager. The problem is back navigation, on some cases it crashes. After looking on the internet I found that is a best practice to make separate nav_graphs. I put all fragments in all navgraph. Does anyway suggest what is the best practice in using navigation component.

    It is the only thing that is making me insane, too complicated, I very good doing threads and opengl but some things are very hard to understand.

    submitted by /u/the-dark_physicist
    [link] [comments]

    help uninstalled app for error

    Posted: 23 Mar 2022 03:12 PM PDT

    Uhh I was uninstalling apps with powershell and I uninstalled incallui by error, aince its an android preinstalled app how do I get it back, I can't get calla without it.

    Srry if this is the wrong aubreddit for this

    submitted by /u/3dUks
    [link] [comments]

    How to deal with device fragmentation? (a question from a noob)

    Posted: 23 Mar 2022 03:29 AM PDT

    Im looking at the pros and cons between android and iOS development so I can choose the path I want to take. I'm keen on android development because most of the world uses android OS. But with the many types of devices from different manufactures and varying software versions from person to person, how can an individual dev make a personal app with many different devices to deal with?

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

    Best remote logging tool

    Posted: 23 Mar 2022 12:42 AM PDT

    Hi,

    We have an app built in native android and we wanted to enable remote logging for it. I was searching for tools and came across quite a lot of them. I can see that Sentry.io is the most famous - but I think it's because it not only covers android but a lot of other platforms too. Then there are Bugfender, Embrace, Rollbar and millions of others out there.
    Which one do you use and why? Also should I be concerned about security of my data. I see that sentry is security compliant and uses encryption at rest and in transit but should I be overly concerned before adding any such library to my code.

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

    Facebook Audience Network gives a very low bid response. The main reason "No Facebook profile found"

    Posted: 23 Mar 2022 02:10 AM PDT

    Facebook Audience Network gives a very low bid response. The main reason "No Facebook profile found"

    I have integrated my Android app to Applovin (MAX) platform and added Facebook bidding as described on documentation. Waited several days to collect some performance data. Now, when I look at bidding performance on Facebook, I see that I have a very low bidding response. It is less than 10%.

    https://preview.redd.it/9rtaytsgn3p81.png?width=2470&format=png&auto=webp&s=1dfc04034b0972c93c818b547c942ec4fb01b105

    When I click on to "See no bids" link, I see that the main reason is "No Facebook profile found". I think something is wrong here because I don't think FAN requires everyone to make their user login into Facebook. Also, I am quite sure at least 60% of my users are FB users and there is login data on their device. So, probably somehow this data is not collected?

    https://preview.redd.it/byq1z8lin3p81.png?width=2420&format=png&auto=webp&s=3a7de07a803c2979004b58817278b70d0c71ba72

    I have checked "Publisher Onboarding Debugger" on the Facebook side and everything shows fine there so it means I did integration correctly.

    https://preview.redd.it/rml1s7cnn3p81.png?width=1838&format=png&auto=webp&s=4af43effa3ca055c926260aa0f6a9ac33662940e

    Has anyone had the same issue? How did you fix it? Maybe I forgot to include something on my app Gradle file? Some Google services that are required and I don't know about it may be.

    BTW: I am not using Admob because it was disabled for some unclear for me reason and appealing gave no result. That is why I moved to Applovin.

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

    Just because Jetpack Compose is out, it does not mean we have to bury the old XML

    Posted: 22 Mar 2022 02:09 PM PDT

    I had the impression that Jetpack Compose is superior to XML in every aspect.

    It surely: - requires way less code - is better that code and design go to the same place - declarative like the web frameworks

    It kinda came as a surprise that the good old RecyclerView is not yet beaten. Compose does not have Grid layout and the animation (adding / removal) is not implemented. The performance from what I've seen did not match either with the old one.

    Which means I can make a much better app by implementing some components with the old system.

    Do you know of other areas where XML still does not beat Compose?

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

    Snapchat has always been a battery hog, could this be a reason why?

    Posted: 23 Mar 2022 11:05 AM PDT

    kotlin or java?

    Posted: 23 Mar 2022 02:49 PM PDT

    I'm new and i want to learn how to program

    View Poll

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

    Learn Kotlin starting from strong Android and OOP knowledge

    Posted: 23 Mar 2022 05:53 AM PDT

    Hi to everyone, I'm a 3 year experienced android developer, but only one on the company, the other two was for hobby. I've learned a lot, from app architecture, to writing libraries (we do apps and libraries at our company) and so. Because of the already existing projects in our company, I have only coded in java, advanced things, but java only. I was thinking about rewriting in modern Kotlin my databinding library as an exercise, but any suggestion is good!

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

    Java 18 released

    Posted: 22 Mar 2022 08:07 AM PDT

    Facebook and Google Auth Combined Issue

    Posted: 23 Mar 2022 02:59 AM PDT

    Hello. What does SPLIT_BUNDLE mean?

    Posted: 22 Mar 2022 04:36 PM PDT

    Hello. What does SPLIT_BUNDLE mean?

    Hello. I've been getting rejected for uploading an app. The issue was found in SPLIT_BUNDLE 1. I am not sure what SPLIT_BUNDLE means, I've tried to file an appeal and I got a response that it is because of ad fraud, so I disabled ads and uploaded again and still got the same rejection as in the screenshot below. What does split_bundle 1 mean? How to fix this?

    https://preview.redd.it/7ersrxx0t0p81.png?width=532&format=png&auto=webp&s=10d0846ca70da9020865f3a6ec7cb7654b3ae2d8

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

    Android Runtime Permissions[Updated with Android 11] - Howtodoandroid

    Posted: 23 Mar 2022 01:56 AM PDT

    Gracefully terminate all Google Play subscriptions

    Posted: 23 Mar 2022 01:34 AM PDT

    Hello everyone,

    I have an Android app that is offering a monthly subscription for some extra features.
    I'll probably end up doing this manually, but I was wondering if there is an easy/graceful way to terminate all the subscriptions in a single take.

    Has anyone experience in this regard?

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

    I made a DoubleViewPager which is actually working

    Posted: 23 Mar 2022 01:19 AM PDT

    What is the consideration to update minCompileSdk? Any side effect?

    Posted: 23 Mar 2022 01:10 AM PDT

    Hello, android developers!

    I'm maintaining an android application that has its minCompileSdk 30.

    Now our team want to use new awesome apis that require minCompileSdk 31.

    Can it be okay that I just modify the minCompileSdk on the build.gradle?

    What's the consideration to update minCompileSdk?

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

    Many libraries require an application context to be passed into an initializing method that is exposed for your application in the Application onCreate. What would happen if you pass in an activity context instead?

    Posted: 22 Mar 2022 05:41 AM PDT

    Publish Android App to AppGallery with appgallery-publisher

    Posted: 22 Mar 2022 11:23 PM PDT

    I created a new open-source project which is publish to Huawei AppGallery app package (apk or aab) from given path.

    You can use like:

    • Express app (you can use like a service)
    • Stanalone Javascript file
    • Standalone Bash File

    AppGallery-Publisher

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

    Image imported to XML file appearing black.

    Posted: 22 Mar 2022 08:17 PM PDT

    Image imported to XML file appearing black.

    I am currently designing an xml file and when I add an image it shows up as black. Attached is what appears on my screen. Image is blurred out for privacy reasons. Has anyone else experience this issue?

    https://preview.redd.it/pvuvedrxw1p81.png?width=1608&format=png&auto=webp&s=6ed63a3f733d6d1f2718c7b406d73ff6ce1124fd

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

    Multi-Module-NextFlix-Composable

    Posted: 22 Mar 2022 12:07 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel