Have you declared your second activity in manifest? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com
On Fri, Jan 7, 2011 at 4:26 PM, sharad kumar <[email protected]> wrote: > Hi, > I'm facing a problem with the Intent Null Pointer Exception > firstly i have Started first activity then second activity when i want > to come back to the second activity it's give the Null Pointer > Exception ...... > My First activity is > > Intent screenIntent = new Intent(Main.this, TabHome.class); > screenIntent.setFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK); > startActivity(screenIntent); > ................................................ > Second is > Intent screencall = new Intent(ScreenAV.this, TabHome.class); > screencall.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(screencall); > finish(); > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

