Related
Having a problem where the phone just locks up for about 2 minutes..pretty frequently. I have flashed all my different backups to make sure its not rom based. Even flashed new Tom's to make sure it wasn't just my backups. Flashed a dwang 1.6, did no tweaking, no new apps, only Tom and still happens 1.6, 2.1 does it on all of them. sometimes I lose my touch ability on the screen. All buttons will still be working, and I have to use the trackball. In recovery it freezes also sometimes...before and after wipe of 4 (no partitions).
Anyone got any ideas. I fear it may be hardware related.
-------------------------------------
mt3g
amon-ra latest recovery
different rom everyday
And if I push the end button and put it to sleep and then wake it back up my touch screen will work again 6 out of 10 times. It just happened so I'm about to post a logcat.
-------------------------------------
mt3g
amon-ra latest recovery
different rom everyday
logcat
I/NotificationService( 86): enqueueToast pkg=org.jtb.alogcat [email protected] duration=1
D/alogcat ( 4609): stopping ...
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 2001): GC freed 444 objects / 24400 bytes in 100ms
D/NetworkLocationProvider( 86): onCellLocationChanged [10199,7043524]
D/alogcat ( 4609): stopping ...
D/alogcat ( 4609): paused
D/dalvikvm( 2001): GC freed 79 objects / 3584 bytes in 111ms
D/NetworkLocationProvider( 86): onCellLocationChanged [10199,7043444]
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.CALL_BUTTON flg=0x10000000 cmp=com.android.contacts/.DialtactsActivity }
I/ActivityManager( 86): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=4634 uid=1000 gids={3002, 3001, 3003, 1015}
D/dalvikvm( 2001): GC freed 722 objects / 42248 bytes in 126ms
I/ActivityManager( 86): Start proc com.domobile.eraycn for broadcast com.domobile.eraycn/.ProcessWidget: pid=4641 uid=10037 gids={3003, 3002, 3001, 1015}
I/ActivityManager( 86): Process org.jtb.alogcat (pid 4609) has died.
I/ActivityManager( 86): Displayed activity com.android.contacts/.DialtactsActivity: 2133 ms (total 2133 ms)
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:%2B18056377243 cmp=com.android.phone/.PrivilegedOutgoingCallBroadcaster }
D/dalvikvm( 2001): threadid=39 wakeup: interrupted
D/PhoneApp( 129): pulse screen lock
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.CALL dat=tel:%2B18056377243 flg=0x10000000 cmp=com.android.phone/.InCallScreen (has extras) }
D/InCallScreen( 129): onNewIntent: intent=Intent { act=android.intent.action.CALL dat=tel:%2B18056377243 flg=0x10c00000 cmp=com.android.phone/.InCallScreen (has extras) }
D/InCallScreen( 129): internalResolveIntent: action=android.intent.action.CALL
I/AudioHardwareMSM72XX( 70): Routing audio to Handset
D/HTC Acoustic( 70): msm72xx_enable_audpp: 0x0000
D/InCallScreen( 129): onResume()...
D/PhoneApp( 129): disable keyguard
D/AudioHardwareMSM72XX( 70): setVoiceVolume(0.800000)
I/AudioHardwareMSM72XX( 70): Setting in-call volume to 4 (available range is 0 to 5)
D/InCallScreen( 129): - onResume: initial status = SUCCESS
D/InCallScreen( 129): syncWithPhoneState()...
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/dalvikvm( 86): GC freed 14978 objects / 908952 bytes in 213ms
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/CallNotifier( 129): stopRing()... (OFFHOOK state)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
I/AudioHardwareMSM72XX( 70): Routing audio to Speakerphone
D/HTC Acoustic( 70): msm72xx_enable_audpp: 0x0001
D/AudioHardwareMSM72XX( 70): setVoiceVolume(0.800000)
I/AudioHardwareMSM72XX( 70): Setting in-call volume to 4 (available range is 0 to 5)
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker true...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/CallNotifier( 129): DISCONNECT
D/CallNotifier( 129): - onDisconnect: cause = LOCAL, incoming = false, date = 1275684381674
D/CallNotifier( 129): stopRing()... (onDisconnect)
D/Ringer ( 129): stopRing()...
D/Ringer ( 129): - stopRing: null mRingHandler!
D/CallNotifier( 129): - onDisconnect: presentation=1
D/InCallScreen( 129): onDisconnect: outgoing, cause=LOCAL
W/AudioFlinger( 70): write blocked for 63 msecs
D/InCallScreen( 129): - delayedCleanupAfterDisconnect: phone is idle...
D/InCallScreen( 129): - delayedCleanupAfterDisconnect: finishing...
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.VIEW typ=vnd.android.cursor.dir/calls cmp=com.android.contacts/.DialtactsActivity }
D/InCallScreen( 129): finish()...
I/ActivityManager( 86): moveTaskToBack: 14
D/PhoneApp( 129): updateWakeState: callscreen true, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/InCallScreen( 129): onPause()...
D/PhoneApp( 129): re-enable keyguard
D/PhoneApp( 129): updateWakeState: callscreen false, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
D/InCallScreen( 129): - onStop: calling finish() to clear activity history...
D/InCallScreen( 129): finish()...
I/ActivityManager( 86): moveTaskToBack: 14
D/WindowManager( 86): I'm tired mEndcallBehavior=0x2
D/SurfaceFlinger( 86): About to give-up screen, flinger = 0x1a2f50
D/WifiService( 86): ACTION_SCREEN_OFF
D/WifiService( 86): setting ACTION_DEVICE_IDLE timer for 900000ms
D/KeyguardViewMediator( 86): wakeWhenReadyLocked(82)
D/KeyguardViewMediator( 86): handleWakeWhenReady(82)
D/KeyguardViewMediator( 86): pokeWakelock(5000)
D/WifiService( 86): ACTION_SCREEN_ON
D/SurfaceFlinger( 86): Screen about to return, flinger = 0x1a2f50
I/AudioHardwareMSM72XX( 70): Routing audio to Handset
D/HTC Acoustic( 70): msm72xx_enable_audpp: 0x0000
D/PhoneApp( 129): updateWakeState: callscreen false, dialer false, speaker false...
D/PhoneApp( 129): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false)
I/AudioHardwareMSM72XX( 70): Routing audio to Speakerphone
D/HTC Acoustic( 70): msm72xx_enable_audpp: 0x0001
D/KeyguardViewMediator( 86): pokeWakelock(5000)
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/.Launcher }
D/dalvikvm( 2001): threadid=41 wakeup: interrupted
D/dalvikvm( 2001): GC freed 11724 objects / 516800 bytes in 137ms
D/dalvikvm( 86): GC freed 11285 objects / 488968 bytes in 213ms
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.facebook.katana/.LoginActivity }
I/ActivityManager( 86): Start proc com.facebook.katana for activity com.facebook.katana/.LoginActivity: pid=4654 uid=10033 gids={3003, 1015}
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.UserValuesProvider: com.facebook.katana.provider.UserValuesProvider
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.NotificationsProvider: com.facebook.katana.provider.NotificationsProvider
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.PhotosProvider: com.facebook.katana.provider.PhotosProvider
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.UserStatusesProvider: com.facebook.katana.provider.UserStatusesProvider
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.FriendsProvider: com.facebook.katana.provider.FriendsProvider
I/ActivityThread( 4654): Publishing provider com.facebook.katana.provider.MailboxProvider: com.facebook.katana.provider.MailboxProvider
D/dalvikvm( 4654): GC freed 3760 objects / 257880 bytes in 102ms
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.VIEW cmp=com.facebook.katana/.HomeActivity }
I/ActivityManager( 86): Process com.domobile.eraycn (pid 4641) has died.
I/ActivityManager( 86): Displayed activity com.facebook.katana/.HomeActivity: 438 ms (total 26747 ms)
D/dalvikvm( 4654): GC freed 3402 objects / 264992 bytes in 93ms
D/dalvikvm( 4654): GC freed 393 objects / 93544 bytes in 84ms
D/dalvikvm( 4654): GC freed 1187 objects / 439808 bytes in 88ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 1995): GC freed 25 objects / 1112 bytes in 248ms
D/dalvikvm( 4654): GC freed 2023 objects / 360800 bytes in 89ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
I/ActivityManager( 86): Starting activity: Intent { cmp=com.facebook.katana/.StreamActivity (has extras) }
I/ActivityManager( 86): Displayed activity com.facebook.katana/.StreamActivity: 357 ms (total 357 ms)
D/dalvikvm( 4654): GC freed 3326 objects / 447624 bytes in 113ms
D/dalvikvm( 4654): GC freed 93 objects / 99296 bytes in 88ms
D/dalvikvm( 4654): GC freed 118 objects / 125720 bytes in 85ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 3303 objects / 795880 bytes in 97ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 963 objects / 252616 bytes in 101ms
I/ActivityManager( 86): Process com.android.settings (pid 4634) has died.
D/dalvikvm( 4654): GC freed 1027 objects / 335672 bytes in 94ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 1268 objects / 630688 bytes in 107ms
D/dalvikvm( 4654): GC freed 1337 objects / 634528 bytes in 96ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 1374 objects / 637632 bytes in 98ms
D/dalvikvm( 4654): GC freed 1075 objects / 438184 bytes in 113ms
D/dalvikvm( 4654): GC freed 953 objects / 516200 bytes in 96ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 1297 objects / 635800 bytes in 97ms
D/dalvikvm( 4654): GC freed 1494 objects / 363784 bytes in 107ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 2229 objects / 689784 bytes in 108ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
I/ActivityManager( 86): Starting activity: Intent { cmp=com.facebook.katana/.FeedbackActivity (has extras) }
I/ActivityManager( 86): Displayed activity com.facebook.katana/.FeedbackActivity: 352 ms (total 352 ms)
D/dalvikvm( 4654): GC freed 3737 objects / 734824 bytes in 104ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 3398 objects / 626288 bytes in 100ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 4365 objects / 485352 bytes in 107ms
I/ActivityManager( 86): Starting activity: Intent { cmp=com.facebook.katana/.FeedbackActivity (has extras) }
I/ActivityManager( 86): Displayed activity com.facebook.katana/.FeedbackActivity: 299 ms (total 299 ms)
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 4654): GC freed 6225 objects / 545920 bytes in 108ms
I/ActivityManager( 86): Stopping service: com.facebook.katana/.service.FacebookService
D/dalvikvm( 4654): GC freed 6143 objects / 609936 bytes in 131ms
D/dalvikvm( 4654): GC freed 1636 objects / 132584 bytes in 96ms
D/dalvikvm( 4654): GC freed 564 objects / 325904 bytes in 111ms
D/dalvikvm( 2001): GC freed 1188 objects / 76392 bytes in 117ms
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.quoord.tapatalkxda.activity/.ForumNavigationActivity }
I/ActivityManager( 86): Start proc com.quoord.tapatalkxda.activity for activity com.quoord.tapatalkxda.activity/.ForumNavigationActivity: pid=4691 uid=10039 gids={3003}
D/dalvikvm( 69): GC freed 295 objects / 11256 bytes in 247ms
D/AKMD ( 74): Compass OPEN
D/Sensors ( 86): sensors=00000001, real=00000001
D/dalvikvm( 69): GC freed 57 objects / 2528 bytes in 164ms
I/ActivityManager( 86): Process com.android.bugreport (pid 4623) has died.
I/ActivityThread( 4691): Publishing provider com.quoord.tapatalkxda.SuggestionProvider: com.quoord.tapatalkxda.adapter.SearchDirectoryProvider
D/dalvikvm( 69): GC freed 2 objects / 56 bytes in 122ms
I/WindowManager( 86): onOrientationChanged, rotation changed to 0
D/ ( 4691): unable to unlink '/data/data/com.quoord.tapatalkxda.activity/cache/session/remote-image-cache': No such file or directory (errno=2)
D/dalvikvm( 4691): GC freed 5351 objects / 318144 bytes in 101ms
V/yao123 ( 4691): activityID forum.xda-developers.com.chrisgto4:1275684538734
V/yao123 ( 4691): url http://forum.xda-developers.com/mobiquo/mobiquo.php
V/yao123 ( 4691): m_service not null
V/yao ( 4691): client create 1
V/yao ( 4691): client create 2
W/Settings( 4691): Setting http_proxy has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
W/InputManagerService( 86): Starting input on non-focused client [email protected] (uid=10039 pid=4691)
V/yao ( 4691): get_config
W/InputManagerService( 86): Client not active, ignoring focus gain of: [email protected]
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 6549 objects / 427176 bytes in 128ms
I/dalvikvm-heap( 4691): Grow heap (frag case) to 3.557MB for 87396-byte allocation
D/dalvikvm( 4691): GC freed 222 objects / 16728 bytes in 100ms
D/dalvikvm( 4691): GC freed 2 objects / 168 bytes in 104ms
I/dalvikvm-heap( 4691): Grow heap (frag case) to 3.625MB for 87396-byte allocation
D/TrackingPatternView( 86): width=320 textureWidth=120
D/TrackingPatternView( 86): width=320 textureWidth=120
D/dalvikvm( 4691): GC freed 0 objects / 0 bytes in 257ms
I/Resources( 4691): Loaded time zone names for en_US in 2686ms.
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
V/yao ( 4691): authorize_user
I/ActivityManager( 86): Process com.facebook.katana (pid 4654) has died.
D/dalvikvm( 2001): GC freed 541 objects / 26952 bytes in 996ms
V/yao ( 4691): baee64 length12
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 2578 objects / 370272 bytes in 104ms
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
D/ ( 4691): unable to unlink '/data/data/com.quoord.tapatalkxda.activity/cache/longterm/forum.xda-developers.com/getForum.cache_pic': No such file or directory (errno=2)
V/yao123 ( 4691): activityID forum.xda-developers.com.chrisgto4:1275684548527
V/yao123 ( 4691): url http://forum.xda-developers.com/mobiquo/mobiquo.php
V/yao123 ( 4691): m_service not null
V/yao ( 4691): client create 1
V/yao ( 4691): get_new_topic
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 1370 objects / 291040 bytes in 102ms
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
D/dalvikvm( 86): GC freed 14450 objects / 698136 bytes in 324ms
D/dalvikvm( 4691): GC freed 6205 objects / 483896 bytes in 99ms
V/yao123 ( 4691): activityID forum.xda-developers.com.chrisgto4:1275684578962
V/yao123 ( 4691): url http://forum.xda-developers.com/mobiquo/mobiquo.php
V/yao123 ( 4691): m_service not null
V/yao ( 4691): client create 1
V/bigforum( 4691): 1 1275684578963
V/yao ( 4691): get_forum
I/ActivityManager( 86): Displayed activity com.quoord.tapatalkxda.activity/.ForumNavigationActivity: 42108 ms (total 42108 ms)
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 703 objects / 41512 bytes in 97ms
D/dalvikvm( 4691): GC freed 9023 objects / 329312 bytes in 103ms
D/dalvikvm( 4691): GC freed 13666 objects / 476360 bytes in 126ms
D/dalvikvm( 4691): GC freed 15586 objects / 535200 bytes in 115ms
D/dalvikvm( 4691): GC freed 15398 objects / 529400 bytes in 121ms
I/WindowManager( 86): onOrientationChanged, rotation changed to 1
I/WindowManager( 86): Setting rotation to 1, animFlags=0
I/WindowManager( 86): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=3 orien=2 layout=18}
V/yao ( 4691): latest topic holder work
I/WindowManager( 86): onOrientationChanged, rotation changed to 0
I/WindowManager( 86): Setting rotation to 0, animFlags=0
I/WindowManager( 86): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=3 orien=1 layout=18}
V/yao ( 4691): latest topic holder work
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
V/yao ( 4691): latest topic holder work
V/yao ( 4691): latest topic holder work
D/StatusBar( 86): updateResources
D/StatusBar( 86): updateResources
I/WindowManager( 86): onOrientationChanged, rotation changed to 1
D/dalvikvm( 86): GC freed 4922 objects / 227744 bytes in 399ms
I/WindowManager( 86): Setting rotation to 1, animFlags=0
I/WindowManager( 86): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=3 orien=2 layout=18}
D/StatusBar( 86): updateResources
V/yao ( 4691): latest topic holder work
D/dalvikvm( 4691): GC freed 17782 objects / 872240 bytes in 145ms
D/dalvikvm( 86): GC freed 1622 objects / 67880 bytes in 280ms
D/dalvikvm( 4691): GC freed 17087 objects / 594616 bytes in 133ms
I/WindowManager( 86): onOrientationChanged, rotation changed to 0
I/WindowManager( 86): Setting rotation to 0, animFlags=0
I/WindowManager( 86): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=3 orien=1 layout=18}
D/StatusBar( 86): updateResources
V/yao ( 4691): latest topic holder work
V/yao ( 4691): latest topic holder work
V/yao ( 4691): latest topic holder work
D/dalvikvm( 4691): GC freed 16117 objects / 596504 bytes in 150ms
I/System.out( 4691): a message serializd into outbox
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 86): GC freed 1475 objects / 67016 bytes in 197ms
D/dalvikvm( 4691): GC freed 7375 objects / 294248 bytes in 125ms
D/dalvikvm( 4691): GC freed 112 objects / 5168 bytes in 116ms
I/dalvikvm-heap( 4691): Grow heap (frag case) to 4.666MB for 87396-byte allocation
D/dalvikvm( 4691): GC freed 0 objects / 0 bytes in 118ms
D/dalvikvm( 1332): GC freed 1942 objects / 127416 bytes in 193ms
D/dalvikvm( 4691): GC freed 1475 objects / 278896 bytes in 119ms
V/yao123 ( 4691): activityID forum.xda-developers.com.chrisgto4:1275684621219
V/yao123 ( 4691): url http://forum.xda-developers.com/mobiquo/mobiquo.php
V/yao123 ( 4691): m_service not null
V/yao ( 4691): client create 1
V/yao ( 4691): get_topic
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 1026 objects / 245400 bytes in 113ms
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
I/System.out( 4691): a message serializd into outbox
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/WindowManager( 86): I'm tired mEndcallBehavior=0x2
D/Sensors ( 86): sensors=00000000, real=00000000
D/PhoneWindow( 4691): couldn't save which view has focus because the focused view [email protected] has no id.
D/SurfaceFlinger( 86): About to give-up screen, flinger = 0x1a2f50
D/AKMD ( 74): Compass CLOSE
D/WifiService( 86): ACTION_SCREEN_OFF
D/WifiService( 86): setting ACTION_DEVICE_IDLE timer for 900000ms
D/KeyguardViewMediator( 86): wakeWhenReadyLocked(82)
D/KeyguardViewMediator( 86): handleWakeWhenReady(82)
D/KeyguardViewMediator( 86): pokeWakelock(5000)
D/WifiService( 86): ACTION_SCREEN_ON
D/SurfaceFlinger( 86): Screen about to return, flinger = 0x1a2f50
D/KeyguardViewMediator( 86): pokeWakelock(5000)
D/AKMD ( 74): Compass OPEN
D/Sensors ( 86): sensors=00000001, real=00000001
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
I/WindowManager( 86): onOrientationChanged, rotation changed to 0
D/dalvikvm( 4691): GC freed 16936 objects / 928528 bytes in 129ms
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
D/dalvikvm( 1995): GC freed 202 objects / 7144 bytes in 115ms
V/yao ( 4691): holder worked
D/dalvikvm( 4691): GC freed 2240 objects / 205544 bytes in 123ms
I/ActivityManager( 86): Starting activity: Intent { cmp=com.quoord.tapatalkxda.activity/.ThreadActivity (has extras) }
D/PhoneWindow( 4691): couldn't save which view has focus because the focused view [email protected] has no id.
I/ActivityManager( 86): Start proc com.quoord.tapatalkxda.thread for activity com.quoord.tapatalkxda.activity/.ThreadActivity: pid=4718 uid=10039 gids={3003}
D/dalvikvm( 4718): GC freed 5174 objects / 303880 bytes in 105ms
V/yao123 ( 4718): activityID forum.xda-developers.com.chrisgto4:1275684634533
V/yao123 ( 4718): url http://forum.xda-developers.com/
V/yao123 ( 4718): m_service not null
V/yao ( 4691): client create 1
W/System.err( 4718): java.io.FileNotFoundException: /data/data/com.quoord.tapatalkxda.activity/cache/session/forum.xda-developers.com/getThread.cache.695132
I/System.out( 4718): IUN
V/yao ( 4691): get_thread
I/ActivityManager( 86): Displayed activity com.quoord.tapatalkxda.activity/.ThreadActivity: 1461 ms (total 1461 ms)
I/ActivityManager( 86): Process android.process.media (pid 4242) has died.
V/yao ( 4691): request length
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
I/System.out( 4718): can not get cache dataa message serializd into outbox
W/System.err( 4718): java.net.MalformedURLException: Protocol not found:
W/System.err( 4718): at java.net.URL.<init>(URL.java:285)
W/System.err( 4718): at java.net.URL.<init>(URL.java:164)
W/System.err( 4718): at com.quoord.tapatalkxda.activity.ThreadActivity.getHost(ThreadActivity.java:88)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.getThreadView(ThreadAdapter.java:458)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.downLoadIcons(ThreadAdapter.java:174)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.parseCallBack(ThreadAdapter.java:109)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ForumRootAdapter$1.callFinished(ForumRootAdapter.java:113)
W/System.err( 4718): at com.quoord.tapatalkxda.ICallback$Stub.onTransact(ICallback.java:53)
W/System.err( 4718): at android.os.Binder.execTransact(Binder.java:287)
W/System.err( 4718): at dalvik.system.NativeStart.run(Native Method)
D/dalvikvm( 4691): GC freed 3422 objects / 411704 bytes in 145ms
D/dalvikvm( 2001): GC freed 894 objects / 32312 bytes in 132ms
D/dalvikvm( 4718): GC freed 8139 objects / 489968 bytes in 99ms
I/ActivityManager( 86): Starting activity: Intent { cmp=com.quoord.tapatalkxda.activity/.CreateTopicActivity (has extras) }
V/yao ( 4691): start create topic activity1
V/yao ( 4691): start create topic activity2
V/yao ( 4691): start create topic activity3
V/yao ( 4691): connection not null
V/yao ( 4691): start create topic activity4 true
V/yao123 ( 4691): activityID forum.xda-developers.com.chrisgto4:1275684643012
V/yao123 ( 4691): url http://forum.xda-developers.com/mobiquo/mobiquo.php
V/yao123 ( 4691): m_service not null
V/yao ( 4691): client create 1
D/dalvikvm( 4691): GC freed 8261 objects / 672272 bytes in 122ms
W/InputManagerService( 86): Starting input on non-focused client [email protected] (uid=10039 pid=4718)
I/ActivityManager( 86): Displayed activity com.quoord.tapatalkxda.activity/.CreateTopicActivity: 776 ms (total 776 ms)
D/dalvikvm( 163): GC freed 1547 objects / 70880 bytes in 134ms
W/SurfaceComposerClient( 163): lock_layer timed out (is the CPU pegged?) layer=1, lcblk=0x4259c0a0, state=00000008 (was 0000000c)
W/SurfaceComposerClient( 163): lock_layer() timed out but didn't appear to need to be locked and we recovered (layer=1, lcblk=0x4259c0a0, state=00000008)
D/dalvikvm( 163): GC freed 4832 objects / 246832 bytes in 91ms
D/dalvikvm( 163): GC freed 759 objects / 43288 bytes in 86ms
V/yao ( 4691): reply_topic
V/yao ( 4691): baee64 length0
V/yao ( 4691): baee64 length352
V/yao ( 4691): baee64 length40
V/yao ( 4691): request length
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
I/NotificationService( 86): enqueueToast pkg=com.quoord.tapatalkxda.activity [email protected] duration=1
D/Sensors ( 86): sensors=00000000, real=00000000
D/Sensors ( 86): sensors=00000001, real=00000001
V/yao ( 4691): get_thread
D/AKMD ( 74): Compass CLOSE
D/AKMD ( 74): Compass OPEN
D/Sensors ( 86): M-Sensor status 2
I/WindowManager( 86): onOrientationChanged, rotation changed to 0
V/yao ( 4691): request length
D/dalvikvm( 4691): GC freed 9042 objects / 523264 bytes in 128ms
V/yao ( 4691): close bos success
V/yao ( 4691): close in success
V/yao ( 4691): close responseEntity success
V/yao ( 4691): close entity success
I/System.out( 4718): a message serializd into outbox
W/System.err( 4718): java.net.MalformedURLException: Protocol not found:
W/System.err( 4718): at java.net.URL.<init>(URL.java:285)
W/System.err( 4718): at java.net.URL.<init>(URL.java:164)
W/System.err( 4718): at com.quoord.tapatalkxda.activity.ThreadActivity.getHost(ThreadActivity.java:88)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.getThreadView(ThreadAdapter.java:458)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.downLoadIcons(ThreadAdapter.java:174)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.parseCallBack(ThreadAdapter.java:109)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ForumRootAdapter$1.callFinished(ForumRootAdapter.java:113)
W/System.err( 4718): at com.quoord.tapatalkxda.ICallback$Stub.onTransact(ICallback.java:53)
W/System.err( 4718): at android.os.Binder.execTransact(Binder.java:287)
W/System.err( 4718): at dalvik.system.NativeStart.run(Native Method)
W/System.err( 4718): java.net.MalformedURLException: Protocol not found:
W/System.err( 4718): at java.net.URL.<init>(URL.java:285)
W/System.err( 4718): at java.net.URL.<init>(URL.java:164)
W/System.err( 4718): at com.quoord.tapatalkxda.activity.ThreadActivity.getHost(ThreadActivity.java:88)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.getThreadView(ThreadAdapter.java:458)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.downLoadIcons(ThreadAdapter.java:174)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ThreadAdapter.parseCallBack(ThreadAdapter.java:109)
W/System.err( 4718): at com.quoord.tapatalkxda.adapter.ForumRootAdapter$1.callFinished(ForumRootAdapter.java:113)
W/System.err( 4718): at com.quoord.tapatalkxda.ICallback$Stub.onTransact(ICallback.java:53)
W/System.err( 4718): at android.os.Binder.execTransact(Binder.java:287)
W/System.err( 4718): at dalvik.system.NativeStart.run(Native Method)
W/IInputConnectionWrapper( 4691): showStatusIcon on inactive InputConnection
D/dalvikvm( 4718): GC freed 3259 objects / 195656 bytes in 127ms
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
V/yao ( 4691): holder worked
W/InputManagerService( 86): Starting input on non-focused client [email protected] (uid=10039 pid=4718)
W/ActivityManager( 86): Duplicate finish request for HistoryRecord{43904898 com.quoord.tapatalkxda.activity/.ThreadActivity}
D/Sensors ( 86): sensors=00000000, real=0000000e
D/AKMD ( 74): Compass CLOSE
I/ActivityManager( 86): Stopping service: com.quoord.tapatalkxda.activity/com.quoord.xmlrpc.XMLRPCService
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity }
I/ActivityManager( 86): Start proc org.jtb.alogcat for activity org.jtb.alogcat/.LogActivity: pid=4736 uid=10043 gids={1007, 1015}
I/ActivityManager( 86): Process com.quoord.tapatalkxda.thread (pid 4718) has died.
I/NotificationService( 86): enqueueToast pkg=org.jtb.alogcat [email protected] duration=1
I/NotificationService( 86): enqueueToast pkg=org.jtb.alogcat [email protected] duration=1
D/alogcat ( 4736): stopping ...
D/alogcat ( 4736): resumed
D/dalvikvm( 4736): GC freed 2164 objects / 217552 bytes in 165ms
I/ActivityManager( 86): Displayed activity org.jtb.alogcat/.LogActivity: 1787 ms (total 1787 ms)
D/dalvikvm( 4736): GC freed 2873 objects / 243760 bytes in 100ms
D/dalvikvm( 4691): GC freed 3938 objects / 436640 bytes in 166ms
D/dalvikvm( 2001): GC freed 361 objects / 14264 bytes in 142ms
D/dalvikvm( 4736): GC freed 3986 objects / 490616 bytes in 94ms
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 86): GC freed 18594 objects / 1015568 bytes in 275ms
D/WifiService( 86): ACTION_BATTERY_CHANGED pluggedType: 0
D/BatteryWidget( 3341): Updating Views
D/BatteryWidget( 3341): Updating Notification Status
D/dalvikvm( 3341): GC freed 814 objects / 59192 bytes in 112ms
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.CHOOSER cmp=android/com.android.internal.app.ChooserActivity (has extras) }
D/alogcat ( 4736): stopping ...
D/alogcat ( 4736): paused
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.SEND typ=plain/text flg=0x3000000 cmp=com.google.android.gm/.ComposeActivityGmail (has extras) }
I/ActivityManager( 86): Start proc com.google.android.gm for activity com.google.android.gm/.ComposeActivityGmail: pid=4750 uid=10025 gids={3003}
I/ActivityThread( 4750): Publishing provider com.google.android.gm.status: com.google.android.gm.SenderStatusProvider
I/ActivityThread( 4750): Publishing provider com.google.android.gm.attachmentspreviews: com.google.android.gm.AttachmentPreviewProvider
I/ActivityThread( 4750): Publishing provider com.google.android.gmail.SuggestionProvider: com.google.android.gm.SuggestionsProvider
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.SEND typ=plain/text flg=0x2800000 cmp=com.google.android.gm/.ComposeActivity (has extras) }
W/Gmail ( 4750): Upgrading database from version 0 to 17, which will destroy all old data
I/ActivityManager( 86): Starting activity: Intent { flg=0x2000000 cmp=com.google.android.gm/.WaitActivity (has extras) }
I/ActivityManager( 86): Process com.quoord.tapatalkxda.activity (pid 4691) has died.
I/ActivityManager( 86): Displayed activity com.google.android.gm/.WaitActivity: 380 ms (total 1767 ms)
D/Gmail ( 4750): SETTING ACCOUNT, USER:[email protected]
D/gmail-ls( 1995): MailProvider.query: content://gmail-ls/labels/[email protected](null, null)
D/dalvikvm( 4750): GC freed 3834 objects / 350408 bytes in 99ms
I/ActivityManager( 86): Starting activity: Intent { act=android.intent.action.SEND typ=plain/text flg=0x2800000 cmp=com.google.android.gm/.ComposeActivity (has extras) }
D/dalvikvm( 4750): GC freed 1783 objects / 272768 bytes in 92ms
I/ActivityManager( 86): Displayed activity com.google.android.gm/.ComposeActivity: 2218 ms (total 2218 ms)
D/dalvikvm( 4736): GC freed 3545 objects / 362760 bytes in 188ms
I/NotificationService( 86): enqueueToast pkg=com.google.android.gm [email protected] duration=0
I/NotificationService( 86): enqueueToast pkg=org.jtb.alogcat [email protected] duration=1
D/alogcat ( 4736): stopping ...
D/alogcat ( 4736): resumed
W/IInputConnectionWrapper( 4750): showStatusIcon on inactive InputConnection
D/dalvikvm( 4736): GC freed 2887 objects / 191976 bytes in 133ms
D/dalvikvm( 4736): GC freed 6821 objects / 1001448 bytes in 117ms
D/dalvikvm( 1995): GC freed 87 objects / 4504 bytes in 91ms
D/dalvikvm( 2001): GC freed 67 objects / 2320 bytes in 109ms
D/dalvikvm( 4736): GC freed 3890 objects / 271416 bytes in 110ms
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
W/InputManagerService( 86): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 4736): GC freed 1782 objects / 89376 bytes in 105ms
Bump
-------------------------------------
mt3g
amon-ra latest recovery
different rom everyday
Hey guys ,
I've been developing a tips application for Halo Reach over the past week or so. It's on the market now.
I've ran into a problem on one of my builds. I am force closing every time I try to open the scroll view with a linear layout that has image buttons. It's two activities deep into the app. I know the problem is I'm missing something in the manifest file. I currently have it added as an activity but I can't figure out what else it needs to work. When I comment out the onClicklistener stuff for the image buttons it no longer force closes.
Does anyone know what line of code needs to be in the manifest file to fix this? My code will be up soon to show you.
Sent from my ADR6300 using XDA App
What does the logcat say?
Sent from my SAMSUNG Captivate using XDA App
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): FATAL EXCEPTION: main
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): java.lang.RuntimeException: Unable to start activity ComponentInfo{jorny32.haloreachtips.donate/jorny32.haloreachtips.donate.Map}: java.lang.NullPointerException
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.os.Handler.dispatchMessage(Handler.java:99)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.os.Looper.loop(Looper.java:123)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread.main(ActivityThread.java:4627)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at java.lang.reflect.Method.invokeNative(Native Method)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at java.lang.reflect.Method.invoke(Method.java:521)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at dalvik.system.NativeStart.main(Native Method)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): Caused by: java.lang.NullPointerException
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at jorny32.haloreachtips.donate.Map.onCreate(Map.java:26)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
09-19 17:49:57.412: ERROR/AndroidRuntime(1473): ... 11 more
09-19 17:49:57.422: WARN/ActivityManager(61): Force finishing activity jorny32.haloreachtips.donate/.Map
09-19 17:49:57.422: WARN/ActivityManager(61): Force finishing activity jorny32.haloreachtips.donate/.haloreachtipsdonate
09-19 17:49:57.923: WARN/ActivityManager(61): Activity pause timeout for HistoryRecord{4500ebe0 jorny32.haloreachtips.donate/.Map}
09-19 17:50:05.522: DEBUG/dalvikvm(216): GC_EXPLICIT freed 152 objects / 11536 bytes in 71ms
09-19 17:50:08.626: WARN/ActivityManager(61): Activity destroy timeout for HistoryRecord{44f4d970 jorny32.haloreachtips.donate/.haloreachtipsdonate}
09-19 17:50:08.626: WARN/ActivityManager(61): Activity destroy timeout for HistoryRecord{4500ebe0 jorny32.haloreachtips.donate/.Map}
09-19 17:50:10.512: DEBUG/dalvikvm(265): GC_EXPLICIT freed 46 objects / 2224 bytes in 51ms
09-19 17:50:14.342: INFO/Process(1473): Sending signal. PID: 1473 SIG: 9
09-19 17:50:14.432: INFO/WindowManager(61): WIN DEATH: Window{450fad00 jorny32.haloreachtips.donate/jorny32.haloreachtips.donate.haloreachtipsdonate paused=true}
09-19 17:50:14.432: INFO/ActivityManager(61): Process jorny32.haloreachtips.donate (pid 1473) has died.
This is the logcat reading...
Can I see the code on line 26 of your activity?
Or if you can show me your whole onCreate() method, I may be more helpful to you.
Here is my on create for the class called when it force closes
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.maps);
I'm guessing there is something wrong with your R.layout.maps, because there shouldn't be anything that you need to add in the manifest for a simple scrollview with a linear layout with image buttons
Can I see that file(maps.xml)? pm me if you don't want to display it publicly.
Magicman, thank you so much for the help. Here is the file.
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="HTTP STUFF THAT IS A LINK SO I CAN"T POST IT HERE"
<LinearLayout
android:id="@+id/LinearLayout01"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
androidrientation="vertical">
<ImageButton android:src="@drawable/button_beachhead" android:id="@+id/ImageButton01" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_boardwalk" android:id="@+id/ImageButton02" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_boneyard" android:id="@+id/ImageButton03" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_countdown" android:id="@+id/ImageButton05" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_forgeworld" android:id="@+id/ImageButton07" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_powerhouse" android:id="@+id/ImageButton12" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_reflection" android:id="@+id/ImageButton13" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_spire" android:id="@+id/ImageButton14" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_swordbase" android:id="@+id/ImageButton15" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_waterfront" android:id="@+id/ImageButton16" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
<ImageButton android:src="@drawable/button_zealot" android:id="@+id/ImageButton17" android:layout_width="fill_parent" android:layout_height="wrap_content"></ImageButton>
</LinearLayout>
</ScrollView>
I don't think anything is wrong with it??
Also, If I just comment out the onClickView things and the View ids in the Map.java class it allows me to go into the Map layout and scroll through it. I just no longer can click any of the buttons to open them.
package jorny32.haloreachtips.donate;
import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
public class Map extends Activity implements OnClickListener{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.maps);
View Imagebutton01 = findViewById(R.id.ImageButton01);
Imagebutton01.setOnClickListener(this);
View Imagebutton02 = findViewById(R.id.ImageButton02);
Imagebutton02.setOnClickListener(this);
View Imagebutton03 = findViewById(R.id.ImageButton03);
Imagebutton03.setOnClickListener(this);
View Imagebutton06 = findViewById(R.id.ImageButton06);
Imagebutton06.setOnClickListener(this);
View Imagebutton07 = findViewById(R.id.ImageButton07);
Imagebutton07.setOnClickListener(this);
View Imagebutton013 = findViewById(R.id.ImageButton13);
Imagebutton013.setOnClickListener(this);
View Imagebutton014 = findViewById(R.id.ImageButton14);
Imagebutton014.setOnClickListener(this);
View Imagebutton015 = findViewById(R.id.ImageButton15);
Imagebutton015.setOnClickListener(this);
View Imagebutton016 = findViewById(R.id.ImageButton16);
Imagebutton016.setOnClickListener(this);
View Imagebutton017 = findViewById(R.id.ImageButton17);
Imagebutton017.setOnClickListener(this);
}
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
switch(v.getId()){
case R.id.ImageButton01:
Intent i = new Intent(this, Maps_Beachhead.class);
startActivity(i);
break;
case R.id.ImageButton02:
Intent j = new Intent(this, Maps_Boardwalk.class);
startActivity(j);
break;
case R.id.ImageButton03:
Intent k = new Intent(this, Maps_Boneyard.class);
startActivity(k);
break;
case R.id.ImageButton06:
Intent m = new Intent(this, Maps_Countdown.class);
startActivity(m);
break;
case R.id.ImageButton07:
Intent o = new Intent(this, Maps_Forgeworld.class);
startActivity(o);
break;
case R.id.ImageButton13:
Intent t = new Intent(this, Maps_Powerhouse.class);
startActivity(t);
break;
case R.id.ImageButton14:
Intent u = new Intent(this, Maps_Reflection.class);
startActivity(u);
break;
case R.id.ImageButton15:
Intent z = new Intent(this, Maps_Spire.class);
startActivity(z);
break;
case R.id.ImageButton16:
Intent w = new Intent(this, Maps_Swordbase.class);
startActivity(w);
break;
case R.id.ImageButton17:
Intent x = new Intent(this, Maps_Waterfront.class);
startActivity(x);
break;
}
}
}
Thats weird, your code seems to work for me on the emulator running 2.2 and my 2.1 galaxy s.
Have you tested on multiple devices? I'd be happy to test it for you if you pm me an apk file.
I downloaded your app, and I assume you implement a similar code on the main screen. Are you doing anything different?
Also, just a tip. Replace all of your ImageButtons with regular buttons. The drawables will still work, and you won't have any of the stock button on the edges, just the image. Unless you want to keep it that way.
Tip #2: I assume you are using setListAdapter(new ArrayAdapter<String>(this, android.R.layout.SOMETHING, arrayhere));
I recommend changing the android.R.layout.SOMETHING to R.layout.list_item. If you do this, you must create list_item.xml in your layout folder, and paste the following code:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:textColor="#000"
androidadding="10dp"
android:textSize="16sp" >
</TextView>
Click to expand...
Click to collapse
This just makes the text a little smaller and makes it easier on this eyes. You don't have to do this if you don't want to, its just my recommendation.
First off thank you so much for all your help. Seriously.
I will get back to you tomorrow and try to implement your idea. I think I will p m you the apk later. Thanks again. Talk soon.
Sent from my ADR6300 using XDA App
i have a problem i hope some experienced hacker can help me with. i'm messing with my NookColor, and there is a "secret" settings window that can only be accessed via an inconvenient trick, to make a long story short. i can see this activity being launched in logcat:
Code:
I/ActivityManager( 847): Starting activity: Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS flg=0x10200000 cmp=com.android.settings/.DevelopmentSettings bnds=[33,792][443,856] }
obviously, this is an interesting activity that i'd like to be able to launch at will. i have tried to launch this activity from a program i'm working on, but i get a FC when i do this:
Code:
Intent settings = new Intent("android.settings.APPLICATION_DEVELOPMENT_SETTINGS")
.setComponent(new ComponentName("com.android.settings", ".DevelopmentSettings"));
startActivity(settings);
it seems like this should work, but i get this from logcat:
Code:
I/ActivityManager( 847): Starting activity: Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS cmp=com.android.settings/.DevelopmentSettings }
D/AndroidRuntime(18823): Shutting down VM
W/dalvikvm(18823): threadid=3: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime(18823): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(18823): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/.DevelopmentSettings}; have you declared this activity in your AndroidManifest.xml?
notice that the first line almost exactly matches the line from logcat at the top of my post, where the settings window was actually shown. here they are next to each other, for comparison.
Code:
I/ActivityManager( 847): Starting activity: Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS flg=0x10200000 cmp=com.android.settings/.DevelopmentSettings bnds=[33,792][443,856] }
I/ActivityManager( 847): Starting activity: Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS cmp=com.android.settings/.DevelopmentSettings }
the only differences are the flg=0x10200000 and bnds=[33,792][443,856]. what do these mean? what am i missing from my intent?
thanks...
ok, i got the two logcat lines to match perfectly by doing this:
Code:
Intent settings = new Intent("android.settings.APPLICATION_DEVELOPMENT_SETTINGS");
settings.setComponent(new ComponentName("com.android.settings", ".DevelopmentSettings"));
settings.addFlags(270532608);
settings.setSourceBounds(new Rect(33,792,443,856));
startActivity(settings);
but it still crashes with the following in logcat:
Code:
I/ActivityManager( 847): Starting activity: Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS flg=0x10200000 cmp=com.android.settings/.DevelopmentSettings bnds=[33,792][443,856] }
D/AndroidRuntime(22791): Shutting down VM
W/dalvikvm(22791): threadid=3: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime(22791): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(22791): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/.DevelopmentSettings}; have you declared this activity in your AndroidManifest.xml?
i don't actually need this activity in my manifest, do i? i wouldn't think so, since it's not part of my app...
As per thread title the function of disabling mic during a call doesn't work in cm7.2 and derivates.. any workaround out there?
Sent from my HTC Tattoo using xda app-developers app
No ideas?
I'm not a dev .. pls help!
Sent from my HTC Tattoo using xda app-developers app
Well it's hard for a dev to work with just a word it's not working, give us a bit of logcat...
Here u go
08-31 21:03:43.380 I/ActivityManager( 182): Process com.noshufou.android.su (pid 2560) has died.
08-31 21:03:48.815 I/ActivityManager( 182): Starting: Intent { act=android.intent.action.CALL_BUTTON flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity } from pid 2569
08-31 21:03:49.025 D/dalvikvm( 249): GC_EXPLICIT freed 359K, 50% free 3123K/6151K, external 583K/1015K, paused 241ms
08-31 21:03:49.045 D/ViewConsistency( 182): AbsListView [email protected]8 enabled= false
08-31 21:03:49.075 D/ViewConsistency( 182): AbsListView [email protected]8 enabled= false
08-31 21:03:49.566 I/ActivityManager( 182): Displayed android/com.android.internal.app.ResolverActivity: +718ms
08-31 21:03:51.758 I/PackageManager( 182): Adding preferred activity ComponentInfo{com.android.contacts/com.android.contacts.DialtactsActivity}:
08-31 21:03:51.768 I/PackageManager( 182): Action: "android.intent.action.CALL_BUTTON"
08-31 21:03:51.768 I/PackageManager( 182): Category: "android.intent.category.DEFAULT"
08-31 21:03:51.778 I/ActivityManager( 182): Starting: Intent { act=android.intent.action.CALL_BUTTON flg=0x13800000 cmp=com.android.contacts/.DialtactsActivity } from pid 182
08-31 21:03:52.709 D/dalvikvm( 2066): GC_EXTERNAL_ALLOC freed 332K, 58% free 3072K/7239K, external 0K/0K, paused 156ms
08-31 21:03:52.809 D/dalvikvm( 182): GC_CONCURRENT freed 1009K, 47% free 6449K/12039K, external 1511K/1679K, paused 21ms+37ms
08-31 21:03:53.169 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:53.189 D/ViewConsistency( 2066): AbsListView [email protected] enabled= true
08-31 21:03:53.430 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:53.440 D/ViewConsistency( 2066): AbsListView [email protected] enabled= true
08-31 21:03:53.550 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:53.550 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:53.740 I/ContactsListActivity( 2066): Called with action: com.android.contacts.action.LIST_STREQUENT
08-31 21:03:53.760 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:53.760 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:03:54.150 I/ActivityManager( 182): Displayed com.android.contacts/.DialtactsActivity: +2s284ms
08-31 21:03:54.381 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.491 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.531 D/dalvikvm( 2066): GC_CONCURRENT freed 161K, 55% free 3294K/7239K, external 474K/512K, paused 18ms+11ms
08-31 21:03:54.541 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.551 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.661 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.681 W/asset ( 2066): deep redirect failure from 0x01030014 => 0x0a070007, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x00000000
08-31 21:03:54.941 D/dalvikvm( 2066): GC_EXTERNAL_ALLOC freed 53K, 55% free 3297K/7239K, external 510K/512K, paused 89ms
08-31 21:03:56.172 I/dalvikvm( 2066): Jit: resizing JitTable from 512 to 1024
08-31 21:03:58.274 W/AudioFlinger( 128): write blocked for 90 msecs, 4 delayed writes, thread 0xf2e0
08-31 21:03:59.305 D/dalvikvm( 2066): GC_CONCURRENT freed 253K, 53% free 3430K/7239K, external 540K/1022K, paused 7ms+7ms
08-31 21:04:00.026 I/ActivityManager( 182): Start proc com.anddoes.fancywidgets for service com.anddoes.fancywidgets/.UpdateService: pid=2663 uid=10054 gids={3003, 1015}
08-31 21:04:00.947 D/dalvikvm( 2663): GC_CONCURRENT freed 148K, 48% free 2959K/5639K, external 0K/0K, paused 10ms+9ms
08-31 21:04:05.762 I/ActivityManager( 182): Starting: Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:xxx-xxx-xxxx flg=0x10000000 cmp=com.android.phone/.PrivilegedOutgoingCallBroadcaster } from pid 2066
08-31 21:04:05.792 D/szipinf ( 182): Initializing inflate state
08-31 21:04:06.292 D/PhoneUtils( 328): checkAndCopyPhoneProviderExtras: some or all extras are missing.
08-31 21:04:06.402 D/dalvikvm( 328): GC_EXTERNAL_ALLOC freed 56K, 49% free 3156K/6087K, external 0K/0K, paused 90ms
08-31 21:04:06.422 D/PhoneUtils( 328): checkAndCopyPhoneProviderExtras: some or all extras are missing.
08-31 21:04:06.462 I/ActivityManager( 182): Starting: Intent { act=android.phone.extra.NEW_CALL_INTENT dat=tel:xxx-xxx-xxxx flg=0x10000000 cmp=com.android.phone/.SipCallOptionHandler (has extras) } from pid 328
08-31 21:04:06.612 V/SipCallOptionHandler( 328): Call option is SIP_ADDRESS_ONLY
08-31 21:04:06.623 I/ActivityManager( 182): Starting: Intent { act=android.intent.action.CALL dat=tel:xxx-xxx-xxxx flg=0x10000000 cmp=com.android.phone/.InCallScreen (has extras) } from pid 328
08-31 21:04:06.793 I/InCallScreen( 328): onCreate()... this = [email protected]
08-31 21:04:07.754 D/dalvikvm( 328): GC_EXTERNAL_ALLOC freed 222K, 46% free 3300K/6087K, external 370K/513K, paused 72ms
08-31 21:04:07.864 W/ResourceType( 328): getEntry failing because entryIndex 65 is beyond type entryCount 1
08-31 21:04:08.134 D/dalvikvm( 328): GC_EXTERNAL_ALLOC freed 26K, 46% free 3328K/6087K, external 973K/977K, paused 75ms
08-31 21:04:08.614 I/HeadsetService( 506): After phone call off-hook: disable DSP.
08-31 21:04:08.624 I/AudioService( 182): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
08-31 21:04:08.664 I/Effect-BassBoost( 128): New strength: 0
08-31 21:04:08.664 I/Effect-Equalizer( 128): Setting band 2 to 0
08-31 21:04:08.675 I/Effect-Equalizer( 128): Setting band 2 to 1
08-31 21:04:08.675 I/Effect-Equalizer( 128): Setting band 2 to 2
08-31 21:04:08.675 I/Effect-Equalizer( 128): Setting band 2 to 3
08-31 21:04:08.675 I/Effect-Equalizer( 128): Setting band 2 to 4
08-31 21:04:08.685 I/Effect-Equalizer( 128): Setting loudness correction reference to 100.000000 dB
08-31 21:04:08.695 D/AudioHardwareInterface( 128): setMode(IN_CALL)
08-31 21:04:08.695 D/AudioFlinger( 128): setParameters(): io 1, keyvalue routing=1, tid 175, calling tid 128
08-31 21:04:08.695 I/AudioHardwareMSM72XX( 128): Routing audio to Handset
08-31 21:04:08.695 D/HTC Acoustic( 128): msm72xx_enable_audpp: 0x0000
08-31 21:04:08.855 W/BluetoothHeadset( 328): Proxy not attached to service
08-31 21:04:08.895 W/BluetoothHeadset( 328): Proxy not attached to service
08-31 21:04:08.925 I/power ( 182): *** set_screen_state 1
08-31 21:04:09.285 D/dalvikvm( 328): GC_CONCURRENT freed 74K, 43% free 3482K/6087K, external 1470K/1481K, paused 20ms+26ms
08-31 21:04:09.505 D/szipinf ( 249): Initializing inflate state
08-31 21:04:09.796 W/IInputConnectionWrapper( 2066): showStatusIcon on inactive InputConnection
08-31 21:04:10.106 I/ActivityManager( 182): Displayed com.android.phone/.InCallScreen: +3s430ms (total +4s36ms)
08-31 21:04:10.837 I/ActivityManager( 182): Start proc com.android.music for broadcast com.android.music/.MediaButtonIntentReceiver: pid=2678 uid=10029 gids={3003, 1015}
08-31 21:04:11.127 D/szipinf ( 2678): Initializing inflate state
08-31 21:04:11.287 I/AudioService( 182): Remote Control registerMediaButtonEventReceiver() for ComponentInfo{com.android.music/com.android.music.MediaButtonIntentReceiver}
08-31 21:04:11.387 I/ActivityManager( 182): Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=2686 uid=10018 gids={1015, 1006, 2001, 3003}
08-31 21:04:11.607 I/ActivityThread( 2686): Pub media: com.android.providers.media.MediaProvider
08-31 21:04:11.637 V/MediaProvider( 2686): Attached volume: internal
08-31 21:04:11.657 V/MediaProvider( 2686): /mnt/sdcard volume ID: 1664705633
08-31 21:04:11.808 V/MediaProvider( 2686): Attached volume: external
08-31 21:04:11.828 I/ActivityThread( 2686): Pub downloads: com.android.providers.downloads.DownloadProvider
08-31 21:04:11.858 D/szipinf ( 2686): Initializing inflate state
08-31 21:04:11.908 I/ActivityThread( 2686): Pub drm: com.android.providers.drm.DrmProvider
08-31 21:04:12.288 D/MediaPlaybackService( 2678): restored queue, currently at position 1672/166255 (requested 1672)
08-31 21:04:12.308 I/Effect-DRC( 128): Compression factor set to: 1.000000
08-31 21:04:12.318 I/Effect-BassBoost( 128): New strength: 0
08-31 21:04:12.328 I/Effect-Equalizer( 128): Setting band 2 to 0
08-31 21:04:12.328 I/Effect-Equalizer( 128): Setting band 2 to 1
08-31 21:04:12.328 I/Effect-Equalizer( 128): Setting band 2 to 2
08-31 21:04:12.338 I/Effect-Equalizer( 128): Setting band 2 to 3
08-31 21:04:12.338 I/Effect-Equalizer( 128): Setting band 2 to 4
08-31 21:04:12.338 I/Effect-Equalizer( 128): Setting loudness correction reference to 100.000000 dB
08-31 21:04:21.837 D/dalvikvm( 506): GC_EXPLICIT freed 13K, 51% free 2689K/5379K, external 0K/0K, paused 72ms
08-31 21:04:24.950 I/TelephonyRegistry( 182): notifyServiceState: 0 home vodafone IT (N/A) 22210 GPRS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
08-31 21:04:25.010 I/TelephonyRegistry( 182): notifyDataConnection: state=0 isDataConnectivityPossible=true reason=null interfaceName=null networkType=1
08-31 21:04:28.023 I/power ( 182): *** set_screen_state 0
08-31 21:04:28.093 D/SurfaceFlinger( 182): About to give-up screen, flinger = 0xcf2b8
08-31 21:04:28.664 D/AK8973 ( 132): Compass CLOSE
08-31 21:04:28.816 I/power ( 182): *** set_screen_state 1
08-31 21:04:28.986 D/SurfaceFlinger( 182): Screen about to return, flinger = 0xcf2b8
08-31 21:04:29.006 I/power ( 182): *** set_screen_state 1
08-31 21:04:29.056 D/AK8973 ( 132): Compass Start
08-31 21:04:32.179 I/AudioService( 182): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
08-31 21:04:32.199 I/HeadsetService( 506): Phone status idle: enable DSP.
08-31 21:04:32.209 I/Effect-DRC( 128): Compression factor set to: 1.000000
08-31 21:04:32.209 I/Effect-BassBoost( 128): New strength: 0
08-31 21:04:32.209 I/Effect-Equalizer( 128): Setting band 2 to 0
08-31 21:04:32.219 I/Effect-Equalizer( 128): Setting band 2 to 1
08-31 21:04:32.229 I/Effect-Equalizer( 128): Setting band 2 to 2
08-31 21:04:32.239 I/Effect-Equalizer( 128): Setting band 2 to 3
08-31 21:04:32.239 I/Effect-Equalizer( 128): Setting band 2 to 4
08-31 21:04:32.239 I/PowerManagerService( 182): clearUserActivity for 10000ms from now
08-31 21:04:32.249 I/Effect-Equalizer( 128): Setting loudness correction reference to 100.000000 dB
08-31 21:04:32.539 D/AudioHardwareInterface( 128): setMode(NORMAL)
08-31 21:04:32.539 D/AudioFlinger( 128): setParameters(): io 1, keyvalue routing=1, tid 175, calling tid 128
08-31 21:04:32.539 I/AudioHardwareMSM72XX( 128): Routing audio to Handset
08-31 21:04:32.539 D/HTC Acoustic( 128): msm72xx_enable_audpp: 0x0000
08-31 21:04:32.629 I/ActivityManager( 182): Starting: Intent { act=android.intent.action.VIEW typ=vnd.android.cursor.dir/calls flg=0x10000 cmp=com.android.contacts/.DialtactsActivity } from pid 328
08-31 21:04:32.679 I/ActivityManager( 182): moveTaskToBack: 15
08-31 21:04:32.970 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:32.970 D/ViewConsistency( 2066): AbsListView [email protected] enabled= true
08-31 21:04:33.340 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:33.340 D/ViewConsistency( 2066): AbsListView [email protected] enabled= true
08-31 21:04:33.360 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:33.360 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:33.470 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:33.470 D/ViewConsistency( 2066): AbsListView [email protected] enabled= false
08-31 21:04:33.710 I/ActivityManager( 182): Displayed com.android.contacts/.DialtactsActivity: +967ms
08-31 21:04:34.501 D/dalvikvm( 2066): GC_CONCURRENT freed 298K, 51% free 3571K/7239K, external 613K/1022K, paused 18ms+10ms
08-31 21:04:37.774 D/dalvikvm( 2066): GC_CONCURRENT freed 288K, 50% free 3684K/7239K, external 562K/1022K, paused 7ms+17ms
08-31 21:04:40.607 D/dalvikvm( 2569): GC_CONCURRENT freed 245K, 51% free 3288K/6599K, external 141K/512K, paused 16ms+17ms
08-31 21:04:42.619 D/dalvikvm( 1384): GC_CONCURRENT freed 505K, 43% free 4167K/7239K, external 6K/517K, paused 45ms+10ms
08-31 21:04:44.571 D/dalvikvm( 2569): GC_CONCURRENT freed 373K, 50% free 3323K/6599K, external 141K/512K, paused 9ms+13ms
Sent from my HTC Tattoo using xda app-developers app
Is it enough?
Sent from my HTC Tattoo using xda app-developers app
is wifi work for you in Cm7.2?
for my no
Wifi is fine. Wep and wpa2 are both working. Have u already tried to set the channels number in domain regulation? Mic mute works for you?
Sent from my HTC Tattoo using xda app-developers app
* Mic mute works for you? *
yes
Are you on cm7.2 pure or a nightly?
Sent from my HTC Tattoo using xda app-developers app
pipko said:
* Mic mute works for you? *
yes
Click to expand...
Click to collapse
Cm7,2 or nightly?thankd
Sent from my Galaxy Nexus using xda app-developers app
Well. I did wipe and fresh install but mute doesn't work at all...while is fine in cm9...
Any help or idea?
Sent from my Galaxy Nexus using xda app-developers app
Up
Up
Well... Seems noone can help
Thanks.
Please op close this thread.
Right before i start, i have looked absolutely everywhere for the answer but there's only so much that people talk about so this is my last hope because I've tried and tried but simply can't do it!
Now i understand that to some this may be a very very easy thing to do and although i have learnt a hell of a lot since i started developing, I'm just not a pro (Just yet)
So basically ever since i started my music player, I've had one big problem and that's trying to list music albums and the songs, now, I have code that does work but it simply doesn't go with my apps data source so I'm trying to the code that i done but the code that I done doesn't show the list of songs, becauser it crashes
Here's the code so far:
Code:
public class AlbumsList extends ListActivity{
public ArrayList<HashMap<String,String>> albumsList = new ArrayList<HashMap<String, String>>();
ListView musiclist;
int songAlbum;
int count;
int songPath;
private Cursor cursor;
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.albums);
ArrayList<HashMap<String, String>> albumListData = new ArrayList<HashMap<String, String>>();
final AlbumsList plm = new AlbumsList();
// get all songs from sdcard
this.albumsList = plm.getPlayList(this, count);
// looping through playlist
for (int i = 0; i < albumsList.size(); i++) {
// creating new HashMap
HashMap<String, String> album = albumsList.get(i);
// adding HashList to ArrayList
albumListData.add(album);
}
// Adding menuItems to ListView
ListAdapter adapter = new SimpleAdapter(this, albumListData,
android.R.layout.simple_list_item_1, new String[] { "songAlbum", "songTitle", "orderBy", "songPath", "where", "whereVal" }, new int[] {
android.R.id.text1});
setListAdapter(adapter);
}
public ArrayList<HashMap<String, String>> getPlayList(Context c, int position) {
final String[] columns = { BaseColumns._ID,
AlbumColumns.ALBUM };
final Cursor mCursor = c.getContentResolver().query(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
columns, null, null, null);
String songAlbum = "";
if (mCursor.moveToFirst()) {
do {
mCursor.getString(mCursor.getColumnIndexOrThrow(BaseColumns._ID));
songAlbum = mCursor.getString(mCursor.getColumnIndexOrThrow(AudioColumns.ALBUM));
HashMap<String, String> album = new HashMap<String, String>();
album.put("songAlbum", songAlbum);
albumsList.add(album);
} while (mCursor.moveToNext());
}
return albumsList;
}
@Override
protected void onListItemClick(ListView lv, View v, int position, long id) {
if(cursor.moveToPosition(position)){
cursor = getContentResolver().query(
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
new String[] { MediaColumns.TITLE, MediaColumns.DATA, AudioColumns.ALBUM, BaseColumns._ID }, null, null,
"LOWER(" + MediaColumns.TITLE + ") ASC");
String where = AudioColumns.ALBUM
+ "=?";
String whereVal = cursor.getString(cursor.getColumnIndex(AlbumColumns.ALBUM));
String orderBy = MediaColumns.TITLE;
String songTitle = MediaColumns.TITLE;
String songPath = cursor.getString(cursor.getColumnIndexOrThrow(MediaColumns.DATA));
HashMap<String, String> album = new HashMap<String, String>();
album.put("songTitle", songTitle);
album.put("where", where);
album.put("whereVal", whereVal);
album.put("orderBy", orderBy);
album.put("songPath", songPath);
albumsList.add(album);
}else{
}
}
}
That Code successfully gets all the albums but it won't get the songs from the selected album
Here's the LogCat:
Code:
03-18 18:42:21.579: E/AndroidRuntime(10214): at dalvik.system.NativeStart.main(Native Method)
03-18 18:46:48.223: E/SpannableStringBuilder(12325): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-18 18:46:48.223: E/SpannableStringBuilder(12325): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-18 18:46:48.894: E/AndroidRuntime(12325): FATAL EXCEPTION: main
03-18 18:46:48.894: E/AndroidRuntime(12325): java.lang.NullPointerException
03-18 18:46:48.894: E/AndroidRuntime(12325): at com.simplistic.simplisticmusicfree.AlbumsList.onListItemClick(AlbumsList.java:93)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.app.ListActivity$2.onItemClick(ListActivity.java:319)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.widget.AdapterView.performItemClick(AdapterView.java:301)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.widget.AbsListView.performItemClick(AbsListView.java:1519)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3291)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.widget.AbsListView$1.run(AbsListView.java:4340)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.os.Handler.handleCallback(Handler.java:725)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.os.Handler.dispatchMessage(Handler.java:92)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.os.Looper.loop(Looper.java:137)
03-18 18:46:48.894: E/AndroidRuntime(12325): at android.app.ActivityThread.main(ActivityThread.java:5328)
03-18 18:46:48.894: E/AndroidRuntime(12325): at java.lang.reflect.Method.invokeNative(Native Method)
03-18 18:46:48.894: E/AndroidRuntime(12325): at java.lang.reflect.Method.invoke(Method.java:511)
03-18 18:46:48.894: E/AndroidRuntime(12325): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
03-18 18:46:48.894: E/AndroidRuntime(12325): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
03-18 18:46:48.894: E/AndroidRuntime(12325): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
03-18 18:46:48.894: E/AndroidRuntime(12325): at dalvik.system.NativeStart.main(Native Method)
Also just in case your wondering, this is music player in question: https://play.google.com/store/apps/details?id=com.simplistic.simplisticmusicfree
So yeah please for the love of god, help!!!
Updated the Question!
AmatuerAppDeveloper said:
Updated the Question!
Click to expand...
Click to collapse
Sorry but there seems to be a few simple problems there, and the error tells you what it is. I would suspect that the tutorials you have followed have not done a great job, or that you skipped some quite basic things... maybe learn some Java 101 and android basics. BTW I don't mean to sound condescending, I'm actually an authorised Autodesk instructor and developer and artist/trainer so it's maybe the way I say things, it's often for the total benefit of the individual I'm talking to, and quite blunt sometimes.
Your problem is clear and outlined in that error,
Code:
03-18 18:46:48.894: E/AndroidRuntime(12325): java.lang.NullPointerException
03-18 18:46:48.894: E/AndroidRuntime(12325): at com.simplistic.simplisticmusicfree.AlbumsList.onListItemClick(AlbumsList.java:93)
so on line 93, you are asking an "Object" that is actually "NULL" to execute or reference data or method, I would guess that it is as simple as the
Code:
private Cursor cursor;
You never assign it anything, you just create a null reference there. But then you ask it (Being null at this point) to ".moveToPosition()"
BTW: Still not fully awake and only glimpsed at your post
deanwray said:
Sorry but there seems to be a few simple problems there, and the error tells you what it is. I would suspect that the tutorials you have followed have not done a great job, or that you skipped some quite basic things... maybe learn some Java 101 and android basics. BTW I don't mean to sound condescending, I'm actually an authorised Autodesk instructor and developer and artist/trainer so it's maybe the way I say things, it's often for the total benefit of the individual I'm talking to, and quite blunt sometimes.
Your problem is clear and outlined in that error,
Code:
03-18 18:46:48.894: E/AndroidRuntime(12325): java.lang.NullPointerException
03-18 18:46:48.894: E/AndroidRuntime(12325): at com.simplistic.simplisticmusicfree.AlbumsList.onListItemClick(AlbumsList.java:93)
so on line 93, you are asking an "Object" that is actually "NULL" to execute or reference data or method, I would guess that it is as simple as the
Code:
private Cursor cursor;
You never assign it anything, you just create a null reference there. But then you ask it (Being null at this point) to ".moveToPosition()"
BTW: Still not fully awake and only glimpsed at your post
Click to expand...
Click to collapse
Thanks for the reply, I'll have to re look the code and see what I can do, also I'd like to note that I downloaded your beta app and I have to say it certainly looks promising, so im looking forward to official release
AmatuerAppDeveloper said:
Thanks for the reply, I'll have to re look the code and see what I can do, also I'd like to note that I downloaded your beta app and I have to say it certainly looks promising, so im looking forward to official release
Click to expand...
Click to collapse
Thanks for the download Yeah well my 1st app, and still a number of months away from what I would call "releasable".. Need to get all the user in app theming ability in there