• Breaking News

    [Android][timeline][#f39c12]

    Thursday, June 2, 2022

    ViMusic: A YouTube Music player made with Jetpack Compose Android Dev

    ViMusic: A YouTube Music player made with Jetpack Compose Android Dev


    ViMusic: A YouTube Music player made with Jetpack Compose

    Posted: 02 Jun 2022 10:27 AM PDT

    How do you design offline capability with sync with the backend?

    Posted: 02 Jun 2022 12:46 PM PDT

    So I'm working on this task, where I have a screen with 2 API calls, one to retrieve data (GET) and one to create data (POST). I have to design this task with offline capability in mind with the possibility to sync the data with the backend server. The POST rest also returns the data with conflicts resolved (the objects have the "updated_at" field with the timestamp when it was last updated.

    It pops out to my mind that I have to use Room most likely together with WorkManager (the update can happen in the background once every 15 seconds) but it's unclear to me how do I implement the use cases/repositories... if no network do I save to the local database or do I always save locally and let the work manager do the sync?

    Really looking forward to how did others implemented this

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

    ViewModel: One-off event antipatterns

    Posted: 02 Jun 2022 12:49 AM PDT

    What is the best way to unpack, and resign apk's so that they install?

    Posted: 02 Jun 2022 09:11 PM PDT

    I've been trying to simply be able to recompile an APK after decompiling it, I haven't even made a single change, just running it through my steps, and testing just simply being able to install the APK I generate and nothing has worked. APK Editor Studio is trash, and doesn't work in my experience lol

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

    Do I have chances to get a Junior Android Developer position?

    Posted: 02 Jun 2022 01:34 PM PDT

    Hello, I am 16 y.o. student from Ukraine. I really want to know what chances do I have to get my first job in this field with this technology stack: - Kotlin - Java - Room - Retrofit - Hilt - Coroutines - Firebase - MVVM and design patterns

    What other technologies I should learn to get the job?

    I'd really be grateful for any advices

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

    Does Google test apps that are in "Internal Testing", manually or automatically?

    Posted: 02 Jun 2022 01:12 PM PDT

    I am porting an app to Android. I released it to an empty "Internal Testing" group on Google Play. Immediately after, I started seeing a half dozen devices pressing buttons in the app. I reached out and Google said that it is not them, that no Google Employee or automated test has downloaded my app, and that the analytics I'm seeing are incorrect and "cannot be verified".

    I have not given anybody access to my app. I have not pushed the code to github, or released it anywhere outside of the play store.

    The analytics aren't coming out of thin air. They're not fake, despite what Google is trying to convince me of. I see the same data both on my Unity3D Dashboard and in Google Analytics. I see the device types (Pixel 3 and SHARP/SH-01L).

    What's going on? My best explanation is that Google runs automated tests and clicks random buttons, since that's what my analytics seem to show. Anybody have experience with anything similar? Do your analytics show that Google tests your apps even while they're in Internal Testing? Did somebody reverse-engineer a

    Additional info:

    • Managed publishing is off
    • The app is listed as "Unreviewed"
    • The app is only in internal testing, not in
    • Google has told me the app has "0 downloads"
    • The app name contains "(unreviewed)" in it
    • The test tracks are as follows: Open testing: Inactive, Closed testing: Inactive, Internal testing: Active
    submitted by /u/artoonie
    [link] [comments]

    Which Operating System you use to develop android apps?

    Posted: 02 Jun 2022 12:10 AM PDT

    Just curious to know what android devs use as their daily driver in production!

    View Poll

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

    Google rejected my new game and it's clearly a mistake

    Posted: 02 Jun 2022 06:20 AM PDT

    I uploaded my new game to play store 2 days ago, today I got a violation email from google that I violated their ads content policy, but my game doesn't even have ads, it's not monetized at all, what should I tell them in the appeal?

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

    Alternative to binding SpeechRecognizer without com.google.android.googlequicksearchbox

    Posted: 02 Jun 2022 07:59 AM PDT

    I am trying to use the Google SpeechRecognizer for a custom keyboard but due to my specific use case I do not have access to com.google.android.googlequicksearchbox, the app must be disabled. From looking around there seems to be alternatives to accessing the speech engine. Just not sure exactly how to do that. Any advice would be great.

    Ideally this wouldn't involve using a different speech recognition engine. Is there a way to add the quicksearchbox dependency to my app and still have it disabled on the device or maybe a different way to bind to the speech recognition engine?

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

    Testing Kotlin Flows on Coroutines 1.6

    Posted: 02 Jun 2022 04:41 AM PDT

    Hi! I wrote my first little article and wanted to share here in case it helps someone. It's about testing (hot) Kotlin Flows and a breaking change introduced through the new testing APIs in Coroutines 1.6 that could see people scratch their heads when their tests are failing.
    Check it out here: Testing Kotlin Flows on Coroutines 1.6
    Thanks for reading if you do and happy to hear feedback or questions!

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

    Does gradle have a specific path for release.apk that lives in the same place in all projects?

    Posted: 02 Jun 2022 01:16 PM PDT

    Creating a workflow for a new repo where pretty much everything is getting ported over from a reference repo.. Theres a section in env that has

    RELEASE_APK_PATH: app/build/outputs/apk/normal/release/app-normal-release.apk 

    This is the only resource I can find on app/build/outputs/apk/normal/release/app-normal-release.apk:
    https://gonative.io/docs/building-android-from-source

    From what I'm understanding it seems like app/build/outputs/apk/normal/release/app-normal-release.apk is the location of the Release APK file location for all gradle files? Am I wrong? Does anyone have a better resource they can share with me?

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

    Single Activity Arch with bottom nav bar

    Posted: 02 Jun 2022 07:08 AM PDT

    How would you go about implementing a single activity architecture where you have a main flow that contains a bottom navigation bar and a separate onboarding flow with no bottom nav bar?

    My current thoughts on possibilities are:

    • Two separate fragment containers inside the activity that contain each flow with the onboarding fragment container overlapping the main one and the nav bar. Then hiding and showing the onboarding fragment container depending on the state.
    • One container and programatically hiding the nav bar when needed
    • ditch single arch flow and create a separate activity for onboarding that contains its own fragment container with no bottom nav bar and then showing the onboarding activity on top of the main one.

    I'm leaning towards the first option but I'm curious what others have done or what others think.

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

    Is it possible generate a new 'upload-keystore.jks' file given keystore password?

    Posted: 02 Jun 2022 08:15 AM PDT

    Hello guys! I'm studying how I can publish my app to Play Store. How it's not recommended put keystore file on source control, is possible generate a new keystore file given the password that I used to create it?

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

    Google associate dev certificate!

    Posted: 02 Jun 2022 11:27 AM PDT

    i couldn't decide on my own, I've been hesitating so much as a college dropout wanna pursue Android Development for my career should I take this certificate to cover my education section in my resume or should i focus on my project section

    help me decide

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

    So I’ve been looking for a mobile game i played when I was on the play store and I can’t remember the full name all I remember is the word ended with humbra it was a puzzle Platformer. From what I remember there was a dark blob escaping the void and transforming to a scarecrow. can someone help me

    Posted: 02 Jun 2022 06:25 PM PDT

    Different in versions

    Posted: 02 Jun 2022 10:51 AM PDT

    I downloaded from github a course's codes so I can learn more efficient but these codes are 4 years ago so is there a difference from these version and current android version ...what is the difference between the current version and the past ones....is it only dependencies or also the way of writing code and concepts?

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

    Profiling - the Good Kind

    Posted: 02 Jun 2022 06:59 AM PDT

    How to modify an app settings in the Play Console?

    Posted: 02 Jun 2022 05:53 AM PDT

    Hi,

    I created an app in the Play Console, and told Google it would be a paid app. I've eventually changed my mind, and will only display advertisings. Unfortunately, I can't change the app settings. Google now requires me to create a merchant account, and won't let me change the app details (privacy description, tags, etc.).

    My only option seems to delete the app and start all over again, which is is bothersome. Is there a way to simply edit the app settings in the Play Console?

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

    How to know the best color for status bar as according to the action bar color

    Posted: 02 Jun 2022 01:47 AM PDT

    ok I have changed the action bar color and status bar color to the same but it doesn't looks good and I want to get a darker color for the toolbar to make it look like how a normal status bar looks like

    Here is an example of what im trying to say

    https://i.stack.imgur.com/oWtVW.jpg

    how can i achieve this, I'm using #63461c for the action bar rn, what color should I go for the status bar

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

    Mockito and non-debuggable testBuildTypes

    Posted: 02 Jun 2022 07:01 AM PDT

    For those using a "release" testBuildType for integration tests, what does your mocking setup look like? My app is stuck on Mockito 2.23.4, because higher (> 1.8.12) versions of Byte Buddy required beyond that point [do not play nicely with non-debuggable APKs](https://github.com/mockito/mockito/issues/2302). Solutions I've considered so far:

    • Stay with this version of Mockito forever. Unfortunately, this has caused some friction as my team has integrated newer tools like MockK
    • Mark our testBuildType as debuggable = true. This satisfies Byte Buddy but reduces the elegance of our tested APK exactly matching our production one
    • Migrate integration tests to another mocking library

    Happy to hear your thoughts, especially if I'm missing something obvious!

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

    Hi developers community today my appeal for google console has accepted after few days from appeal but my google adsence and admob still closed so what i can to do

    Posted: 02 Jun 2022 12:49 AM PDT

    Issues publishing Android TV app after rejection

    Posted: 02 Jun 2022 01:35 AM PDT

    I uploaded an app for both mobile and TV on the Play Store. The TV version was rejected because of a problem with the banner, so I uploaded a new version and unchecked/re-checked the Android TV tickbox under "Advanced settings -> Version types".

    I got the e-mail saying "Your update is live in the store", but the console keeps showing the "Update rejected" message and my app is not showing in the ATV search. Moreover Play Store keeps saying my app is not compatible with TV devices.

    Any help would be appreciated. Thank you!

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

    Phone Lock Using android Studio

    Posted: 02 Jun 2022 04:54 AM PDT

    I want to create a Phone lock (when i open my android device it will ask for password),I have searched everywere but no help.

    i would be glad if someone can help

    submitted by /u/Agitated-Tune-2052
    [link] [comments]

    [Kotlin] Abstraction with class vs Interface/abstract class

    Posted: 02 Jun 2022 04:34 AM PDT

    Come from iOS (Swift) background, lately we start to create abstraction using struct instead of protocol. So it basically looks like this

    swift struct ProductClient { let search: (String) async throws -> [Product] }

    And we will provide default implementation like

    ```swift
    extension ProductClient { static let live = Self( search: { keyword in // Real networking API to fetch product list return products } ) }

    final class SearchProductViewModel { init(client: ProductClient = .live) {} } ```

    We can add more implementation as we want. It's easy to replace the implementation on production or test code, we don't need to create MockProductClient or using 3rd party library since we can just create it as a local variable inside the test function.

    swift func testSearchProductShouldSucceed() { let client = ProductClient( search: { return [ /*List of product*/ ] // or throw any exception to simulate failure. } ) let viewModel = SearchProductViewModel(client: client) // Testing code }

    What everyone think if we try to adopt that on android development using Kotlin?

    ```kotlin class ProductClient( val search: suspend (String) -> List<Product> ) { companion object // So we can create extension for static ? }

    val ProductClient.Companion.live: ProductClient get() { let retrofitApi = ... return ProductClient( search = { keyword -> val products = // Use retrofit to fetch product list return products } ) }

    class SearchProductViewModel( client: ProductClient = ProductClient.live ) ```

    So just like in Swift we can replace the implementation of search function with any result that we want or even throw an Exception without the needs to create Mock class or using Mockito for example.

    I am curious on knowing what everyone opinion on this approach? Thank you.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel