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. just wti


*grauk2 pala*
sent from jave....just normal jave....

-----Original Message-----
From: "Dolly Surya" <id-andr...@wisaka.or.id>
Date: Thu, 22 Apr 2010 08:42:49 
To: <id-android@googlegroups.com>
Subject: [id-android] just wti

Sumpah, best depth colour I ever see... Amoled nya keren.... 


Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!

"Indonesian Android Community [id-android]" 

2. Dynamically extend the height of the ListView row background image?


Just to make it more clear, I want to have some text displayed at the
bottom of the image. An example of the view that I want is as below.

|  "Certain content goes here"                      |
|  "some text"                                                |

What I want is that image should extend itself if the content is more
than the height of the image. For this reason, I have used .9.png
image but no success. Also, the text at the bottom should always be at
the bottom.

First I was using "?android:attr/listPreferredItemHeight" this to set
the height of listview row. When I tried with wrap_content then the
height is increasing according to the contents but then the content
that I wish to have at the bottom don't remain at the bottom.

Can someone now let me know what may be the issue?



3. Flash support on android

4. MediaPlayer stops playing when streaming over 3G on the Nexus One

5. Question about Button and SurfaceView

6. Missing map!

7. Latitude lg error?