I'am trying to start a child Activity with startActivity(ForResult)
when the main Activity starts. It doesn't work. If the child Activity
used Theme.Dialog it doesn't show up at all. With a normal Theme it's
displayed, but when I close the top child activity, a RuntimeException
is thrown:

ActivityThread.performResumeActivity(IBinder, boolean) line: 2851
ActivityThread.handleResumeActivity(IBinder, boolean, boolean) line:
2866
BinderProxy(ActivityThread$H).handleMessage(Message) line: 1819
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4203
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 791
ZygoteInit.main(String[]) line: 549
NativeStart.main(String[]) line: not available [native method]

There is no problem calling startActivity(ForResult) on a click or
menu selection. Should I use any intent flags?

-- 
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

Reply via email to