Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- R.id.buildingOneButt:
- //Building One button pressed on buildmenu.xml
- String urlOne = "uri"
- Intent buildingOne = new Intent(Intent.ACTION_VIEW);
- buildingOne.setData(Uri.parse(urlOne));
- GoHome();
- startActivity(buildingOne);
- public void GoHome()
- {
- Intent intent= new Intent(this, NFCwmcActivity.class);
- intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
- startActivity(intent);
- }
Add Comment
Please, Sign In to add comment