• Breaking News

    [Android][timeline][#f39c12]

    Sunday, August 1, 2021

    As an app developer, what's the one thing you have the most difficulty with? Android Dev

    As an app developer, what's the one thing you have the most difficulty with? Android Dev


    As an app developer, what's the one thing you have the most difficulty with?

    Posted: 01 Aug 2021 08:40 AM PDT

    I personally feels that app seo is the hardest thing, but I'm pretty new to this. Anyone else feels this way?

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

    [XP Sharing] Have you ever worked on a project with the Bazel build tool instead of Gradle?

    Posted: 01 Aug 2021 12:55 PM PDT

    I know that Gradle is an all-rounder and very well fitted to Android development and there are very few applications and use cases where Bazel/Buck tools are a good choice. If any of you had a recent experience with those tools, would you mind sharing it? Like, how easy is it to work with Bazel targets instead of Gradle flavors? What about custom tasks/scripts, managing transitive dependencies, and other external plugins?

    Thanks

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

    What are the architecture guidelines when developing an SDK?

    Posted: 01 Aug 2021 10:12 AM PDT

    Hi all! I want to build an sdk and i'm really lost. I'm trying to figure out how do I even plan my project? For a regular app with UI, i'd probably use MVVM, but what do i use for sdk when i have no ui? What are the guidelines? Is there a common best practice for sdk architecture?

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

    Jetpack Compose: Where is the Documentation?

    Posted: 01 Aug 2021 05:10 AM PDT

    I'm trying to learn Jetpack Compose now that it has a stable release. But, I can't find any official documentation of compose components like Row, Column, Button etc.

    Coming from a full-stack background, I'm used to component libraries having a list of all the components available with docs. Is it being worked on or am I missing something?

    I know that there are books/articles on Compose which can help but I wanted 1st party documentation that won't become obsolete after a few updates.

    Edit: typo

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

    Android Studio Emulator in Windows 11

    Posted: 01 Aug 2021 12:59 PM PDT

    I did the windows 11 beta update. Since that my android studio emulator is not working. Checked the laths and everything but nothing looks like wrong. This happened back when I did Developer update for windows 11, but I rolled the windows 11 update and then emulator started working normal. Is there anyone else facing the same issue?

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

    User Messaging Platform and AdMob

    Posted: 01 Aug 2021 12:57 AM PDT

    Greetings,

    I have a question. I'm trying to integrate AdMob in my app, using User Messaging Platform to get user consent, but feel the documentation is a bit lacking. I'm not really sure what I'm supposed to do with the result of the consent form that pops up. As far as I can tell, previous incarnations of Google's consent APIs stated that you'd pass a "npa=0" parameter to AdMob when requested non-personalized ads, if user didn't consent. I can't find anyhing about this in newer documentation.

    How do I pass all this consent information to AdMob? How do I even access it? (Since now it's a lot more complex than just consent or no consent)

    Hope someone can give me some pointers.

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

    Dropbox StoreBuilder API - why to use it?

    Posted: 01 Aug 2021 08:58 AM PDT

    could anyone provide a real life example where this is useful? article says main purpose is to avoid calling duplicate request. but different fragments want to retrieve freshest data from server most of the cases, i dont see why would a normal app would want to use StoreBuilder.

    I read some other article. This is only good use case I found so far, but still doesn't justify integrating a 3rd party api into an app.

    "doing a pull to refresh while store is processing a pending request will suspend the new incoming request and store will fulfill a single response for the two requests."

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

    Showing the toast message in the proper language from resources.

    Posted: 01 Aug 2021 01:39 AM PDT

    Hello devs, some info before the problem:
    - I use now @ApplicationContext from Hilt in my ViewModels to get a context.

    - I have "change language" feature in my app so the user can change the app language from settings.

    - as you know when changing the app language programmatically you really don't change the whole app language you just change the activity language(the root of my problem)

    problem description:

    Sometimes I need to show a toast message from res/string in ViewModel so I use the application context but the problem appears when the device language is EN and the app language is AR for example and I already using the app context in ViewModel therefore the message will appear in EN even though the app language is AR.

    problem-solve(currently):

    I created two functions in my Application class, setContext(context: Context) and getContext() then in onCreate of each activity I called setContext() to save the activity context in Application class to use it in ViewModel instead of the application context.

    Are there any concerns about this solution(performance, crashes...etc)?

    Is there a better solution for this problem?

    Any suggestion will be appreciated :)

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

    Introduction to Dagger dependency injection [Free course]

    Posted: 01 Aug 2021 07:49 AM PDT

    Hi everyone and welcome to my new course

    Android Dependency Injection using Dagger 2 with Kotlin

    This course is designed for an Android Developer who has no background in using Dagger 2 for Dependency injection. Dagger is one of the most popular frameworks for Dependency injection in Android Development. It is developed by Google as a forked project from Dagger 1 which is developed by Square. Dagger 2 is one of the skills that you should have for your career as an Android Developer because a lot of companies use it nowadays because it is fast, reliable and it makes the code more testable and clean because of separation of concerns.

    After this course, you will be able to Understand the following

    • What is Dependency Injection(DI)
    • Why do we need DI
    • Introduction to Dagger 2 library
    • Understanding the types of DI
    • Understanding Dagger Component
    • Understanding Field Injection
    • Understanding Method Injection
    • Understanding Dagger 2 Module
    • Understanding Scopes and SubComponent
    submitted by /u/mrabelwahed
    [link] [comments]

    Stop other media players like music player, spotify or youtube, etc

    Posted: 01 Aug 2021 06:59 AM PDT

    Hi, how can stop the playing music or any background sound from my? I just able to mute the song but the player is still playing.

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

    Check out my first 3D mobile game, Paddle Pong! I'd appreciate any feedback for improvement.

    Posted: 31 Jul 2021 05:21 PM PDT

    Check out my first 3D mobile game, Paddle Pong! I'd appreciate any feedback for improvement.

    Come check out Paddle Pong, a mobile game I created where you have to keep an erratic ping pong ball bouncing for as long as possible on the paddle! It's a fairly simple game, with cool features like an online leaderboard and lots of different ways to customize your ball that I think are fun. This is a twist on the classic game of ping pong. Let me know your thoughts and if you have any ideas for ways to improve my game!

    Download Link: https://play.google.com/store/apps/details?id=com.ConnorBryant.PaddlePong&hl=en_US

    Source Code Link: https://github.com/connorjbryant/Paddle-Pong

    https://reddit.com/link/ovi769/video/wzo1bowe1ne71/player

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel