• Breaking News

    Tuesday, February 4, 2020

    Android Dev - Karumi Android 2020 development stack

    Android Dev - Karumi Android 2020 development stack


    Karumi Android 2020 development stack

    Posted: 04 Feb 2020 04:25 AM PST

    Developers have earned over $80 billion in total from the Google Play Store

    Posted: 04 Feb 2020 07:05 AM PST

    Hiroshi Lockheimer, SVP at Google, has confirmed on Twitter that to date, developers have earned over $80 billion in total from the Google Play Store globally, excluding the Chinese market

    https://www.xda-developers.com/developers-earned-over-80-billion-total-play-store/

    This means that Google made $34 billion in the same period. Considering that the earnings are proportional in these 12 years, Google has earned almost 2.9 billion dollars every year from developers' applications.

    This proves that they have the operating margin to have a sufficient number of people, with experience and good skills, to manage account bans. They have no excuse when they leave most of the ban management to bots and only intervene when a case becomes of public interest.

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

    WorkManager 2.3.0 READ_PHONE_STATE?

    Posted: 04 Feb 2020 06:47 AM PST

    As stated in the title, we've got feedback from the user that our app is requesting READ_PHONE_STATE permission. After some digging, since I was a hundred percent sure that I do not request that permission and I never had it there, I've found that the READ_PHONE_STATE & FOREGROUND_SERVICE was added by WorkManager 2.3.0

    from manifest-merger-blame-report.txt

    32-->[androidx.work:work-runtime:2.3.0] /xxxx.gradle/caches/transforms-2/files-2.1/a236565121c4ade6e3e55f27ed115ca9/work-runtime-2.3.0/AndroidManifest.xml:27:22-78 33 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 33-->[androidx.work:work-runtime:2.3.0] /xxxx/.gradle/caches/transforms-2/files-2.1/a236565121c4ade6e3e55f27ed115ca9/work-runtime-2.3.0/AndroidManifest.xml:28:5-77 33-->[androidx.work:work-runtime:2.3.0] /xxxx/.gradle/caches/transforms-2/files-2.1/a236565121c4ade6e3e55f27ed115ca9/work-runtime-2.3.0/AndroidManifest.xml:28:22-74 34 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 35 36 <application 36-->/xxxx/app/src/main/AndroidManifest.xml:23:5-338:19 

    Does anybody have any clue why is the workManager adding it? We have a problem explain it to a user because I'm myself clueless.

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

    2020 Java Technology Report

    Posted: 04 Feb 2020 01:23 AM PST

    What android studio plugins do you use to help coding a bit faster?

    Posted: 04 Feb 2020 04:31 AM PST

    Examples for multi-module apps with one module per feature

    Posted: 04 Feb 2020 01:24 AM PST

    Recently, I have often read about apps with multiple modules. Often in the context of decreasing build times but also when it came to better collaboration and clean(er) code.

    What are examples of apps that incorporate this multi-module structure, preferrably open source? I'd like to learn more about how to do that on scale.

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

    Material Components 1.1.0 stable version released

    Posted: 03 Feb 2020 10:15 AM PST

    How to create good looking ui?

    Posted: 04 Feb 2020 07:17 AM PST

    Hi guys i am new to Android development , i am good at the coding stuff but the ui i create are very ugly. Any tips or some Android features i can make use of to make a beautiful ui?

    submitted by /u/PIKa-kNIGHT
    [link] [comments]

    SQLITE with Room MVVM obtaining rowids

    Posted: 04 Feb 2020 08:41 AM PST

    Rather than reformat all this again I think its better to link to the stack overflow question with everything nicely formatted.

    https://stackoverflow.com/questions/60056024/sqlite-mvvm-return-obtain-rowid-in-activity

    TLDR: How do i edit my current code to obtain the long rowid after an insert into the SQLITE db so that I can store this rowid in a variable on the activity/fragment level which can e passed with intent.putExtra between activities?

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

    Android Trends in 2020

    Posted: 04 Feb 2020 08:00 AM PST

    Testing like a pro: tips & tricks to improve Android mobile game testing

    Posted: 04 Feb 2020 04:09 AM PST

    Two separate photos from dual camera

    Posted: 04 Feb 2020 07:07 AM PST

    Hi, I am a computer vision researcher

    Is it possible in Android on a device with the dual front camera to get pictures from each camera separately?

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

    Is it safe to store a Firebase user as a member of a class or inject it from a DI module.

    Posted: 04 Feb 2020 07:04 AM PST

    How do you guys usually store easy easy access to all the data stored from the current firebase user. Or should that just be called from the firebase instance everytime you need it.

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

    Answer to : How structure new apps with the hope of moving to Jetpack Compose later?

    Posted: 04 Feb 2020 02:56 AM PST

    Following messages are taken from Kotlin Slack Compose Channel which are made by Adam Powell ( Tech Lead on Jetpack Compose and Android UI toolkit )

    Compose itself is aiming for being agnostic to app architecture, you can bring your own. Jetpack as a whole will undoubtedly end up adapting and updating the various architecture components libraries as one opinion on things

    Source

    as to the higher level question of how to get ready for it, lean into observable data and one-way data flows. Views don't own sources of truth, they are reflections of the app's sources of truth. State should be pushed into views when that state changes, and events from views should signal the app's higher layers to take action on that state.

    Source

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

    Is it possible to implement Multiple gestures or tranistions on a same view in MotionScene of a MotionLayout?

    Posted: 03 Feb 2020 11:25 PM PST

    Here is the thing that I'm trying to do:

    https://stackoverflow.com/questions/60040018/android-motionlayout-how-to-handle-both-click-and-swipe-events-on-same-view-v

    I need this for my app, can someone please tell me if it's possible to do it with motion layout, or should I find alternative solution? If so can you give me suggestions.

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

    GC overhead limit exceeded

    Posted: 04 Feb 2020 05:21 AM PST

    Recently I have assigned to a project that is already started and published on the playstore and from time to time while working on it an exception arise when I build the application:

    e: java.lang.OutOfMemoryError: GC overhead limit exceeded

    before saying google it, I have already googled it and fixed it. But now I want to know why this happens for this project specifically?

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

    How can i make an APP like this?

    Posted: 04 Feb 2020 05:16 AM PST

    Hello guys, first of all sorry my bad English.

    My coding knowledge is very limited and i need your help.

    I would like to make an iOS / Android app that allows to the customer choose and buy a Service Plan,then allow them to send me private coordinates with Google Maps to go personally (physically) and offer the service,there's any company that offers a app maker with this purchase system?

    Thanks in advance guys!

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

    Do you usually construct ViewModelProvider by using Activity or Fragment?

    Posted: 04 Feb 2020 04:49 AM PST

    It is common to have a (or multiple) Fragment(s) within single Activity.

    I was wondering, usually, when you construct ViewModelProvider within a Fragment, do you pass in Activity, or Fragment into ViewModelProvider's constructor?

    I was wondering, for the following 2 code snippets, which is the recommended way?

    Use Fragment when constructing ViewModelProvider

    public class MyFragment extends Fragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final ViewModelProvider viewModelProvider = new ViewModelProvider(this); tabInfoViewModel = viewModelProvider.get(TabInfoViewModel.class); } 

    Use Activity when constructing ViewModelProvider

    public class MyFragment extends Fragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final ViewModelProvider viewModelProvider = new ViewModelProvider(getActivity()); tabInfoViewModel = viewModelProvider.get(TabInfoViewModel.class); } 

    Both code are workable. But, which is the "more correct" way?

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

    Any devs from Austin, TX here?

    Posted: 04 Feb 2020 04:04 AM PST

    My fiancée got a good job in Austin so we get to relocate early March. How's the market for Android there? I lived in Austin in 2013, but I was not programming then. Also curious to see how much the city has changed.

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

    Kotlin Annotations

    Posted: 03 Feb 2020 12:49 PM PST

    A No-BS Localization Strategy For Your App

    Posted: 04 Feb 2020 05:48 AM PST

    Users and passwordless authentication

    Posted: 03 Feb 2020 07:36 PM PST

    I'm looking at firebases passwordless authentication. At a glance it seems pretty cool to have a seamless sign up process where every account is verified.

    Has anyone here implemented this feature yet?
    I'm curious to understand the reaction from your users. Most people are used to a username/password when signing up to a new service. Does only having an email with an activation link confuse them?

    I'm yet to see major companies take up this approach and was wondering if there was a reason for the lack of adoption?

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

    My friend's 2 games suspended and 1 is in good standing since 2010, should I buy that from him?

    Posted: 04 Feb 2020 03:21 AM PST

    My friend recently published two more games with addition to one previous game. His two new games are suspended for violating a policy. He's thinking to sell his remaining game, which I'm very much interested in. I will buy with proper google's given method of transferring apps from one console account to another.

    Now, my question is that if it is safe to buy game from my account? His 2 suspensions will impact my account or not?

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

    Will Google allow my app?

    Posted: 03 Feb 2020 05:47 PM PST

    I'm interested in making "another" chat app for android phones.

    Lately there seem to be a new rule that Google has implement is that new app will go through a validation process by a human. They will reject if the app doesn't bring anything new to the store. So I'm concern that my app won't be allowed into the store.

    It's really just another chat app to start out with. Eventually I will be adding more features to it.

    • What do you guys / gals think? Do you think Google will allow my app be on the store?

    • If not, are there any thing I can do on my part to let Google know that the first version will be very bare bone chat app. But in following versions, more features will be added?

    Thanks.

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

    No comments:

    Post a Comment