I have an Android app that, when opened directly from the store, force closes every single time. When opening through the usual means, it opens just fine. There were some old bugs related to this, but they were supposed to have been fixed in 1.6.x. I'm running 1.8.2.
Is anyone else seeing this? My Google Fu hasn't turned up much which leads me to believe that I may be doing something wrong, but I can't imagine what. Any idea what might be going on?
When you say "force close", do you mean you're seeing the message "restart required"?
If so, see below. If that's not the issue, I apologize.
On Android, if a user installs your application and clicks the "open" button on the install dialog, your app will launch, and an alert dialog will pop up, saying "An application restart is required".
The android market app doesn't launch applications the same way as the home screen (Android bug 5277). Therefore, Android sees it as two different invocations of the app and you'll have multiple copies of your app running if you open it right after install, press home, and then launch the app again from the home screen.
Titanium's developers built in the restart dialog to guard against this possibility. But to the user, it does look like an error has occurred in your app, and this is the user's first experience with your app. Not good. In Titanium 2.0 you have some tools to deal with it.
Think you can help? Login to answer this question!