• Breaking News

    Friday, August 6, 2021

    Android Dev - Weekly Anything Goes Thread - August 06, 2021

    Android Dev - Weekly Anything Goes Thread - August 06, 2021


    Weekly Anything Goes Thread - August 06, 2021

    Posted: 06 Aug 2021 06:00 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    How my app can access the screen time of other apps on android?

    Posted: 06 Aug 2021 05:00 AM PDT

    Hey fam! I am a newbie and, for fun, want to create an app that displays the screen times of all apps on the android.

    So, how do I access the screen time?

    Do, I have to measure it?

    Or does every app store that for themselves and I have to just fetch that?

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

    Project Nitrogen - Google IO 2018

    Posted: 05 Aug 2021 09:47 PM PDT

    1. What's progress? There is absolutely no news of it.

    2. What does Nitrogen suppose to do? I imagine you can use espresso to do UI testing on JVM with Nitrogen?

    "Project Nitrogen, which we also announced at Google I/O, will allow you to seamlessly move tests between runtime environments. This means that you will be able to take tests written against the new AndroidX Test APIs and run them on a local JVM, real or virtual device, or even a cloud based testing platform such as Firebase Test Lab. We are very excited by the opportunities this will provide developers to get fast, accurate, and actionable feedback on the quality of their applications."

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

    Top Android MVI libraries in 2021

    Posted: 06 Aug 2021 05:47 AM PDT

    Jetpack Compose Android Study Jam! Jetpack Hands on workshop with Paul Ruiz Android DevRel @ Google

    Posted: 06 Aug 2021 12:54 AM PDT

    What are/is the best book(s) to learn Android Development ? (Preferably with Kotlin)

    Posted: 06 Aug 2021 08:42 AM PDT

    Hi everyone,

    I don't know at all what books to buy, and as I learn more with books I'd like to know your opinion on that.

    Thank you !

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

    Doing my own sort of Android "bootcamp" for the next few weeks, figured I could keep you guys updated on my progress.

    Posted: 05 Aug 2021 07:03 PM PDT

    Hey folks! I've been learning Android development on and off for about a year now, never been able to stick to it consistently due to work/school though and I'm still very much a novice. Starting next week though I'll have a nice 3 week break from school and I'm working minimal hours, so I came up with a plan to basically treat learning Android as my 9-5 job for those 3 weeks, like my own little mini bootcamp lol.

    I figured it might be a cool idea to keep you all updated on my progress, especially for other beginners who are wondering what the best resources are, best self-learning practices, time frames for learning things, etc... So I'll post a run-down here of my plan, and then an update in a few weeks time!

    For some background, I've been learning Android on and off (doing the Google beginners codelab and reading the CommonsWare book on Jetpack) so I do have some general background, but still a novice and can't do much of anything without a tutorial. Also:

    • I'm starting out with a moderate-advanced background in Java (3rd year computer science student) and solid understanding of OOP and programming terms/practices, novice with Kotlin syntax though.

    • A basic understanding of Android Views/Widgets, Activities, some components, and some overview understanding of LifeCycle, ViewModel, and Adapters.

    • Very basic understanding of what Compose sort of is? zero lines written.

    • Starting at page 365 in Jetpack book (below), and halfway thru Unit 3 of the beginners Android Developers course.

    Goals:

    • Overall my main goal is to get over the hurdle of being a novice and simply being lost/overwhelmed, and moving to an 'intermediate' place where I have a grasp on Android and can start working on my own app. Specifically:

    • Learn and get comfortable with Android architecture (MVVM, etc.) best practices and basics

    • Get comfortable with and start using Compose

    • Begin building my personal app (at least setup basic architecture and layout), using Compose and best practices. This is/will be sort of my passion project, and pretty much the reason I wanted to get into Android development, but I've been too bogged down by Android framework to properly start it. So that's ultimately what I hope to overcome with this.

    Resources I'm using:

    • I've compiled these over the past month or so. I'll mainly be relying on the official Google codelabs/courses as they seem pretty solid, as well as the CommonsWare book for technical background. Everything else is mostly supplementary:

    • CommonsWare Android Jetpack 2.1 Book

    • CommonsWare Kotlin Book? (suppl.)

    • Google Android Basics in Kotlin Course

    • Google Jetpack Compose Course

    • Other Google Codelabs and Pathways (TBD'd after I finish the above ones)

    • Android Devs on YouTube

    • Leland Richardson on YouTube ("Compose Dogfooding" for some compose insight)

    And that's about it! Taking a little break before I dive in, but looking forward to really making some headway with Android development. I know 3 weeks isn't much, but again I'm hoping to just overcome that hurdle of being lost in the sea of libraries/syntax/architecture that is Android, and get to the point where I can begin chipping away at my own app.

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

    Can I list my app on Shopify store without a web version?

    Posted: 06 Aug 2021 04:21 AM PDT

    Hi, I am Ashwin founder of Airbooks app, I have been researching how to list my public android app on the Shopify store for a while, does Shopify support only the web version, its mentioned on the requirements page. Can anyone please share a solution.

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

    Animations in Navigation Compose

    Posted: 05 Aug 2021 08:28 AM PDT

    Do you find it easy to code in a markup way or the compose(flutter) way?

    Posted: 05 Aug 2021 10:55 PM PDT

    Hii

    I want to know if you find easy to program in the markup way(like the xml files or like react native has built in hooks in javascript) or like the compose way in which you programmatically add the UI? I want to know that if other also find it easy to code in xml or hook way(like me) or I am really dumb to like it.

    Thank you =)

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

    Why Flutter is not your choice for building large, scalable and maintainable projects?

    Posted: 06 Aug 2021 04:16 AM PDT

    I wrote an article about my humble opinion why I think that Flutter shouldn't be used for building large, scalable and maintainable projects. I am curious about your opinion.

    I've posted it on medium:

    https://thecodeside.medium.com/why-flutter-is-not-your-choice-for-building-the-best-app-in-the-world-a466ff8748b1

    Also, I know that some people don't like medium, so you can find it on my personal blog.
    https://www.thecodeside.com/2021/08/03/why-flutter-is-not-your-choice-for-building-the-best-app-in-the-world/

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

    Top Android MVI libraries in 2021

    Posted: 05 Aug 2021 08:42 AM PDT

    Single events from ViewModel to UI in Jetpack Compose

    Posted: 05 Aug 2021 09:03 AM PDT

    How do you handle single events from the ViewModel to the UI in the Compose world? For example, if you want to trigger a snackbar from some logic that sits in your ViewModel?

    In XML times I used a Kotlin channel for that but I am not receiving 2 times the same value if I use it together with `remember { mutableStateOf }`

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

    Whats your favorite Android 3rd party library so far? And Why?

    Posted: 05 Aug 2021 04:10 AM PDT

    My favorite is https://github.com/airbnb/epoxy Epoxy by Airbnb.

    Why? It makes building "Composable" UI on Android possible (XML era ofc). Building lists, nested lists and common components has never been this easy.

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

    Question about the new User Messaging Platform (UMP) SDK to obtain the user consent

    Posted: 05 Aug 2021 09:56 AM PDT

    Hi fellow android developers,

    I'm migrating an app from the old Consent SDK, used to obtain the consent for personalized Admob ads, to the new User Messaging Platform (UMP) SDK, and I have a little question.

    The sdk displays the consent dialog to the user, and the user may click on "consent" or "not consent", and select customized ad providers and so on. But there is no way to retrieve from the consentInformation object, if the user consented or not, to pass the flag to the Admob sdk (like in the previous consent sdk).

    Should I assume that this is not needed anymore and that the UMP Sdk talks somehow with the admob sdk to apply the options that the user has selected?

    Thanks!

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

    No comments:

    Post a Comment