I have an application in which I’m receiving a sms containing his location.On receiving sms it calls another activity to start and passes that location to that activity to plot it on the map.Before calling the second activity it shows a toast like notification on the screen but somehoe due to calling second activity that toast doesn’t come up.My question is how can we delay the calling of second activity from this activity ?
I have an application in which I’m receiving a sms containing his location.On receiving
Share
You can use something like this:
Here it waits upto 5 seconds to launch activity.
Hope it helps