开发者_开发技巧
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not g
开发者_开发技巧
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
I can't use getIntent()..
What else do I need to use getIntent(), What I want to do, is retrieve data from the parent activity. and I have put some values,
Do I need to declare Intent?
getIntent.getExtras().getString("CallerClass");
getIntent().getExtras().getString("CallerClass");
You were missing a couple of parenthesis.
You code should work, assuming you're calling it from an activity class.
精彩评论