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)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Need Android talent? Ask on HADO!  http://wiki.andmob.org/hado 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. ViewFlipper one at a time?

Can you use ViewFlipper to switch one view at a time. I know about
ViewSwitcher but that can only have two views at a time. I have more
than two views I want to switch between and I would like to define
things in a XML layout file.

Thanks

--~--~---------~--~----~------------~-------~--~----~

2. ViewFlipper

Can you use ViewFlipper to switch one view at a time. I know about
ViewSwitcher but that can only have two views at a time. I have more
than one view.

Thanks
--~--~---------~--~----~------------~-------~--~----~

3. ViewSwitch how to switch between views

4. About Network connection

5. Aver the air download and install application

6. Deploy from a webserver

7. Remove Names in Map