Technically it needs a "." here:

<activity android:name=".DGraphActivity"

                        ^
or the full package name.

On Friday, March 29, 2013 8:02:04 PM UTC, plnelson wrote:
>
> This question has (so far)  stumped them on Stack Overflow. . . . 
>
> I'm trying to launch an Activity which launches *perfectly fine* when its 
> launchMode is set to *singleInstance*. When I change it to *standard*nothing 
> happens; it never gets to onCreate (or onStart or onResume, or 
> anyplace in the target Activity - I've overridden all the lifycycle events 
> and set breakpoints)
>
> if (DGraphActivity.bitmap != null) {
>     Intent intent = new Intent(ctx, DGraphActivity.class);
>     intent.putExtra("Buttons", sButtonParam);
>     try {
>         ctx.startActivity(intent);
>     }
>     catch (Exception e)  {
>         Log.d("Commands", "failed to start DGraphActivity");   
>     }}   
>
> in the manifest . . . 
>
> <activity android:name="DGraphActivity"
>     android:screenOrientation="portrait"
>     android:launchMode="standard"></activity>
>
> I need the DGraphActivity launchMode to be *standard* because it will be 
> launching another activity and using onActivityResult to collect the 
> response and onActivityResult doesn't work with activites launched in 
> singleInstance launchMode. 
>
> I have lots of other Activities with *standard* launchMode that launch 
> perfectly well, I can't figure out what's different about this one. Thanks 
> in advance!
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to