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. Tanya: download APK langsung di handset

Dear ALL,

Mohon bantuan:

Saya terima kiriman file (attachment) splash**.APK sebesar 665KB.
Waktu saya tekan tombol Preview muncul error :
***  ***
Parse Error
There is a problem parsing the package
***  ***
Kenapa ya ?
kalau mau di-copy saja langsung ke SD card, harus diletakkan di folder apa ?


Pertanyaan berikutnya:
saya coba baca PDB files menggunakan eReader.
File terbaca walaupun isinya tidak terbaca sempurna.
Masalahnya adalah mengapa saya tidak bisa download langsung PDB file
dari website/email.
Kalau tidak salah errornya adalah : *Format file tidak dikenali***
Akhirnya di-copy langsung ke SD Card via Card Reader.

Saya coba juga pakai Aldiko yang katanya bisa baca PDB file.
Bagaimana caranya agar Aldiko mau membaca PDB file yang ada di folder eReader ?

Terima kasih


Bambang

-- 
--------------
"Indonesian Android Community [id-android]" 

2. Galerry nexus

Bros,
Saya baru perhatikan di nexus, klo kita baru foto foto, ternyata waktu buka
gallery, foto2 nya ngga ada di gallery, tapi nanti bbrp lama akan ada di
gallery, waktu itu dapet notification gallery br selesai di update.
Nyangkut dimana ya?
Ngga bisa instan gitu?

Salam,

Lucky Sebastian
@ google n1

-- 
--------------
"Indonesian Android Community [id-android]" 

3. extra space/padding around imageview?

4. Orientation change crash in tab activity with list activity.

5. avcrp & motorola ht820

6. getIntExtra only returns default value

7. dhcpcd - issue