• Breaking News

    Friday, March 26, 2021

    Android Dev - Weekly Anything Goes Thread - March 26, 2021

    Android Dev - Weekly Anything Goes Thread - March 26, 2021


    Weekly Anything Goes Thread - March 26, 2021

    Posted: 26 Mar 2021 07: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]

    Flux: A fake weather app with a dynamic landscape varying over time using Jetpack Compose. It's composed of a day / night cycle, multiple layers for the background and a particle generator for rain, snow and clouds. It also draws random lightning when there is a thunderstorm.

    Posted: 26 Mar 2021 02:55 AM PDT

    JetWeatherfy - My submission on Android Dev Challenge - Week 4

    Posted: 25 Mar 2021 02:27 PM PDT

    A Open source Beautiful Countdown Timer app built to demonstrate the use of Jetpack Compose Animation ��

    Posted: 26 Mar 2021 05:18 AM PDT

    Publish your App with the Android App Bundle

    Posted: 26 Mar 2021 07:07 AM PDT

    Testing App Bundles (AAB) with internal versions (different bundle IDs)

    Posted: 26 Mar 2021 06:42 AM PDT

    Hi,

    We currently test our app in different environments (dev and stage) and our bundles IDs are different for each of them com.brand.myapp.qa or com.brand.myapp.dev.

    For distribution we use Test Fairy, but it doesn't support AAB.

    When we tried App Distribution in Firebase or Google Play Console Internal tracks, we weren't allowed to upload an abb with a different bundle name.

    Anybody knows any workaround?

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

    Internal app sharing bug

    Posted: 26 Mar 2021 05:38 AM PDT

    Our app suddenly started getting rejected during the review process for internal testing. We're waiting (and waiting) for a reviewer to give us more info. Meantime, as the sole dev, I wanted share a new version of the app with my teammates.

    I go to the internal app sharing page to upload the app for sharing: https://play.google.com/console/internal-app-sharing

    Since this is just internal app sharing, I don't think it matters that our latest update got rejected. I should be able to upload my new version.

    When I hit that page (signed in), I see this message in the lower left corner: "An unexpected error has occurred. Please try again. (ERRORCODE) x".

    Well I tried to upload the app anyway, and it just spun around for ages, and I finally gave up. That was last night. Same thing this morning.

    There's an error message in the console: "Failed to load resource: the server responded with a status of 404 () www.gstatic.com/acx/play/console/play_console _ui_20210325_0340_RC00/internal-app-sharing//uploader.client.dartjs.v3/uploader.js:1"

    That looks like a major bug in internal app sharing. I tried opening Chrome in incognito mode and signing in, the same thing happened.

    Do so few people use internal app sharing that this kind of thing doesn't get noticed? Am I the only one?

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

    How to Debug in other classes other than the MainActivity in Android Studio?

    Posted: 26 Mar 2021 03:08 AM PDT

    How to Debug in other classes other than the MainActivity in Android Studio?

    I'm watching some variables of my MainActivity but the code go to others classes in other files as well but I can only see on the debugger window the variables of the MainActivity. How can I watch variables for more than one class?

    https://preview.redd.it/gtg41og7jcp61.png?width=916&format=png&auto=webp&s=ba9fd6270c67df488f0bab918019cad14d25c929

    From the MainActivity the code goes to the adapter of the recyclerView and I want to watch it too. How can I do this?

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

    Best Frameworks, Libraries, and SDKs That Can Help Develop Android Apps

    Posted: 25 Mar 2021 11:46 PM PDT

    Android Studio Arctic Fox Canary 12 available

    Posted: 25 Mar 2021 10:04 AM PDT

    Prime Table Generator in Jetpack Compose

    Posted: 25 Mar 2021 10:23 AM PDT

    Is there a way to extract out the datalist updation functions of an adapter?

    Posted: 25 Mar 2021 10:45 PM PDT

    a typical recyclerview adapter is like this :

    ```kotlin

    class Adapter1 : RecyclerView.Adapter<Vh1>() { private val list = (1..100).map { "person $it" }.toMutableList()

    fun updateList(data:List<String>){ list.clear() list.addAll(data) this.notifyDataSetChanged() } fun updateListAtPositon(item:String,pos: Int){ list[pos] =item this.notifyItemChanged(pos) } //... override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): Vh1 = Vh1(getRvView(R.layout.sample1_item, parent)) override fun onBindViewHolder(holder: Vh1, pos: Int) = holder.bindData(list[pos % list.size]) override fun getItemCount() = list.size 

    }

    ```

    we can have a lot of public functions to insert/delete update list items, but that feels like clutterring the adapter . does the kotlin magic provide any ways by which the implementation of such functions will be written in some other file (say AdapterItemsManagerImpl.kt ) while the functions are still available via adapter calls, i.e adp.updateList(...) ?

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

    Do something while app is closed

    Posted: 25 Mar 2021 09:43 PM PDT

    Hey all! I've been looking around for a way to create a "background process" online but haven't had much luck. My actual use case for this is that I'm listening for an update in a specific piece of data in my Firebase database, and when it detects the update, the app sends a notification to the phone displaying the data (since it's just a string of text). If that didn't make sense, then I'm basically just sending a notification based on some condition. It works perfectly when my app is either in the foreground or in the background (when it's open but not the one being displayed), but it doesn't work when the app is totally killed, which is what I'm trying to solve. Could someone help me with an easy/efficient solution that I could implement for my project? Thanks in advance!

    Note: Sorry if I didn't supply enough information, so if you need any info, please let me know

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

    Testing StateFlow

    Posted: 25 Mar 2021 01:28 PM PDT

    Hey everyone, I was curious to know how everyone has been testing StateFlow.

    Before I switched to Coroutines, I used to have a BehaviourSubject which emitted State values which would be consumed by the View. To test it, I would perform certain actions and the observe that the correct values were emitted in order by the subject. Edit: I would use a test observer and use assertValueAt to verity the emissions.

    However, since StateFlow uses conflation, I will sometimes miss certain State values.

    Should I just use SharedFlow? Or am I doing something wrong in regards to my testing?

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

    How long does it take to learn android app dev?

    Posted: 25 Mar 2021 04:56 PM PDT

    Hi. Im 15 and I've been programming on-and-off for 2 years. I'm pretty comfortable with python, and can do basic html, css, JavaScript. The other day i got a pretty nice app idea, and now i want to use that as motivation to learn how to make apps.

    I have about 3~4 hours a day to learn so thats about 20 hours a week. How long would it take for me to be able to make good apps with a nice interface?

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

    Debugging Gradle build scripts & Plugins on IntelliJ/Android Studio

    Posted: 25 Mar 2021 01:04 PM PDT

    Is it really worth publishing on other app stores? If yes which ones?

    Posted: 25 Mar 2021 11:17 AM PDT

    Hi, I'm the developer of an app published on Google Play store and I'm trying to understand if it is useful or not to publish on others to increase user base (and that are good for monetization if I will think in the future to use in app billing and/or ads).

    I read about Samsung app store and it seems a good choice to me. What do you think about? Any other app stores suggestions?

    I'm trying to understand also if there is any advantages publishing exclusively on Google play store.

    Thanks in advance for all your feedbacks.

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

    [Free Template] Prototype and test with real users in 5 days using Design Sprints

    Posted: 25 Mar 2021 11:25 AM PDT

    Can I still use other person's card to pay for google play console?

    Posted: 25 Mar 2021 04:17 PM PDT

    Hi, I am planning to pay for the google play developer console $25 fee but I dont have a card to use for the payment. Can I use other person's card for this? I searched the Internet about this and found answers that says it works, however, most of them are 5+ years ago. I just wanna ask if it still works today or is it required to have the same name on you credit/debit card and your account.

    Thanks.

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

    Best courses for learning android development with Kotlin

    Posted: 25 Mar 2021 02:37 PM PDT

    Hi, Im new to android development and kotlin and I was wondering about the best courses for learning kotlin/android dev that you used and were satisfied with, and the courses that completely cover every topic needed to find a job as a developer, etc. I started the one that Google had made in Udacity, but it seems to be too old. I would be glad if you recommended me some new, good quality courses! Thanks;)

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

    Android IDE on Android OS: AIDE vs. JStudio

    Posted: 25 Mar 2021 12:05 PM PDT

    I'm somewhat torn here. AIDE seems to bill itself as the most fully-featured program available, but it comes at a price (15 USD just to save files, plus additional IAPs up to 60 USD). DroidScript also integrates with it to allow you to create an APK from a JS project.

    JStudio is free, has a higher Play Store rating, and no IAPs. However, it doesn't seem to have been updated since 2019, and I don't know how easy it is to, say, load libraries, or if it integrates with Github and stuff.

    Which one do you prefer, and why?

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

    No comments:

    Post a Comment