Try reading the documentation for the method you are using... It might help:
http://developer.android.com/reference/android/app/Activity.html#startActivityForResult%28android.content.Intent,%20int%29
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, S
On Wednesday, December 23, 2009 6:35:25 AM UTC-8, Lance Nanek wrote:
>
> Changing the launch mode fixed it.
>
Sorry to necro an old thread and maybe you won't even see this, but I'm
having a similar problem... changing the launch mode *HOW* ?
Mike
--
You received this message because
The action or category (or data or mime type) in the launching intent
doesn't matter at all for what will happen with the result.
When you are in your second activity, you can try "adb shell dumpsys
activity" to see the current activity stacks (they are the first thing
printed; there is a lot more
I have problem too while attempting to return a result from my child
activity. From the logs it appears that my sub-activity does execute
setResult() and finish(). However, it still fails to execute
onActivityResult in the main (calling) activity.
--
Could you post your exact configuration from your AndroidManifest for
the activities that you are calling from and returning a result from?
The reason I ask is that I am struggling with a couple of activities
in my app. One should be calling the other using
StartActivityForResult but I am getting
Yeah I just found this out myself and came to post. Thanks for the
added input!
On Dec 23, 6:35 am, Lance Nanek wrote:
> I've seen onActivityResult get called immediately once before as well.
> The activity getting started by startActivityForResult had launchMode
> set to singleTask in the manife
I've seen onActivityResult get called immediately once before as well.
The activity getting started by startActivityForResult had launchMode
set to singleTask in the manifest. There was a message in the logs
from the ActivityManager saying:
"Activity is launching as a new task, so cancelling activi
This may happen because, in onCreate() on subActivity, are you putting
any finish() call.
> if (data.equals(null)) { alert("returned null"); }
You can't check like this. You can check in this way,
if(data == null);
Nithin
On Dec 23, 6:35 pm, ryan wrote:
> Hello,
>
> Im trying to do a bas
8 matches
Mail list logo