Random Crash in App

by emylyano3 » Thu, 03 Sep 2009 01:39:01 GMT

Sponsored Links
 Hello, im developing a SMS unlocker. Its an app that lets you run a
game as a demo and give the option of unlocking it via sms messaging.
The problem is that im having a chash that occurs unexpectedly and i
suspect that it can be because of the way that im managing the flow
Instead of using different activities for the different interfaces,
and switch between activities each time the user choose an option, I
use just one activity and i set
different layouts.

e.g. main menu -> unlock game, play demo, help, about. If the user
chooses about, a new activity is not created, intead of that i set an
about_layout to
the activity that was already running.
When the user (in about section) chooses back option, i set the
main_menu_layout again.

Im having this problem in the emulator as well as in the phone (HTC
G1 (dream))

What I want to know is if the phone (or emulator) is having any
problem by setting different layouts at any time.

The exact error that Im getting is:
The application XXXX (process com.package.android.XXXX) has stopped
unexpectedly. Please try again.


Other Threads

1. Testing telephony signal strength changes in emulator?

I was wondering if there is a way to manipulate the emulator to
simulate telephony signal strength changes. I would like to test code
that uses TelephonyManager.listen() with LISTEN_SIGNAL_STRENGTHS.



2. Http proxy settings not working in Android Emulator 2.1

It looks like I can't reproduce this on Linux and OS X, I guess you're all
on Windows, right ?


3. compatible screen sizes on droid G1

4. Admob vs. Mobclix vs. Quattro

5. Vibrator.vibrate() makes the application crash

6. Conversion to Dalvik format failed - error

7. deleteOnExit when and how does an Android JVM exit