Skip to content

Instantly share code, notes, and snippets.

@px-amaac
Created June 2, 2013 18:36
Show Gist options
  • Save px-amaac/5694430 to your computer and use it in GitHub Desktop.
Save px-amaac/5694430 to your computer and use it in GitHub Desktop.
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;
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