Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- confirmPhoto.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- try{
- bitmapResult.recycle();
- bitmapResult=null;
- }
- catch(Exception e)
- {
- e.printStackTrace();
- }
- Intent i = new Intent(getBaseContext(),
- SendPhoto.class);
- startActivity(i);
- finish();
- }
- });
- backTakePhoto.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- try{
- bitmapResult.recycle();
- bitmapResult=null;
- }
- catch(Exception e)
- {
- e.printStackTrace();
- }
- Intent i = new Intent(getBaseContext(), TakePhoto.class);
- startActivity(i);
- finish();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment