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
You can use something like this:
new Handler().postDelayed(new Runnable() { @Override public void run() { Intent i=new Intent(SearxhJobs.this,JobsTypes.class); startActivity(i); } }, 5000);
Here it waits upto 5 seconds to launch activity.
Hope it helps