• Breaking News

    Thursday, October 1, 2020

    Android Dev - What are some coding optimizations you do in your app that new Android dev should be aware of?

    Android Dev - What are some coding optimizations you do in your app that new Android dev should be aware of?


    What are some coding optimizations you do in your app that new Android dev should be aware of?

    Posted: 01 Oct 2020 03:12 AM PDT

    Subscription Deadline 1st November

    Posted: 01 Oct 2020 05:12 AM PDT

    My application currently supports subscriptions via the play-store. However it does not yet support Account Hold which is mandatory by November 2020. What will happen to my app if it doesn't support Account Hold by 1st November 2020?

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

    I couldn't become an android developer on my first job :(

    Posted: 30 Sep 2020 02:20 PM PDT

    To give some backstory I'm a new grad who graduated in may of this year who has been looking for an android dev job since then. I've done 3 internships so far in college and in my 2nd one I came to love android dev when that was my given tech stack. I wanted to branch out and try to fullstack in my 3rd internship and came to realize that wasn't for me. When it was time to look for jobs in my senior year covid happened and I legit could barely find anyone hiring let alone interviewing for android jobs. Recently I just got hired at a company that was a generally software engineer position. I told my recruiter that I really was looking for mobile dev and if possible android however after accepting the offer they finally told me what my day to day dev work is and its sadly not mobile dev (its java springwork/microservices). To say I'm not bummed out would be an understatement. I only took this job offer honestly cause I couldn't find anywork for 5 months and I need to make money somehow. Sadly I'm worried how hard it'd be for me to apply for android roles in the future when they start asking for years of android experience. I don't want to be pigeonholed into doing dev work I'm not passionate about.

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

    If you have a budget of $3,500 to market your consumer mobile app (with the goal of driving sign-ups and rankings), how would you use the funds?

    Posted: 01 Oct 2020 02:06 AM PDT

    If you have a budget of $3,500 to market your consumer mobile app (with the goal of driving sign-ups and rankings), how would you use the funds?

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

    Hiding toolbar and bottom nav in certain screens (navigation component)

    Posted: 01 Oct 2020 04:51 AM PDT

    Okay so I've tried these two ways:

    1. Hiding toolbar and bottom nav in the onDestinationChanged listener: This causes some flickering and doesn't look good if I'm using transitions like slide.
    2. Creating multiple nav hosts. One for the whole screen and another for the screen between toolbar and bottom nav: This doesn't have any flickering or transition problems but it feels hacky when I want to navigate to a root destination from the inner nav host (like using a view model).

    I know this has been asked many times but I can't really find a good answer that eliminates both the problems. How do you guys handle this scenario?

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

    Chucker (OkHTTP Debugger for Android) v3.3.0 is out �� - This version comes with minor features, improvement and bugfixes.

    Posted: 01 Oct 2020 05:14 AM PDT

    AdContainerView - Android Library

    Posted: 01 Oct 2020 12:10 AM PDT

    Why so much boilerplate for a simple BannerAd!? :\

    AdContainerView is a simple, lifecycle aware, plug & play wrapper over Google AdMob's AdView (Banner Ad), which handles most of the stuff by itself.

    For the simplest use:
    You just need to add AdContainerView in your layout,
    define 3 parameters: adUnitId, adSize, autoLoad & that's it!

    AdContainerView hooks to your Activity's lifecycle process & handles AdView's lifecycle (Resume, Pause, Destroy Ad).
    This is most helpful when you just want to add a simple Banner Ad without any boilerplate.

    The library is written in Kotlin.
    More info. on Github: https://github.com/ItzNotABug/AdContainerView

    Hit the ⭐️ if you find it useful :)
    Also, reviews and suggestions are more than welcome :)

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

    What are the best Open source projects one can start contributing?

    Posted: 01 Oct 2020 02:40 AM PDT

    Also, are there some unspoken rules/etiquette of OS?

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

    Why is the boolean variable checked required here? Won't the switch case match only that button which has been clicked (which will be contained in the view variable)? What's the purpose of the checked variable here?

    Posted: 30 Sep 2020 11:44 PM PDT

    Guided Projects For Beginner Students

    Posted: 30 Sep 2020 03:17 PM PDT

    I'm a really "hands on" learner. I need to have the pieces in front of me and watch as they're put together so I can mimic the motions and figure out how everything goes together. So, as I'm going through the Udacity Android course, the one Google has on their Android dev site, I'm really put off by how "hands off" it is. The first two lessons are great as they lead you through projects and build them from scratch. the rest of them , though, are far more conceptual and more so talk at you instead of guide, I find.

    Are there any courses or resources that are project heavy and sort of teach as they build? It's that middle ground between "college lecture" and "jump in the deep end" I'm trying to find and it's seems harder than I thought it would be.

    Thanks in advance.

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

    Where are u getting your latest Emulator Android 11 image for testing?

    Posted: 30 Sep 2020 08:20 PM PDT

    Where are u getting your latest Emulator Android 11 image for testing?

    https://preview.redd.it/6cxb1pffieq51.png?width=906&format=png&auto=webp&s=3cf2a02f3e261324a66c492bbbe74fc957eab82d

    Currently, I using the above image, for Android 11 testing. (I am using latest Android Studio 4.0.1, and I do not see any image named Android 11). The best I can get is Image named 10.0+ with API level 30

    I am not sure whether this image reflects the truth of Android 11, as I encounter some issue, while testing on Context.getExternalFilesDir behavior. I expect there are no behaviour change on Context.getExternalFilesDir (Yes. I am aware of scoped storage and the limitation of Environment.getExternalStorageDirectory)

    https://stackoverflow.com/questions/64148334/can-we-still-use-java-io-file-api-on-context-getexternalfilesdir-in-android-11

    May I know, where are u getting your latest Emulator Android 11 image for testing? Thanks

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

    AVD - Boot into setup wizard (welcome screen)

    Posted: 30 Sep 2020 04:29 PM PDT

    Hi,

    Is is possible to boot into the setup wizard of Android? I don't want that the AVD gets automatically configured, I want to go through the setup wizard manually.

    Would be nice if somebody could help me! :)

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

    Google Play Project very abusive

    Posted: 30 Sep 2020 10:31 PM PDT

    This is our latest issue with Google's automated processes. Our Galaxy Store app version is being flagged by the Play Protect service - the same version is also offered as a back up on our website. Several of our users have claimed it has warned them or even removed the app from their device! Is this normal? Is this new? Our app is currently available on Google Play with a different version number.

    I shared my thoughts on this Twitter thread:

    https://twitter.com/JP\_Payeur/status/1311538219536662528?s=20

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

    FCM notification message or data message, that is the question.

    Posted: 30 Sep 2020 09:45 AM PDT

    From start, I would like to notice that this question focuses on your personal opinion and experience.

    The challenge: Let's say we build the social networking app, where people can add friends, post photos on their timeline and later tag themselves on these photos. The feature I would like to discuss are notifications - e.g. user should be notified when someone tagged him/her on a new photo and after clicking on the notification, app should automatically navigate to special tab with all notifications in one place. This pattern is very popular, we can compare such with Reddit or Twitter.

    Now from the technical point of view, when other user tags me on a photo, the backend saves the details and sends the notification about new event to my device through the FCM. Ideally, the app should refresh all notifications that are displayed in a special tab in background, so when I click on notification it navigates me a view with fresh data.

    We have 2 options: 1. We can send notification message to specific device (using token or topic) and add data payload with event name (e.g. SOMEONE_TAGGED_YOU) so the app would intercept this information in splash screen after user clicks on a notification. Then we can start refreshing data (it may be a little bit to late) and navigate to specific screen. 2. Or we can send data message, so the app would catch this message in a FirebaseMessagingService and then it starts refreshing data before user will see the notification. Also we have full control how to dispaly the notification, we can set pending intent, and so on.

    Option 2 seems to be a better one, but the problem I have noticed is that not all data messages are coming to the device. Oppo, Vivo and One Plus have common issue of killing all services when user kills the app (or when the app wasn't launched from a long time?).

    The problem of not receiving the notification about new photo from your friend doesn't seem problematic, but in my real case it's really important to notify the user about some events. It doesn't have to be in the same minute the server sends message, but it should as soon as possible.

    Now the question is, what's your experience? How did you solve sending notification in your project? Are you sending all notifications as notification message or data message?

    The challenge seems to be interesting especially when you consider supporting iOS where data messages are never coming when app is forced to close.

    If you would like better describe the situation, just let me know. Thanks!

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

    Editing merged AndroidManifest.xml file as part of the build

    Posted: 30 Sep 2020 09:21 AM PDT

    Is this app enough for fresher position ?

    Posted: 30 Sep 2020 04:33 PM PDT

    Hi developers , i made an app of type buy&sell stuffs , is it enough as portfolio fresher ?

    THE APP ( didn't finished it yet :) ):

    you can post new products and search for products (by country location) and also you can chat with people about the products using firestore !

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

    No comments:

    Post a Comment