Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- the problem was existing here i.e WebViewActivity.class
- problem:you trying to get the int value from string data.
- Intent intent = getIntent();
- int restu = intent.getIntExtra("restu", 0);
- solution :follow bellow statements.
- Intent intent = getIntent();
- String id = intent.getStringExtra("restu");
- //here, have to convert string to integer
- int restu = Integer.parseInt(id);
Add Comment
Please, Sign In to add comment