• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, September 29, 2021

    When Studio and smart-light became friends... Android Dev

    When Studio and smart-light became friends... Android Dev


    When Studio and smart-light became friends...

    Posted: 29 Sep 2021 02:58 AM PDT

    is it still a good time to learn Android development?

    Posted: 29 Sep 2021 03:21 PM PDT

    I wanted to learn Kotlin/Android dev anyway because, like many people drawn to this, I would love to make my own apps.

    However, I'm asking more from a professional standpoint from someone that has zero knowledge and experience. By the time I learn the basics for a Jr Android dev type of position, would the job market be too saturated and competitive?

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

    A visualization of handler, message queue and looper (in case it is useful to someone )

    Posted: 29 Sep 2021 01:37 AM PDT

    Portals: a Better Web View for Android (and iOS) Apps

    Posted: 29 Sep 2021 07:06 AM PDT

    If you have an unpublished app, can google still suspend it and give you a strike?

    Posted: 29 Sep 2021 05:37 AM PDT

    A previously published/live app I unpublished. Worried that google could still suspend it even though it's not live anymore? Trying to avoid strikes.

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

    Many users complain they can't download our app on Gplay

    Posted: 29 Sep 2021 11:04 AM PDT

    A bit frustrated here, we are getting a lot of reports that users cannot download our app through GPlay (maybe 10-100 reports a day) and get the error "<app> can't be downloaded - Please try again later. If you still have problems, you can find some troubleshooting steps here..."

    What's even more frustrating is that Google Play support is telling users its our problem.

    Has anyone encountered this and fixed it?

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

    I am excited to share our Compose CookBook for JetpackCompose

    Posted: 29 Sep 2021 12:18 AM PDT

    I am excited to share our Compose CookBook for JetpackCompose

    SSComposeCookBook : A Collection of major Jetpack compose UI components which are commonly used.

    In this repository, there are number of UI components demonstrated which can be useful in regular development through Jetpack Compose.

    • Common UI Components
    • BottomNavigation
    • Navigation Drawer
    • API call with Retrofit
    • List
    • Constraint Layout
    • Animation

    https://preview.redd.it/8tvcq9ydueq71.png?width=1280&format=png&auto=webp&s=44311455d6a0cf5ed026545cd6420caefc33efb9

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

    Found my .apk file on a Chinese website

    Posted: 29 Sep 2021 08:28 AM PDT

    I just found out that my app can be downloaded from this Chinese website. What should I do about it?

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

    Measure, measure, measure

    Posted: 28 Sep 2021 08:00 PM PDT

    What is the realistic income increase using Ad Mediation?

    Posted: 29 Sep 2021 02:02 PM PDT

    Let's say you have an app that have user base all around the world and make $1000 a month without ad mediation. If you add 5 Ad Network to your Ad Mediation how much of an increase would it make realistically?

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

    Terminated account. How does mere mortal find redemption with Google Play?

    Posted: 29 Sep 2021 12:20 AM PDT

    I'm planning to publish my first mobile app as an indie developer and I found out that I can't access Google Play console and my account was terminated in 2015.

    Firstly I didn't even recall wtf I was doing with the play market and Android in 2015 cause I'm just a web developer of 10+ years. Then I've remembered that I was joking around with Android and trying out some random stuff.

    And apparently app I've published to the Play Store did have some copyrighted images or logos or something.

    And it got banned and my account got terminated almost immediately.

    I've found old emails and they were like this:

    1. "Warning" email about app removal and policy violation.

    2. Account termination after 3 hours.

    I've reacted to that with questions like "what exactly is wrong and how could I republish?".

    I didn't care about this termination then and didn't realize it was a life sentence.

    But I think it really doesn't matter right now.

    I've filled an appeal form with brief info about the situation and they responded to me with a canned answer (as I figured out later) which told me to read the Help Page which leads to the same appeal form.

    I've filled it one more time - same response.

    3d time with different wording - same response.

    I got really frustrated about this situation.

    After searching for similar issues with other people I found out that it's probably a dead end.

    How do I find redemption with Google?

    Are there any solutions?

    Or I just got banned for a lifetime from the Google Play store just for a random stupid mistake that took place 6 years ago?

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

    Android United Slack Group

    Posted: 29 Sep 2021 09:52 AM PDT

    Anyone here use the "Android United" Slack group frequently? I've been in the "AndroidChat" Slack group for about 2 years now and it is....okay. I submitted the invite form to join the Android United Slack group but haven't received anything back in my inbox yet.

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

    What happens when a Worker code is updated?

    Posted: 29 Sep 2021 06:17 AM PDT

    I have a one time (WorkManager) worker with some logic that allows it to retry (Result.retry()) when some conditions are not met. If this worker has been running and has a scheduled retry, what happens when I update the code of that worker and the user the updates the app? Would it:

    1. run the old worker code?
    2. continue running but run using the new worker code?
    3. cancel the current job since it detects the worker code has changed?
    4. ???

    I'm inclined to think it would be #3 but not really sure.

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

    Recommended approach to determining when to run a DataStore migration?

    Posted: 29 Sep 2021 12:09 PM PDT

    For a straightforward migration from SharedPreferences to DataStore we have SharedPreferencesMigration, which defaults `shouldRunMigration` to true. The only recommendation I can find for when to run a migration is in the source itself, where a javadoc says "Apps should do the cheapest possible check to determine if this migration should run." Ironically the cheapest possible check would be SharedPreferences. I'm not seeing anywhere in the source, tests, samples, or docs that recommend how to actually check this. Any ideas?

    One approached I've used is to just always run the migration and add a boolean field "hasMigrated" to the protobuf schema, defaulted to false, and set it to true after running the migration. Then as the first step in the migration, only perform the actual migration logic if `hasMigrated` is false. It works but it feels forced.

    Is there a better approach? Or is the correct approach to just let it run every time?

    submitted by /u/Lazy-Row-6657
    [link] [comments]

    Tutorial: Implementing a Todo List in Compose using the Bloc library

    Posted: 29 Sep 2021 12:18 AM PDT

    Use MediaStore to get audio files

    Posted: 29 Sep 2021 06:54 AM PDT

    I've read that since android 11 (api 30) READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permission doesn't have any effect and one is supposed to ask for MANAGE_EXTERNAL_STORAGE to be able to access files on external storage.

    I actually want to make a *music player* app and so need to use **MediaStore** to get audio files on the device, but when I use it on android 11 it just return the audios in some Android/media directory. Should i get MANAGE_EXTERNAL_STORAGE permission or is there another way? If yes how should I get that permission?

    Any help would be appreciated.

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

    Do you know nice project with dagger2?

    Posted: 29 Sep 2021 10:25 AM PDT

    Like in title, do you know guys some projects on github with dagger 2? (not hilt)

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

    Toast without main activity?

    Posted: 29 Sep 2021 08:25 AM PDT

    Is it possible to make a toast message without loading an app window? What I am trying to accomplish is that when launching the app, only a toast message (displaying phone uptime) will be shown and the app will exit.

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

    Allow while using the App vs Ask Always

    Posted: 29 Sep 2021 07:34 AM PDT

    Is there a way to determine if user has Granted the location permission permanently (While in Use) or Granted it temporarily (Ask Always).

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

    Is there complete documentation on how to request permissions?

    Posted: 29 Sep 2021 07:17 AM PDT

    It sounds like something that should be trivial but I am struggling for months with it already.I find this documentation somewhat clear and good enough to build a functioning permissions flow, but the integral part that is missing from there is the reason we have been rejected from the Play store multiple times now and I just can't wrap my head around it.

    The content of all my rejections revolved around this policy (specifically the "Provide prominent in-app disclosure" part). After the first rejection around this policy, I was confident an updated/ more detailed text to the Dialog I was showing when `shouldShowPermissionsRationale` was `true` would be enough to get past review. That did not work out, and I got rejected again. Obviously, since the `shouldShowPermissionsRationale` Dialog is not always shown.Slightly shivering and sweaty now after my second rejection (pending removal, pending account deletion), I decided that what they mean in the policy might be not what comes after `shouldShowPermissionsRationale=true` but should be something separate that is shown each time ahead of the whole flow. So I built another dialog, added a really detailed explanation of how user data is used, and added it to the very start of the flow, being always shown if the user wants to enable a feature that requires said permission.That got me through the next review and I was happy.

    My users and UX designers of course were not so pleased, since a press on a button will now basically take the user through a 15 dialog-flow (exaggerated) before that feature can be used. (Since it's the BACKGROUND_LOCATION_PERMISSION we need even more steps now because with targetAPI=30 we need to request it separately from the regular location permissions now).

    Does anyone here still know how this whole flow to get to a BACKGROUND_LOCATION_PERMISSON should work including those dialogs I need to show to satisfy the Google play policy gods? If there are googlers here... do you even know yourself? :P

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

    Learning Jetpack Compose - is it ok or over-engineered?

    Posted: 29 Sep 2021 05:54 AM PDT

    I'm going through Compose tutorials on developer.android.com, one specific example is a TODO application (github) which demonstrates state management.

    • Is it ok that a seemingly trivial TODO application requires 5 separate files and 500+ lines of code?
    • Is the sample purposefully over-engineered to emphasize features and app design?
    • Or is Compose as a whole over-engineered?
    submitted by /u/vsix_
    [link] [comments]

    Here is the new tool to edit Android 12 widgets

    Posted: 29 Sep 2021 05:18 AM PDT

    Compose Destinations: a simpler, safer way to navigate in Jetpack Compose

    Posted: 28 Sep 2021 12:56 PM PDT

    Hi all 👋

    I've just posted an article about my library: Compose Destinations - A KSP annotation processor to make navigating in Jetpack Compose easier and safer!

    Check it out here

    I'm looking for all kinds of feedback about the article or the library itself.

    Quick summary of what you can do with the library:

    • Use @Destination to add a Composable to your navigation graph
    • To add arguments, simply add them to the Composable function.
    • Default arguments? You can use Kotlin's default arguments! @Destination(route = "profile") @Composable fun ProfileScreen( id: String, isEditable: Boolean = false ) {/*...*/}
    • To navigate use withArgs function of the corresponding generated Destination: navController.navigate( ProfileScreenDestination.withArgs( id = $someId, isEditable = $isOwnUser //isEditable is optional here ) )

    And more!

    If you find it interesting try it out in some sample project and please do let me know how was it!

    Find it on github

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel