Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyThread extends Thread {
- Context mContext;
- public MyThread(Context ctx) {
- super("MyThreadName");
- mContext = ctx;
- }
- @Override
- public void run() {
- //....
- mContext.startActivity(...;)
- //...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement