• Breaking News

    Thursday, December 3, 2020

    Android Dev - Android emulator on Apple M1 seems performant (https://issuetracker.google.com/issues/173766929)

    Android Dev - Android emulator on Apple M1 seems performant (https://issuetracker.google.com/issues/173766929)


    Android emulator on Apple M1 seems performant (https://issuetracker.google.com/issues/173766929)

    Posted: 03 Dec 2020 07:42 AM PST

    App Fuel – Get design inspiration from compilation of user flows & screens from successful apps

    Posted: 03 Dec 2020 03:24 AM PST

    Jetpack Compose for Desktop Milestone 2

    Posted: 03 Dec 2020 11:10 AM PST

    How do you deal with offline first app data sync?

    Posted: 03 Dec 2020 04:18 AM PST

    I have an offline first app and I'm now looking out for my users to have their data synced somewhere, but I'm not very well versed on the subject.

    What do you use and why? Are you happy with it?

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

    How Grab is Blazing Through the Super App Bazel Migration

    Posted: 03 Dec 2020 08:22 AM PST

    Android Studio Arctic Fox Canary 2 available

    Posted: 03 Dec 2020 10:04 AM PST

    Migrating from Dagger to Hilt — Is it worth it?

    Posted: 03 Dec 2020 12:25 AM PST

    Introducing Belay: Robust Error-Handling for Kotlin and Android

    Posted: 03 Dec 2020 09:09 AM PST

    I've built an open-sourced app that monitors offline restaurants on Wolt, and notifies you when they're back online

    Posted: 03 Dec 2020 08:55 AM PST

    Hi all, I wanted to share an open-sourced app I just published.

    Sometimes restaurants on Wolt go offline (probably because they can't handle new orders temporarily). So instead of manually refreshing until they go back online, the app monitors it in the background, and send a notification when you can order again.

    The source is available here.
    You can download it here.

    Tech-stack:

    • Kotlin
    • Single-activity architecture
    • MVI
    • Multi module architecture
    • Jetpack Navigation Component
    • RxJava2
    • Coroutines
    • Foreground Services
    • Koin
    • SQLDelight
    • ViewBinding
    submitted by /u/grivos
    [link] [comments]

    Can't get Google Maps to work on Android Studio emulator

    Posted: 03 Dec 2020 02:49 AM PST

    Hi there. I am trying to follow a Flutter development tutorial, but I can't seem to get Google Maps to work. I am using the Pixel 3a emulator, which has play store enabled. I even tried just launching the Google Maps app on the emulator to no avail, which tells me it has nothing to do with my program.

    The Google Maps app does launch, but it only displays the controls, with a grey background where the app should be.

    I have the Google Play services SDK Tool installed, yet I can't use the Google play app either, it tells me there is a problem communicating with Google servers.

    Any help would be greatly appreciated.

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

    My new blog post about migrating existing Dagger project to Hilt

    Posted: 02 Dec 2020 10:42 PM PST

    Jintin/ClipAdapter Scalable Adapter which can easily bind to any kind of Data and ViewHolder.

    Posted: 03 Dec 2020 06:34 AM PST

    Implementing interfaces vs anonymous objects

    Posted: 03 Dec 2020 04:46 AM PST

    Lately I've been working with some code base the extensively does something like this (In Views, Activities, Fragments, whatever)

    class MyView( private val context: Context ) : FrameLayout(context), View.OnClickListener, Whatever.OnWhateverListener, MoreListeners { something.onClick(this) somethingElse.registerListener(this) whatever.addWhatever(this) } 

    Instead of something like:

    class MyView( private val context: Context ) : FrameLayout(context) { something.onClick(object: Whatever.OnWhateverListener() { //override blah blah }) // Or maybe even something.onClick(this::onWhateverListener) } 

    I hope you understand what I am saying.

    My question is, is there any reason why I would want to go with the approach above? What am I missing?

    I personally find it very hard to navigate through the code when it's written in the top way, since clicking Ctrl/Cmd + B on it does not navigate to the method of what is happening. And if there is no reason why one way is superior to the other in any way, I would want to suggest the idea of going with the approach below to make it easier for all of us.

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

    App Data Loss after System Security Upgrade

    Posted: 03 Dec 2020 07:53 AM PST

    Samsung Galaxy S10e Android 10

    I have an app that uses Hawk (SharedPreferences) for settings storage. We have an activation process that saves the URL of the server based on attributes of a link opened by SMS or email.

    I just received a report from a user that after an Android security update, their app was suddenly unactivated (shared prefs was wiped?).

    Does anyone know how this could happen? It seems unlikely to me, and I can't find any similar behaviour.

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

    How to optimize background retrieval of location

    Posted: 03 Dec 2020 11:30 AM PST

    Hey guys i am working on a safety app which can retrieve location and share it with the family member if they wanted so I was looking for library but ended up creating one but now i want to optimize the battery usage as for now it drains almost 2% battery every 30 min approx

    what i am using now

    updating the location every 50 seconds which drains 2%

    Currently added sensor manager which will send the data if there is a location difference of 1 meter and movement from sensor .

    Is there any other way to improve this?? Drop your idea in the comments

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

    Lottie Toggles Android

    Posted: 03 Dec 2020 03:50 AM PST

    Hello dear Android Devs.

    I hope you are safe and well. I've recently developed an Android library for creative customisable toggles. You can design whatever style of Toggle in Adobe After Effects and make it interactive and alive with the help of this library.

    The library uses Lottie for Android by Airbnb to render the design animation of the toggles.

    Check out the Github Repo: https://github.com/CoderVishalSehgal/lottie-toggles

    Here is the demo app incase you want to try it,

    https://play.google.com/store/apps/details?id=dev.vishalsehgal.lottietoggles.sample

    Feedback and suggestions are most welcome, Hope you'll like it.

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

    Mocking ViewModel for Espresso tests

    Posted: 03 Dec 2020 01:22 AM PST

    Mocking ViewModel for Espresso tests

    Hey buddies!

    I decided that it's time to automate some tests, and I wanted to start using Espresso. I was following few tutorials, but I am not able to make it work in my app because of my architecture.

    My app is following MVVM architecture, and I am using Hilt for dependency injection. My idea is to mock (using Mockk) the ViewModel to be able to control the flows and the data, but I am not getting how to do it, and when I run the test, the real ViewModel is being called.

    This is an example of how I instantiate my ViewModel in my fragment.

    Anybody could help me with it? I would be super thankful!

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

    Could anyone share numbers about admob video rewards cpc rates and ctr?

    Posted: 03 Dec 2020 10:46 AM PST

    I would really appreciate it if anyone could share numbers on admob video rewards cpc rates and ctr. We are building an app based on this type of ads and need to come up with some numbers first to see the profitability of the idea.

    I know these numbers are not the holy grial because rates change per country, niche, etc. but would be something to start with.

    Thanks in advance!

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

    Play Store Publishing Confusion

    Posted: 03 Dec 2020 10:16 AM PST

    I've recently joined an Android project for app that was recently removed from the Play Store.

    The app hadn't been providing users with a prominent disclosure regarding how their data was being stored and used by my clients. A very fair reason for removal from the store.

    My confusion however came about when I tried to push an update that resolved this issue.

    Instead of pushing the application to the Release track I decided to submit to the Open Testing track first. If tested and approved by a few stakeholders, I'd then promote to the full release track.

    After pushing the app was swiftly rejected:

    "...As we previously confirmed that your app (Production Track Version Code: OMITTED) is uploading OMITTED to information without a prominent disclosure."

    Should the app that is being submitted to a different track be getting rejected?

    I thought the prominent disclosure didn't have enough information so the test was changed and yet again another rejection.

    I recently upped the version number and resubmitted to the release track and it's been approved - but I don't understand why.

    Can someone please explain this to me?

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

    Android Studio 4.2 Beta - is Jetpack Compose preview disabled?

    Posted: 02 Dec 2020 10:57 PM PST

    So I just upgraded to AS 4.2 Beta today, and on opening it, I can't find the Jetpack Compose preview window, which on the Canary version just appeared whenever it was relevant.

    Can anyone confirm whether or not the Compose preview is accessible in 4.2 Beta?

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

    How does a small independent mobile game developer get analytics data?

    Posted: 03 Dec 2020 09:20 AM PST

    So I am in the process of build some android games in unity for android/ios. I dont know how to get any good app data on competitors and the market. Apptopia costs 2k a month and others are in that range as well. I mean I am willing to pay for it but I cant afford that much. I need to know what's trending based on countries (for localization) and I could use a lot of other statistics to help me pick games and target audiences outside the western world. Is there any app analytics company that is cheaper?

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

    Where is the Android Emulator changelog?

    Posted: 03 Dec 2020 04:58 AM PST

    Earlier the changes could be found on https://androidstudio.googleblog.com/2020/09/emulator-3013-canary.html but now I can't find "whats new in updated version of android emulator".

    Where do I get this info? I update the emulator only if it has something important for me.

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

    Database inspector slows down in app queries

    Posted: 03 Dec 2020 03:42 AM PST

    Does anyone else experience a slow down in app when querying data and having the Android Studio's database inspector attached to the process at the same time? It slows down in the hundreds of times. A query that should take 4 ms or less takes 300 to 500 ms. This happens even if I disconnect the device from usb, and it resumes to normal only when I close and restart the app. It is very noticeable. This happens in the emulator as well.

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

    cross promotion question

    Posted: 03 Dec 2020 01:58 AM PST

    Hi, what is the best way to do cross promotion?

    Do I put a link in the menu to my play store profile page or set up a gallery in the game for players to pick?

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

    No comments:

    Post a Comment