intent from dialog and back ?

by guruk » Sun, 31 May 2009 06:39:07 GMT

Sponsored Links
 Hi, i am in a dialog builded with AlertDialog.Builder

from there i call another activity with startActivity.

all fine..

JUST..when i press back in my new activity
i crash with "unable to resume activity".

i guess its because i call the new activity within a dialog..

but what can i do?? I just like to come back to the
activity that opened the dialog.

greets chris

-- so "a" opens a dialog "b" (implemented in "a")
"b" starts a new activity "c" with intent startActivity
when "c" close i like to come back to "a"


intent from dialog and back ?

by Mark Murphy » Sun, 31 May 2009 07:08:55 GMT


What does the stack trace tell you? You can get the Java stack trace via
adb logcat, DDMS, or the DDMS perspective in Eclipse.

Mark Murphy (a Commons Guy)  | 

Need Android talent? Ask on HADO! 


Sponsored Links

Other Threads

1. Importing java apps into the Android

Are there any guidelines anywhere on how to import/compile and deploy
existing Java (standard
edition - 1.5+ ) apps into the Android platform? Or would generating a
project from scratch and
importing the classes incrementally into the project from the existing
project the best way?

Thanks again


2. Droid X Hands-on Review! | Droid X 鈥?Blog dedicated to Droid X News and Accessories!

Droid X ini bakalan the next Superphone dah.

|Android does

N1 vs. Droid X vs. HTC Evo 4G.
which is better?

This message was sent by via  Please
note that AddThis does not verify email addresses.

Make sharing easier with the AddThis Toolbar:

"Indonesian Android Community [id-android]"

3. nexus1

4. Update 2 --- Tentang AHA

5. And I was wondering what to do with my G1 now that I have an N1...

6. Droid X Hands-on Review! | Droid X 鈥? Blog dedicated to Droid X News and Accessories!

7. BConnect Tawarkan AHA