Category "android-activity"

Duplicate Classes to handle app flow (with explicit intents)

I have three different options in my app that allow the user through several of the same classes but at different times, ie 1) Sharing with friend: MainClass

Activity Conditional Flow

I have a movie ticket booking app. My initial activity is the login activity where there is a "continue as guest" option in case he doesn't want to sign in or r

Communication between BroadcastReceiver and Activity - android

I have a broadcast receiver in my app which is fired every time the user gets an incoming call. Now, when it happens, I need the broadcast receiver to invoke a

how to call function from other fragment class

I'm trying to call this function public void arrowClick() is inside my main fragment public class CounterMain extends Fragment implements View.OnClickListen

How do I maintain the Immersive Mode in Dialogs?

How do I maintain the new Immersive Mode when my activities display a custom Dialog? I am using the code below to maintain the Immersive Mode in Dialogs, but w

When using Immersive Mode with dialogs, nav. bar reappears and resizes my layout

I'm using Immersive Mode in my app when it's running on Android 4.4+. (http://developer.android.com/training/system-ui/immersive.html) My activity indeed shows

Error while adding Galaxy Store review broadcast

I publish my apps and games on Galaxy Store some apps are here in this LINK Using official (document)[https://developer.samsung.com/galaxy-store/customer-review

In Activity.onCreate(), why does Intent.getExtras() sometimes return null?

This was probably a false alarm, see my own answer. Original question below: An activity has a button that takes the user to another activity. To launch the ne

Full managing of fragments flow in Android

I have a special flow of fragments in my app, so I need to be able to switch to any fragment, while keeping fragments in memory whenever possible (so if it's ti

Android gallery with caption

I have been following the gallery example here: http://developer.android.com/resources/tutorials/views/hello-gallery.html and adding a text to show up under the

Android Game Activity Flow - Back to Start

I am looking for the best way in which you would setup navigation in an Android game; a best practice for Android Game Activity Navigation. I have the following