Resuming last activity on icon press to set result

142
September 09, 2017, at 06:09 AM

I am trying to re-open last activity on icon press without finishing any activity as I have to set result after some action.

Below is the scenario - A = Splash , B = Activity1 , C = Activity 2.

I want to launch C on icon press.

On Start
A ---->B---->C (Here home icon pressed) On Click Icon It runs A but I want C . Can any one solve this?

Launching C-

Intent urlIntent = new Intent(this,C.class); 
urlIntent.putExtra("stt",Str);
startActivityForResult(urlIntent,REQUEST_CODE);
READ ALSO
Is Wifi p2p support Api level 15

Is Wifi p2p support Api level 15

I am using Wifi p2p but facing some problem from 2 days I have two device with Api level 15 and 23 so problem is that Wifi p2p not working with Api level 15 but It is working fine with 23 In Api 15 I am not getting any error but my broadcast event is not firing...

287
Doing a Query in Android for Firebase inside push keys

Doing a Query in Android for Firebase inside push keys

i have a FirebaseRecyclerAdapter that was working before i structured my firebase, now i am not sure how to get the same info with the newly structure json

169
How to use warpPerspective metod on image and show it on camera preview with Android openCV?

How to use warpPerspective metod on image and show it on camera preview with Android openCV?

I've been building an Android app with openCV that finds an intended paper pattern using HomographyAnd on camera preview show an image over the paper, like where the rectangle is on this picture: found paper

243