Guest User

Untitled

a guest
Dec 10th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. private final int CODE2 = 1001;
  2.  
  3. // Go to the other Activity
  4. Intent intent = new Intent();
  5. intent.putExtra("photoId", "8022360748");
  6. intent.putExtra("Tag", tag);
  7. intent.setClassName("com.flickrgallery",
  8.     "com.flickrgallery.SetFlickrPhotoTag");
  9. startActivityForResult(intent, CODE2);
  10.  
  11. @Override
  12. protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  13.         super.onActivityResult(requestCode, resultCode, data);
  14.  
  15.         switch (requestCode) {     
  16.         case CODE2:
  17.             break;
  18.         }
  19.  
  20. }
Add Comment
Please, Sign In to add comment