Any tips on how to always get a push message to your app in O? It does not need to be delivered "on time", it just have to be processed. My goal is to make and simple external triggered downloader app...

I have a Tabbed Activity: a user can swipe to the right or to the left to change the screens. At some point I want to record an audio and while it is being recorder the user is not supposed to change the screens.

Question: How to restrict a user from changing screens (swiping) in ViewPager?

I tried to figure out how to do that using ViewPager API but I didn't manage to find a proper way (there are hundreds or may be even thousand methods in ViewPager none of which is likely to do what I want).

I have a project in android studio. I was going to sign it and send it to google play.

At first build I just selected the v2 signing method as it was the recommended. When uploading that apk, google play complains that the jar is not signed.

Therefore I want to change signing method to both v1 and v2.

Problem: I can not find how to change to both v1 and v2 as the option is not available anymore in the Generate Signed Apk-dialog anymore and I and not find any setting for it and can not find help on the internet.

PS This feels a bit stupid as it should be something simple and I think there are some help on the internet but I just can not find it.

When I create a new project and it starts with a Render Problem I can solve it by downgrading the implementation inside the file build.gradle(Module: app)

The issue itself is that this Render Problem occurs everytime I create a new project. Is that a setting that needs to be changed on the IDE to build the project using a compatible version? (e.g. com.android.support:appcompat-v7:27.1.1

The default version of every project starts with implementation 'com.android.support:appcompat-v7:28.0.0-rc01'

So I just started with Android studio and i am following the Android NanoDegree from Udacity and in one of the lessons i am supposed to create a Blank activity with fragment which does not exist any more i understand that the Empty activity is the same as the Blank activity i have searched and all i could find was old questions and the answer was to choose an empty activity then check the add fragment option but i can't find the fragment option at all

Can any one tell me what i should do to match the required activity from the lesson ... it has MainActivity.java and fragment_main.xml and activitymain.xml and a place holder fragment in the mainactivity.java file