Assuming test.test.Test is your activity, the code crashes inside
Test.onActivityResult at line 507 in Test.java.
> > 10-22 21:33:23.445: ERROR/AndroidRuntime(538): Caused by:
> > java.lang.NullPointerException
> > 10-22 21:33:23.445: ERROR/AndroidRuntime(538): at
> > test.test.Test.onActivi
If you are not wanting to return info to Activity A from Activity B, just
use startActivity() in Activity A instead of startActivityForResult().
If you use startActivityForResult() to launch Activity B from Activity A,
Activity A expects Activity B to send information back when it closes. You'd
If you are not passing any parameters back then Activity A will receive one
or more null values, hence causing an NPE. Try passing back RESULT_OK.
Thanks
On Sat, Oct 22, 2011 at 9:05 PM, ndiiie90 wrote:
> hmm not really..
>
> actually the error is only about when i press back button from
> acti
hmm not really..
actually the error is only about when i press back button from
activity B, it returns to activity A (where i implement the facebook
sdk) but the facebook sdk returns error about nullPointerException
since the startActivityForResult has no data for it parameters.
how can i solve th
It looks like you are starting Activity B with startActivityForResult. Are
you trying to receive some information back into Activity A from Activity B?
If not, you just want to use startActivity instead.
Steven
Studio LFP
http://www.studio-lfp.com
On Saturday, October 22, 2011 9:36:10 AM UTC-5
5 matches
Mail list logo