Created
June 2, 2013 18:36
-
-
Save px-amaac/5694430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case R.id.editdetails: | |
pP = gd.getData(); | |
pP.setStartStamp(); | |
//save data in case this is all the user does. | |
pP.savePass(pP, getSherlockActivity()); | |
Intent in = new Intent(getSherlockActivity(), Details.class);//create Park Car Activity | |
in.putExtra(MainActivity.PASS, pP); //add on the parking pass to the intent to park car. | |
startActivity(in); | |
break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle bundle = getIntent().getExtras(); | |
pP = (Pass) bundle.getSerializable(MainActivity.PASS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment