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
control.
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. Any one tried uisng mediaplayer example ,I ma unable to play video file from local directory

I was unable to play the streaming .mp4 file as well.

Curiously, the MediaPlayer example doesn't even seem capable of
streaming an mp4 file out of the box as the url is sets for the
MediaPlayer is just ":

path = "http://....";

I updated it to point to my file here:

path = "http://www.pocketjourney.com/audio.mp4";

Has anyone been able to stream an .mp4 file?  It's supposed to be
supported but I can't find any proof that this claim is true.

Anthony
--~--~---------~--~----~------------~-------~--~----~

2. How does a user input a text on HVGA portrait mode with no keyboard, in the actual device.

For the actual device, how does a user input a text on HVGA portrait
mode with no keyboard?

--~--~---------~--~----~------------~-------~--~----~

3. Reset of the emulator?

4. How does a user input a text on HVGA portrait mode with no keyboard, in the actual device.

5. Android Colosseum Interview of webtide

6. RadioButton size

7. how to change Menu show up as VERTICAL?