I have an app that's currently being beta tested by around 400 helpful souls. For 399 of these it's working 100% perfectly. For 1 it's not. (he has the same version of CupCake everyone else has, he has the same version of code everyone else has)
In the onCreate for my main activity I launch (via 'startActivityForResult(...)') a setup activity if necessary. This is all per the official documentation, and even takes advantage of the "if the calling activity has not yet been displayed, it will be deferred until the new activity returns in order to avoid screen flickering" (very nice, by the way). As I say, on 399/400 phones (mostly G1's) this works perfectly according to spec. Mr 400 gets told the app exited unexpectedly - every time. I did some testing, and was able to get the problem to happen to me ONCE (ever) - the stack-trace showed me that the 'startActivityForResult(...)' method failed with an 'ActivityNotFoundException'. This was on the emulator, which was running a bit slow after a tiring day. The activity in question *is* present, and has worked every time I have called it except once. My question is: Is there any reason the runtime would suddenly decide to ignore an activity? Is there some strange whackiness that would cause the PackageManager to have difficulty with the manifest? (I only ask this because I have other strange problems with the Installer not recognizing the app label/icon) Originally, the Activity in question was being launched by an Intent that used an intentfilter in the manifest. After reading a comment by Diane H I changed it to launch using the class instead (still waiting on results of that) Anyone have any ideas? Doug --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

