Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private final int CODE2 = 1001;
- // Go to the other Activity
- Intent intent = new Intent();
- intent.putExtra("photoId", "8022360748");
- intent.putExtra("Tag", tag);
- intent.setClassName("com.flickrgallery",
- "com.flickrgallery.SetFlickrPhotoTag");
- startActivityForResult(intent, CODE2);
- @Override
- protected void onActivityResult(int requestCode, int resultCode, Intent data) {
- super.onActivityResult(requestCode, resultCode, data);
- switch (requestCode) {
- case CODE2:
- break;
- }
- }
Add Comment
Please, Sign In to add comment