chetan deol
,
Ranch Hand
Mar 05, 2009 21:51:59
Hi all , i am getting error on following programs , while shifting from one activity to other i means from one screen to other.
Monu Tripathi
,
Rancher
Mar 05, 2009 22:20:33
What is the error? Can you paste the exception you are getting?
Fred Grott
,
Ranch Hand
Mar 05, 2009 22:34:33
Your first xml frag has some errors..
chetan deol
,
Ranch Hand
Mar 05, 2009 22:48:10
This is the log when error is thrown and i am unable to shift from one screen to another.Do you have any sample code.Emulator forces it to close the application
D/KeyguardViewMediator( 51): pokeWakelock(5000)
I/Process ( 159): Sending signal. PID: 159 SIG: 9
I/ActivityManager( 51): Process com.android.databse (pid 159) has died.
D/dalvikvm( 51): GC freed 3830 objects / 326568 bytes in 181ms
D/dalvikvm( 91): GC freed 318 objects / 17752 bytes in 79ms
D/dalvikvm( 51): GC freed 2083 objects / 161456 bytes in 118ms
Imran Mohd
,
Ranch Hand
Mar 05, 2009 23:29:30
1.First Activity
2. Second Activity
3.AndroidManifest.xml
Monu Tripathi
,
Rancher
Mar 06, 2009 00:28:41
As already pointed out by Fred, tags in your first XML are in error. They miss certain attributes.
To start with, you can compare tags common in both the layout XMLs...
This parrot is no more. It has ceased to be. Now it's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com