Guest User

Untitled

a guest
Aug 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Starting multiple instances of the same Activity from Service
  2. <activity
  3. android:name=".ui.dialogs.MalfunctionActivity"
  4. android:theme="@style/MyDialog"
  5. android:launchMode="standard">
  6.  
  7. Intent displayMalf=new Intent(this, MalfunctionActivity.class);
  8. displayMalf.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  9. startActivity(displayMalf);
Add Comment
Please, Sign In to add comment