I am trying to show a notification from a BroadcastReceiver in my app, but creating the parent stack is giving me problems. The app just freezes (no e ...
I am trying to show a notification from a BroadcastReceiver in my app, but creating the parent stack is giving me problems. The app just freezes (no e ...
Let us say I have 4 activities, A,B,C and D. Activity A starts B, B starts C using Intent. A button click in Activity C starts D. Clicking back button ...
I am using FCM to show a fragment when user tap on the notification from the status bar. Current app flow is this MainActivity(Fragment A -> Fragm ...
I implemented night mode in my app.User can change the night mode settings in profile activity.The order of activities are as follows. TabbedActivity ...
Using Firebase Cloud Messaging, when the app is in the background and a message has arrived, the message goes to the system tray. When the user than c ...
When I click on Notification I should be navigated to Main2Activity and when I click on back button of Main2Activity I should be navigated back to Mai ...
I want to launch the DetailActivty when the user clicks a product from widget the code i use is this. to set the PendingIntentTemplete ProductWigetP ...
I am calling activities in the following order A>B>C>D, now I want to call Activity A and clear B and C but keep D. I am calling A with Inten ...
I have an activity A, declared in Manifest with android:launchMode="singleTask" and another activity B that has no further attributes. As far as I kn ...
I am receiving a notification and i want to create a custom back stack so the user can navigate through it.But as of now clicking on the notification ...
My app receives pushes and opens different activities according to the push type. I use TaskStackBuilder for a pending Intent to create a synthetic b ...
In my case I have an activity A that calls activity B using startActivityForResult. Activity B is a form that returns the data to activity A thus the ...
I'm setting an activity, Receiver, as the content intent for a notification. Inside Receiver Activity, I'm starting activities which are intended ...
I want to start the "ChatActivity" of my app by click Notification, and when i click back button, we will go to the "MainActivity" of my app. I write ...
What on earth is wrong with TaskStackBuilder that it uses this ugly transition when starting new activities.: This is basically standard code that ...
I have 2 Activities MainActivity - with 4 tabs ContactActivity I make two intents in TaskStackBuilder so the ContactActivitywill appear fir ...
Why do we use the TaskStackBuilder when creating a notification? I do not get the logic behind it. Can someone please explain. ...
I have problem with combination of TaskStackBuilder and distinct PendingIntents for notifications. Let me explain what it is about. I have an IntentS ...
I'm using Android L transitions passing an ActivityOptions bundle in intent. How can I reproduce the animation on the same intent with TaskStackBuilde ...
I have a notification that is shown to the user when some event occur in the activity. When I create the notification, I use TaskStackBuilder to ensur ...