Guest User

Untitled

a guest
Jan 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Intent intent = new Intent(MyBrowser.this, Home.class);
  2. Bundle b = new Bundle();
  3. b.putSerializable("bundleobj", orderMap);
  4. intent.putExtras(b);
  5. startActivity(intent);
  6.  
  7. setContentView(R.layout.home);
  8. try {
  9. Bundle bn = new Bundle();
  10. bn = getIntent().getExtras();
  11. LinkedHashMap<Integer, Bitmap> hashmap = new LinkedHashMap<Integer, Bitmap>();
  12. hashmap = ( LinkedHashMap<Integer, Bitmap>) bn.getSerializable("bundleobj");
  13. } catch (Exception e) {
  14. // TODO: handle exception
  15. e.printStackTrace();
  16. }
Add Comment
Please, Sign In to add comment