• Breaking News

    Thursday, November 14, 2019

    Android Dev - app published in play store but status is processing update

    Android Dev - app published in play store but status is processing update


    app published in play store but status is processing update

    Posted: 14 Nov 2019 05:50 AM PST

    been 2 days now and status is the same. i tried to change some country distribution to try and update it but the status is the same.

    is this normal? probably because of the number of active installs? or this has no bearing?

    do i have to publish a new version?

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

    Just worked through camera app in documentation, horrible experience. What else should I look out for?

    Posted: 14 Nov 2019 04:09 AM PST

    I'm just starting android development and going through the docs. The beginning, fragments, activities, and navigation are all great documentation and I was able to follow along with no problem. When I hit cameras though it was a fucking nightmare but I pulled through thanks to Stackoverflow. Which other sections are poorly documented and I should watch out for? Thanks.

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

    onStart before onNewIntent on Android 10?

    Posted: 13 Nov 2019 09:30 PM PST

    Recently, I found onStart before onNewIntent on Android 10, it's totally different on previous Android versions. Unfortunately, there is no document or release notes about this. Does anyone know anything about this issue? Thanks.

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

    Unexpected issues which completely broke the functionality of your app

    Posted: 14 Nov 2019 06:00 AM PST

    So yesterday I faced one problem, adding a library which had maxSdkVersion="18" for a permission like below:

     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" /> 

    completely broke the functionality of my app, and even if my app had been granted permission through App Settings (The checkbox which said "Storage" in app permission was checked), the checkSelfPermission always returned me false even if the permission was granted. And this was completely unexpected from my side as I didn't think some library would stupidly add maxSdkVersion in their Manifest.

    I fixed it by adding tools:remove="android:maxSdkVersion" to my own Manifest.xml like below.

    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:remove="android:maxSdkVersion" /> 

    So, what are such issues that you faced which broke the functionality of your app in an unexpected way? What did you do to fix it? (The app compiled and installed in normal manner, but misbehaved like crazy while running).

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

    I'm looking for a cradle to grave APK development guide or series (preferably using Android Studio). Any ideas?

    Posted: 14 Nov 2019 08:07 AM PST

    I took a look at the sidebar and didn't see any Wiki or FAQ, so hopefully I didn't miss something that's already answered somewhere else.

    But as the title states, I'm looking for a video series or guide that walks through creating an android application from start to finish. I have a basic understanding of C++ and Visual Studio, but almost no experience with Android. Thank you!

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

    Is it ok to publish apps from a remote virtual pc (microsoft's azure solutions)

    Posted: 13 Nov 2019 09:23 PM PST

    I mean would I be banned?
    Would Google find it suspicious?

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

    How to learn android for beginner 2019 ?

    Posted: 14 Nov 2019 07:37 AM PST

    I learnt OOP in Java. I want to learn to build android app. I have gone around to find roadmap for beginner on Internet. Some source said Udacity would be good to kick start, but some said it is outdated. I m getting a bit confused now.

    What is the roadmap for me ? Which source i should learn ?

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

    What are some good whiteboard question for potential junior/senior candidates ?

    Posted: 13 Nov 2019 10:30 PM PST

    I've done a few interviews in the past month, and most of my questions are just quiz type stuff that aren't really related to the daily work we do, nor can I remember the answers myself without looking them up. (eg. Difference between onStart and onCreate / Difference between Parcelable and Serializeable).

    I'd love to do some whiteboard stuff where I can keep the conversation flowing instead of just hammering the candidates with questions.

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

    flow-preferences: Kotlin Flow version of rx-preferences -- Coroutines support for SharedPreferences

    Posted: 13 Nov 2019 09:00 AM PST

    Is there a replacement for Transformations.map ?

    Posted: 13 Nov 2019 11:11 PM PST

    I remember in one of Google IO video, they mentioned that they are going to change Transformations.map so we can call LiveData.map directly. Does anyone know how to do this?

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

    Arrow v0.10.3 is now available | 47 Degrees

    Posted: 13 Nov 2019 02:32 PM PST

    Android Studio doesn't show build errors on Flutter project

    Posted: 14 Nov 2019 03:28 AM PST

    Hey, new to Android Studio here. I have a flutter project and, when it builds successfully, it all runs fine on both a virtual device and an actual phone. The problem is, when I break the code and the build fails then I can't see the actual compiler errors anywhere.

    I've followed 5 different threads but they all point to things in the UI that I can't find when the flutter project is open, such as the logcat or build windows. See following pictures for differences:

    Flutter project: https://postimg.cc/PNfVnC0S

    Other project: https://postimg.cc/rD4QNxtw

    I've even added "--stacktrace --info" to the compiler's command line options in settings, as per a thread's suggestion, but no luck.

    Any ideas? Thanks!

    submitted by /u/-w1n5t0n
    [link] [comments]

    Everything They Don’t Tell You About Instant Apps and Dynamic Features #1 — Problems with your Dagger setup

    Posted: 13 Nov 2019 12:41 PM PST

    How do I make decision on coroutines vs Rx?

    Posted: 13 Nov 2019 08:16 AM PST

    What's advantage I'll be gaining if I choose Coroutine??

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

    Would this be possible:

    Posted: 13 Nov 2019 09:31 AM PST

    I am not an android developer, but I have experience in some APIs, etc. I know the Android API only allows one process to access the microphone and/or camera at a time. I was wondering, conceptually speaking, if it would be theoretically possible to create a basic .apk that just hogs the mic and cam while not in use, to prevent listening from 3rd party apps. Whether this would be useful or not is irrelevant right now: would it work without destroying battery usage?

    PS: this post does not violate rule 2 because it is not a specific development question, but a broad, conceptual one. Also, this is not easily searchable.

    Thoughts?

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

    WRITE_EXTERNAL_STORAGE stopped working suddenly

    Posted: 13 Nov 2019 09:58 AM PST

    HOLY SHIT GUYS!

    I FOUND THE CULPRIT!

    THE CULPRIT WAS VUNGLE SDK WHICH HAS

     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" /> 

    I WENT THROUGH THE MERGED MANIFEST, AND FOUND OUT THIS TAG, AND THEN WENT HERE https://developer.android.com/guide/topics/manifest/uses-permission-element#maxSdk AND FOUND OUT THAT THE SYSTEM WON'T GRANT THE WRITE_EXTERNAL_STORAGE PERMISSION IF THIS TAG WAS SET. AND THIS TAG IS SET BY THEIR SDK AUTOMATICALLY (SO IT DOESN'T SHOW UP IN NORMAL MANIFEST.XML)

    THIS THING WASTED 6 FUCKING HOURS OF MY LIFE.

    *\Original Post below\***

    So this weird thing happened today.

    I have these two READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions in my app. And everything worked fine.

    But today I wanted to change my code and make it so it'll be compulsory to grant these permissions (because I'm receiving crashes on very few devices which have not granted the permission).

    So I tried adding Dexter library in the app, but then after adding it it always invoked onPermissionDenied() from the library, even if I had granted the permission before.

    I tried everything I could for like hour or so, and then just though f it, and then removed the library.

    At this point, I didn't make a single change to my other code, I only added one Activity, which would make user compulsorily grant the Storage permission, and if he's successful it'll launch Intent to the main activity.

    But when I changed back the code, it started giving me the same error in my code and every time says "File permission not granted"

    Here's the code with which I check if the permission is granted and it literally returns me false every single time! Even if I have the permission granted from Settings!

    public boolean isStoragePermissionGranted() { if (Build.VERSION.SDK_INT >= 23) { if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) { Log.v("BaseActivity", "Permission is granted"); return true; } else { Log.v("BaseActivity", "Storage Permission is revoked"); ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE}, 1); return false; } } else { //permission is automatically granted on sdk<23 upon installation Log.v("BaseActivity", "Permission is granted"); return true; } 

    }

    Edit: I've formatted the above code properly, but for some reason it messes up the formatting after saving it.

    I'm just blank at this point as to what changed in the code/app which makes it so this thing and two other libraries for managing permissions always return false.

    Anyone has any idea? I've been dealing with this for like 3-4 hours now.

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

    what should i go now ?

    Posted: 13 Nov 2019 07:26 PM PST

    so i am about to finish an android course in Java, yeah i know no one is learning Java but i still wanted to do it because i came from a Java background so wanted to implement in android too, anyway now i want to do another review on the topics i learned so i can solidify my understanding about them more, but i thought if i am going to revise i should do it in Kotlin and learn Kotlin on the way, do you guys think this is a good idea ? , and another thing should i learn Kotlin independently and then implement in android development or just learn it in android ?

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

    [Beginner help] I want to make an app where I will filter things from a certain subreddit, but I have no clue how to do it. Can someone just briefly explain it to me?

    Posted: 13 Nov 2019 03:14 PM PST

    How to use Custom Skin in Android Emulator AVD

    Posted: 13 Nov 2019 10:25 AM PST

    How to: user draw on top of an example image

    Posted: 13 Nov 2019 04:05 PM PST

    Hello everyone.

    I'm developing an app to help my teacher on her japanese classes and I'd like to add a screen where there is a faded Kanji on the background and the user must draw on top of it, such as this app: https://appadvice.com/app/kanji-star/741516886.

    Another app that has this functionality is "Kanji Study".

    Actually, it's not like the user is drawing freely on top of the example image, but the strokes appear with the user "drawing" on top of it.

    Can anybody help me achieve that? Thank you.

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

    Question about Google's metadata policy change

    Posted: 13 Nov 2019 09:56 AM PST

    Google's new metadata policy talks about vertical word blocks.

    Does that mean that if my app supports multiple devices, I can't say:

    Supports:

    DLNA

    Chromecast

    Roku

    Fire TV

    Is that not allowed anymore?

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

    I'm struggeling to get a viewpager inside a fragment

    Posted: 13 Nov 2019 09:15 AM PST

    Kotlin

    So I have an app with a bottom nav with 3 fragements in it. I'm trying to get a viewpager inside one of those 3, but I cant find anywhere on how to do that. I had no problems with getting a viewpager inside main activity tho. Im a bit new to android and kotlin development. Any help is appreciated :D

    Solved: https://gist.github.com/Zhuinden/c643f03a023a9cbe83fff6c75c948d3b

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

    No comments:

    Post a Comment