I've never seen this. If it fails to start, i get a logcat message and an exception is thrown (and you are catching that). Have you tried to set the Intent.FLAG_ACTIVITY_NEW_TASK flag when starting the activity?
On Friday, March 29, 2013 6:40:44 PM UTC-4, plnelson wrote: > > > > On Friday, March 29, 2013 5:57:46 PM UTC-4, Streets Of Boston wrote: >> >> Look at your logcat and see why your activity can't be started. Could be >> as simple as a typo in your manifest. > > > I only see things in LogCat about DGraphActivity when it *does* start > (ie., when its launchMode is "singleInstance"). Are you saying there > should be a message that it failed to start (or failed to be created)? I > run Logcat with no filters and in verbose mode so I think I'm seeing > everything there is. > > The manifest is exactly as it's shown - the *only* difference between the > successful case and the failing case is the launchMode, so if there was a > typo it would have to be unique to that line. Furthermore it only works > for singleInstance, it fails for standard, singleTop and singleTask, so if > there was a typo it would have to be in all three of those but not in the > singleInstance case. > > > RichardC wrote > Technically it needs a "." here: > > <activity android:name=".DGraphActivity" > > I'm skeptical. My program has about 20 Activities and none of them have > .'s in front of the name and I've written a lot of other Android programs > without .'s. And this works fine without the "." if I launch it in > singleInstance. From time to time I have heard people mention "."'s > in the Manifest so I don't know if that used to be a requirement in the > early days or what. Just for yucks I tried putting the "." in and it > didn't help. > -- -- 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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

