Android developers blog
Saturday, 1 December 2012
How to start a Activity from Service in Android
How to start a Activity from Service in Android
within the service
Intent dialogIntent = new Intent(getBaseContext(), tone1.class);
dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getApplication().startActivity(dialogIntent);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment