Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b.setOnClickListener(new OnClickListener() {
- public void onClick(View arg0) {
- Log.d("DEBUGTAG", "Trololololol");
- // Place code to handle Button-Click here.
- Intent i = new Intent(MobScredActivity.this,
- SelectPersonActivity.class); /*
- * Send intent to the OS to
- * make * it aware that we
- * want to start *
- * MySecondActivity as a
- * SubActivity.
- */
- Bundle b = new Bundle();
- b.putString(amount, "moi");
- i.putExtras(b);
- startActivityForResult(i, 0x1337);
- }
- });
Add Comment
Please, Sign In to add comment