Activity is not responding - android

my application was working fine
suddenly its stopped working and whenever i am trying to run it it says this in the error log , kindly fill in your experience
i am using http post client to get response from a web service , which till now was working fine , it has some sudden effect , initially i thought my bad internet connction is affecting but it seems to linger in the good net connection also
10-18 19:06:21.554: D/AndroidRuntime(311): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
10-18 19:06:21.554: D/AndroidRuntime(311): CheckJNI is ON
10-18 19:06:21.653: D/AndroidRuntime(311): --- registering native functions ---
10-18 19:06:22.073: D/AndroidRuntime(311): Shutting down VM
10-18 19:06:22.073: D/dalvikvm(311): Debugger has detached; object registry had 1 entries
10-18 19:06:22.083: I/AndroidRuntime(311): NOTE: attach of thread 'Binder Thread #3' failed
10-18 19:06:22.423: D/AndroidRuntime(319): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
10-18 19:06:22.423: D/AndroidRuntime(319): CheckJNI is ON
10-18 19:06:22.523: D/AndroidRuntime(319): --- registering native functions ---
10-18 19:06:22.943: I/ActivityManager(58): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.gt_google_svn/.Auth }
10-18 19:06:22.953: D/AndroidRuntime(319): Shutting down VM
10-18 19:06:22.953: D/dalvikvm(319): Debugger has detached; object registry had 1 entries
10-18 19:06:22.963: I/AndroidRuntime(319): NOTE: attach of thread 'Binder Thread #3' failed
10-18 19:06:44.220: W/WindowManager(58): Key dispatching timed out sending to com.gt_google_svn/com.gt_google_svn.Auth
10-18 19:06:44.220: W/WindowManager(58): Previous dispatch state: null
10-18 19:06:44.224: W/WindowManager(58): Current dispatch state: {{null to Window{45080188 com.gt_google_svn/com.gt_google_svn.Auth paused=false} # 1350567404223 lw=Window{45080188 com.gt_google_svn/com.gt_google_svn.Auth paused=false} lb=android.os.BinderProxy#4500e0f8 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{45080188 com.gt_google_svn/com.gt_google_svn.Auth paused=false}}}
10-18 19:06:44.244: I/Process(58): Sending signal. PID: 301 SIG: 3
10-18 19:06:44.244: I/dalvikvm(301): threadid=3: reacting to signal 3
10-18 19:06:44.284: I/dalvikvm(301): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.284: I/Process(58): Sending signal. PID: 58 SIG: 3
10-18 19:06:44.284: I/dalvikvm(58): threadid=3: reacting to signal 3
10-18 19:06:44.324: I/dalvikvm(58): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.324: I/Process(58): Sending signal. PID: 124 SIG: 3
10-18 19:06:44.324: I/dalvikvm(124): threadid=3: reacting to signal 3
10-18 19:06:44.334: I/dalvikvm(124): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.334: I/Process(58): Sending signal. PID: 285 SIG: 3
10-18 19:06:44.334: I/dalvikvm(285): threadid=3: reacting to signal 3
10-18 19:06:44.345: I/dalvikvm(285): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.345: I/Process(58): Sending signal. PID: 256 SIG: 3
10-18 19:06:44.345: I/dalvikvm(256): threadid=3: reacting to signal 3
10-18 19:06:44.354: I/dalvikvm(256): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.354: I/Process(58): Sending signal. PID: 195 SIG: 3
10-18 19:06:44.354: I/dalvikvm(195): threadid=3: reacting to signal 3
10-18 19:06:44.364: I/dalvikvm(195): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.364: I/Process(58): Sending signal. PID: 201 SIG: 3
10-18 19:06:44.364: I/dalvikvm(201): threadid=3: reacting to signal 3
10-18 19:06:44.374: I/dalvikvm(201): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.374: I/Process(58): Sending signal. PID: 253 SIG: 3
10-18 19:06:44.374: I/dalvikvm(253): threadid=3: reacting to signal 3
10-18 19:06:44.384: I/dalvikvm(253): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.384: I/Process(58): Sending signal. PID: 108 SIG: 3
10-18 19:06:44.384: I/dalvikvm(108): threadid=3: reacting to signal 3
10-18 19:06:44.404: I/dalvikvm(108): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.404: I/Process(58): Sending signal. PID: 112 SIG: 3
10-18 19:06:44.404: I/dalvikvm(112): threadid=3: reacting to signal 3
10-18 19:06:44.424: I/dalvikvm(112): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.424: I/Process(58): Sending signal. PID: 207 SIG: 3
10-18 19:06:44.424: I/dalvikvm(207): threadid=3: reacting to signal 3
10-18 19:06:44.434: I/dalvikvm(207): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.434: I/Process(58): Sending signal. PID: 160 SIG: 3
10-18 19:06:44.434: I/dalvikvm(160): threadid=3: reacting to signal 3
10-18 19:06:44.464: I/dalvikvm(160): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.464: I/Process(58): Sending signal. PID: 175 SIG: 3
10-18 19:06:44.464: I/dalvikvm(175): threadid=3: reacting to signal 3
10-18 19:06:44.474: I/dalvikvm(175): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.474: I/Process(58): Sending signal. PID: 216 SIG: 3
10-18 19:06:44.484: I/dalvikvm(216): threadid=3: reacting to signal 3
10-18 19:06:44.494: I/dalvikvm(216): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.494: I/Process(58): Sending signal. PID: 269 SIG: 3
10-18 19:06:44.494: I/dalvikvm(269): threadid=3: reacting to signal 3
10-18 19:06:44.504: I/dalvikvm(269): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.504: I/Process(58): Sending signal. PID: 232 SIG: 3
10-18 19:06:44.504: I/dalvikvm(232): threadid=3: reacting to signal 3
10-18 19:06:44.515: I/dalvikvm(232): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.515: I/Process(58): Sending signal. PID: 144 SIG: 3
10-18 19:06:44.515: I/dalvikvm(144): threadid=3: reacting to signal 3
10-18 19:06:44.534: I/dalvikvm(144): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.534: I/Process(58): Sending signal. PID: 125 SIG: 3
10-18 19:06:44.534: I/dalvikvm(125): threadid=3: reacting to signal 3
10-18 19:06:44.544: I/dalvikvm(125): Wrote stack traces to '/data/anr/traces.txt'
10-18 19:06:44.574: E/ActivityManager(58): ANR in com.gt_google_svn (com.gt_google_svn/.Auth)
10-18 19:06:44.574: E/ActivityManager(58): Reason: keyDispatchingTimedOut
10-18 19:06:44.574: E/ActivityManager(58): Load: 0.59 / 0.48 / 0.2
10-18 19:06:44.574: E/ActivityManager(58): CPU usage from 44545ms to 18ms ago:
10-18 19:06:44.574: E/ActivityManager(58): system_server: 2% = 1% user + 0% kernel / faults: 119 minor 4 major
10-18 19:06:44.574: E/ActivityManager(58): adbd: 0% = 0% user + 0% kernel / faults: 28 minor
10-18 19:06:44.574: E/ActivityManager(58): m.android.phone: 0% = 0% user + 0% kernel / faults: 156 minor
10-18 19:06:44.574: E/ActivityManager(58): m.gt_google_svn: 0% = 0% user + 0% kernel / faults: 27 minor 6 major
10-18 19:06:44.574: E/ActivityManager(58): qemud: 0% = 0% user + 0% kernel
10-18 19:06:44.574: E/ActivityManager(58): re-initialized>: 0% = 0% user + 0% kernel / faults: 146 minor 1 major
10-18 19:06:44.574: E/ActivityManager(58): events/0: 0% = 0% user + 0% kernel
10-18 19:06:44.574: E/ActivityManager(58): putmethod.latin: 0% = 0% user + 0% kernel / faults: 172 minor 1 major
10-18 19:06:44.574: E/ActivityManager(58): ndroid.launcher: 0% = 0% user + 0% kernel / faults: 39 minor
10-18 19:06:44.574: E/ActivityManager(58): ndroid.settings: 0% = 0% user + 0% kernel / faults: 109 minor
10-18 19:06:44.574: E/ActivityManager(58): roid.alarmclock: 0% = 0% user + 0% kernel / faults: 77 minor
10-18 19:06:44.574: E/ActivityManager(58): android.protips: 0% = 0% user + 0% kernel / faults: 76 minor
10-18 19:06:44.574: E/ActivityManager(58): .quicksearchbox: 0% = 0% user + 0% kernel / faults: 323 minor
10-18 19:06:44.574: E/ActivityManager(58): d.process.media: 0% = 0% user + 0% kernel / faults: 268 minor
10-18 19:06:44.574: E/ActivityManager(58): com.android.mms: 0% = 0% user + 0% kernel / faults: 92 minor 1 major
10-18 19:06:44.574: E/ActivityManager(58): id.defcontainer: 0% = 0% user + 0% kernel / faults: 78 minor
10-18 19:06:44.574: E/ActivityManager(58): s:FriendService: 0% = 0% user + 0% kernel / faults: 77 minor
10-18 19:06:44.574: E/ActivityManager(58): m.android.email: 0% = 0% user + 0% kernel / faults: 98 minor
10-18 19:06:44.574: E/ActivityManager(58): com.svox.pico: 0% = 0% user + 0% kernel / faults: 26 minor
10-18 19:06:44.574: E/ActivityManager(58): TOTAL: 8% = 5% user + 2% kernel + 0% softirq
10-18 19:06:44.604: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.624: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.624: W/WindowManager(58): No window to dispatch pointer action 0
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 0
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 0
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 0
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 0
10-18 19:06:44.634: W/WindowManager(58): No window to dispatch pointer action 1
10-18 19:06:44.734: W/KeyCharacterMap(58): No keyboard for id 0
10-18 19:06:44.734: W/KeyCharacterMap(58): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
10-18 19:06:45.014: I/ARMAssembler(58): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x3250d0:0x32518c] in 326428 ns

Use AsyncTask and take off your long running task from your UI thread. Read the posts below for more concrete information
http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html
http://android-developers.blogspot.com/2009/05/painless-threading.html
http://developer.android.com/reference/android/os/NetworkOnMainThreadException.html

Related

App does not start on Android and force close

I have created a test scene in Unity which has only one cube and a directional lightening. When installed in AVD just the name of app is display and shows up nothing...
I could not figure out what is the error.. or what is making my application to stop running
AVD setting that is used are
Target: 4.0.3 API Level 15
Skin: HVGA
RAM: 512 VM: 32
Internal Storage: 200MB
SDCARD:2GB
I/AndroidRuntime( 474): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 549):
D/AndroidRuntime( 549): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<
D/AndroidRuntime( 549): CheckJNI is ON
D/AndroidRuntime( 549): Calling main entry com.android.commands.am.Am
I/ActivityManager( 77): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity} from pid 549
D/PermissionCache( 36): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (22624 us)
W/WindowManager( 77): Failure taking screenshot for (130x195) to layer 21005
D/AndroidRuntime( 549): Shutting down VM
D/dalvikvm( 549): GC_CONCURRENT freed 99K, 77% free 480K/2048K, paused 0ms+1ms
I/AndroidRuntime( 549): NOTE: attach of thread 'Binder Thread #3' failed
I/ActivityManager( 77): Start proc com.asdasd.cd for activity com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity: pid=559 uid=10041 gids={}
W/NetworkManagementSocketTagger( 77): setKernelCountSet(10041, 1) failed with errno -2
I/dalvikvm( 77): Jit: resizing JitTable from 4096 to 8192
I/ARMAssembler( 36): generated scanline__00000077:03515104_00009002_00000000 [127 ipp] (149 ins) at [0x413fba80:0x413fbcd4] in 869530 ns
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 559): Trying to load lib /mnt/asec/com.asdasd.cd-2/lib/libmain.so 0x41023f78
D/dalvikvm( 559): Added shared lib /mnt/asec/com.asdasd.cd-2/lib/libmain.so 0x41023f78
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
W/ActivityManager( 77): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 77): Activity idle timeout for ActivityRecord{411e1ab0 com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity}
D/dalvikvm( 77): GC_CONCURRENT freed 294K, 11% free 8687K/9671K, paused 5ms+7ms
D/dalvikvm( 160): GC_CONCURRENT freed 436K, 8% free 6992K/7559K, paused 4ms+4ms
On Installing on Android the app so similar behavior and generates same similar log
I/ActivityManager( 289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity bnds=[12,433][125,592]} from pid 546
I/ActivityManager( 289): Start proc com.asdasd.cd for activity com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity: pid=4268 uid=10130 gids={}
W/ResourceType( 289): Skipping entry 0x7f040010 in package table 0 because it is not complex!
W/ResourceType( 289): Skipping entry 0x7f04003d in package table 0 because it is not complex!
D/dalvikvm( 4268): Trying to load lib /mnt/asec/com.asdasd.cd-1/lib/libmain.so 0x2bde3080
D/dalvikvm( 4268): Added shared lib /mnt/asec/com.asdasd.cd-1/lib/libmain.so 0x2bde3080
D/SurfaceFlinger( 136): Release buffer at 0xcddd0
W/ActivityManager( 289): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 289): Activity idle timeout for ActivityRecord{2c57c1e8 com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity}
For gaming better to use genymotion dont use AVD that doesn't support EGL rendering and in android 4.4 use dalvik instead of ART ...
Hope you get my point.
Finally my app is working..!:D Problem is solved by updating and applying latest patch unity 4.6.6p1.. which removes the bug from older version .Hope this will help someone having a similar problem

Android App Force Closes When Opened from the Store

I have an Android app created using Titanium's 1.8.2 SDK. I recently got it into the market (or Google Play store or whatever the kids are calling it these days) and was getting some complaints about the app force closing when first launched.
After hours of not seeing it, I finally figured out that every time I open the installed app from within Google Play...it crashes and the reopens itself just fine. If I open from the apps list or from a home screen it skips the whole crashing drama and just opens right up.
Any idea what might be going on that makes the context of opening so important to whether the app opens? This issue has been lingering for a couple of days now and I can't seem to get a handle on it.
Any insight would be much appreciated.
Thanks.
UPDATE
Just for the sake of adding new info, here are the errors generated by my app when opening from the market:
06-21 12:04:19.619 I/ActivityManager( 129): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=org.inova.mobile/.VisitInovaActivity } from pid 540
06-21 12:04:19.649 D/Volley ( 540): [13] DiskBasedCache.put: Could not clean up file /data/data/com.android.vending/cache/main/1576876231-2119069592
06-21 12:04:19.779 I/ActivityManager( 129): Start proc org.inova.mobile for activity org.inova.mobile/.VisitInovaActivity: pid=7860 uid=10131 gids={1015, 3003}
06-21 12:04:19.889 D/StatusBarPolicy( 196): onSignalStrengthsChanged
06-21 12:04:19.889 D/StatusBarPolicy( 196): iconIndex=1
06-21 12:04:19.889 V/StatusBarPolicy( 196): cdmaLevel:2;max:4
06-21 12:04:19.889 D/StatusBarPolicy( 196): iconLevel:2
06-21 12:04:19.889 D/StatusBarService( 196): updateIcon slot=phone_signal index=20 viewIndex=14 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 )
06-21 12:04:19.909 I/TiApplication( 7860): (main) [0,0] checkpoint, app created.
06-21 12:04:19.969 I/TiApplication( 7860): (main) [68,68] Titanium 1.8.2 (2012/02/23 17:46 59b3a90)
06-21 12:04:20.069 D/dalvikvm( 7860): GC_CONCURRENT freed 300K, 47% free 3033K/5639K, external 0K/0K, paused 2ms+3ms
06-21 12:04:20.129 D/Volley ( 540): [14] DiskBasedCache.put: Could not clean up file /data/data/com.android.vending/cache/main/-743566663-837635707
06-21 12:04:20.129 D/Volley ( 540): [13] DiskBasedCache.put: Could not clean up file /data/data/com.android.vending/cache/main/-743566663-826319580
06-21 12:04:20.160 D/Database( 7860): dbopen(): path = /data/data/org.inova.mobile/databases/Titanium, flag = 6, file size = 4096
06-21 12:04:20.160 D/MediaPlayer( 540): reset() in
06-21 12:04:20.160 V/MediaPlayer( 540): reset
06-21 12:04:20.160 D/MediaPlayer( 540): reset() out
06-21 12:04:20.200 D/Database( 7860): dbopen(): path = /data/data/org.inova.mobile/databases/Titanium, mode: wal, disk free size: 16 M, handle: 0x341758
06-21 12:04:20.250 D/Database( 7860): dbopen(): path = /data/data/org.inova.mobile/databases/Titanium, flag = 6, file size = 4096
06-21 12:04:20.330 D/Database( 7860): dbopen(): path = /data/data/org.inova.mobile/databases/Titanium, mode: wal, disk free size: 16 M, handle: 0x345838
06-21 12:04:20.380 I/TiApplication( 7860): (main) [406,474] Titanium Javascript runtime: v8
06-21 12:04:20.380 D/dalvikvm( 7860): Trying to load lib /data/data/org.inova.mobile/lib/libstlport_shared.so 0x4051bc80
06-21 12:04:20.390 D/dalvikvm( 7860): Added shared lib /data/data/org.inova.mobile/lib/libstlport_shared.so 0x4051bc80
06-21 12:04:20.390 D/dalvikvm( 7860): No JNI_OnLoad found in /data/data/org.inova.mobile/lib/libstlport_shared.so 0x4051bc80, skipping init
06-21 12:04:20.390 D/dalvikvm( 7860): Trying to load lib /data/data/org.inova.mobile/lib/libkroll-v8.so 0x4051bc80
06-21 12:04:20.420 D/dalvikvm( 7860): Added shared lib /data/data/org.inova.mobile/lib/libkroll-v8.so 0x4051bc80
06-21 12:04:20.910 E/TiLaunchActivity( 7860): (main) [535,1009] Android issue 2373 detected (missing intent CATEGORY_LAUNCHER), restarting app. org.inova.mobile.VisitInovaActivity#4052faa0
06-21 12:04:20.910 E/TiApplication( 7860): (KrollRuntimeThread) [0,1009] APP PROXY: ti.modules.titanium.app.AppModule#40530ac0
06-21 12:04:21.020 D/ATRecorder( 7860): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader#4058a280
06-21 12:04:21.020 I/TiRootActivity( 7860): (main) [0,0] checkpoint, on root activity resume. activity = org.inova.mobile.VisitInovaActivity#4052faa0
06-21 12:04:21.020 D/AndroidRuntime( 7860): Shutting down VM
06-21 12:04:21.020 W/dalvikvm( 7860): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0)
06-21 12:04:21.030 E/TiApplication( 7860): (main) [3,3] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to resume activity {org.inova.mobile/org.inova.mobile.VisitInovaActivity}: java.lang.ClassCastException: java.lang.String; Titanium 1.8.2,2012/02/23 17:46,59b3a90
06-21 12:04:21.030 E/TiApplication( 7860): java.lang.RuntimeException: Unable to resume activity {org.inova.mobile/org.inova.mobile.VisitInovaActivity}: java.lang.ClassCastException: java.lang.String
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2460)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2481)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1847)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.access$1500(ActivityThread.java:132)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1038)
06-21 12:04:21.030 E/TiApplication( 7860): at android.os.Handler.dispatchMessage(Handler.java:99)
06-21 12:04:21.030 E/TiApplication( 7860): at android.os.Looper.loop(Looper.java:150)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.main(ActivityThread.java:4263)
06-21 12:04:21.030 E/TiApplication( 7860): at java.lang.reflect.Method.invokeNative(Native Method)
06-21 12:04:21.030 E/TiApplication( 7860): at java.lang.reflect.Method.invoke(Method.java:507)
06-21 12:04:21.030 E/TiApplication( 7860): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-21 12:04:21.030 E/TiApplication( 7860): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-21 12:04:21.030 E/TiApplication( 7860): at dalvik.system.NativeStart.main(Native Method)
06-21 12:04:21.030 E/TiApplication( 7860): Caused by: java.lang.ClassCastException: java.lang.String
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ContextImpl$SharedPreferencesImpl.getBoolean(ContextImpl.java:3034)
06-21 12:04:21.030 E/TiApplication( 7860): at org.appcelerator.titanium.TiProperties.getBool(TiProperties.java:108)
06-21 12:04:21.030 E/TiApplication( 7860): at org.appcelerator.titanium.TiLaunchActivity.alertMissingLauncher(TiLaunchActivity.java:195)
06-21 12:04:21.030 E/TiApplication( 7860): at org.appcelerator.titanium.TiLaunchActivity.onResume(TiLaunchActivity.java:345)
06-21 12:04:21.030 E/TiApplication( 7860): at org.appcelerator.titanium.TiRootActivity.onResume(TiRootActivity.java:73)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1242)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.Activity.performResume(Activity.java:3957)
06-21 12:04:21.030 E/TiApplication( 7860): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2450)
06-21 12:04:21.030 E/TiApplication( 7860): ... 12 more
06-21 12:04:21.591 D/StatusBarPolicy( 196): hasService()=true ,mDataState=2 ,mPhone.htcModemLinkOn()=false ,mDataActivity=0
06-21 12:04:21.591 D/StatusBarPolicy( 196): slotType[0]=empty
06-21 12:04:21.591 D/StatusBarService( 196): updateIcon slot=data_connection index=18 viewIndex=13 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020020 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020015 level=0 visible=true num=0 )
06-21 12:04:22.632 D/Finsky ( 540): [1] 1.run: Referrer for org.inova.mobile cleared
06-21 12:04:26.616 D/StatusBarPolicy( 196): onSignalStrengthsChanged
06-21 12:04:26.626 D/StatusBarPolicy( 196): iconIndex=1
06-21 12:04:26.626 V/StatusBarPolicy( 196): cdmaLevel:2;max:4
06-21 12:04:26.626 D/StatusBarPolicy( 196): iconLevel:2
06-21 12:04:26.636 D/StatusBarService( 196): updateIcon slot=phone_signal index=20 viewIndex=14 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 )
06-21 12:04:27.417 D/skia ( 267): purging 183K from font cache [22 entries]
06-21 12:04:27.447 D/StatusBarPolicy( 196): hasService()=true ,mDataState=2 ,mPhone.htcModemLinkOn()=false ,mDataActivity=4
06-21 12:04:27.447 D/StatusBarPolicy( 196): slotType[0]=empty
06-21 12:04:27.447 D/StatusBarService( 196): updateIcon slot=data_connection index=18 viewIndex=13 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020015 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020015 level=0 visible=true num=0 )
06-21 12:04:27.477 D/dalvikvm( 267): GC_EXPLICIT freed 204K, 53% free 4090K/8647K, external 16896K/18944K, paused 70ms
06-21 12:04:28.468 D/PowerManagerService( 129): New lightsensor value:225, lcdValue:164
06-21 12:04:28.468 D/PowerManagerService( 129): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
06-21 12:04:29.619 W/ActivityManager( 129): Launch timeout has expired, giving up wake lock!
06-21 12:04:29.859 W/ActivityManager( 129): Activity idle timeout for HistoryRecord{409e15c0 org.inova.mobile/.VisitInovaActivity}
06-21 12:04:34.924 D/dalvikvm( 540): GC_EXPLICIT freed 884K, 45% free 5802K/10503K, external 4915K/6227K, paused 73ms
06-21 12:04:39.919 D/dalvikvm( 267): GC_EXPLICIT freed 1K, 53% free 4089K/8647K, external 16896K/18944K, paused 54ms
06-21 12:04:44.904 D/dalvikvm( 1661): GC_EXPLICIT freed 2K, 47% free 3397K/6343K, external 0K/0K, paused 47ms
06-21 12:04:55.744 D/StatusBarPolicy( 196): onSignalStrengthsChanged
06-21 12:04:55.744 D/StatusBarPolicy( 196): iconIndex=1
06-21 12:04:55.744 V/StatusBarPolicy( 196): cdmaLevel:2;max:4
06-21 12:04:55.754 D/StatusBarPolicy( 196): iconLevel:2
06-21 12:04:55.764 D/StatusBarService( 196): updateIcon slot=phone_signal index=20 viewIndex=14 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 )
06-21 12:04:59.338 I/InputDispatcher( 129): Application is not responding: AppWindowToken{40cf9910 token=HistoryRecord{409e15c0 org.inova.mobile/.VisitInovaActivity}}. 15015.5ms since event, 15015.4ms since wait started
06-21 12:04:59.338 I/WindowManager( 129): Input event dispatching timed out sending to application AppWindowToken{40cf9910 token=HistoryRecord{409e15c0 org.inova.mobile/.VisitInovaActivity}}
06-21 12:04:59.418 I/Process ( 129): Sending signal. PID: 7860 SIG: 3
06-21 12:04:59.418 I/dalvikvm( 7860): threadid=4: reacting to signal 3
06-21 12:04:59.448 I/dalvikvm( 7860): Wrote stack traces to '/data/anr/traces.txt'
06-21 12:04:59.448 I/Process ( 129): Sending signal. PID: 129 SIG: 3
06-21 12:04:59.448 I/dalvikvm( 129): threadid=4: reacting to signal 3
06-21 12:04:59.578 I/dalvikvm( 129): Wrote stack traces to '/data/anr/traces.txt'
06-21 12:04:59.578 I/Process ( 129): Sending signal. PID: 255 SIG: 3
06-21 12:04:59.578 I/dalvikvm( 255): threadid=4: reacting to signal 3
06-21 12:04:59.588 I/dalvikvm( 255): Wrote stack traces to '/data/anr/traces.txt'
06-21 12:04:59.588 I/Process ( 129): Sending signal. PID: 252 SIG: 3
06-21 12:04:59.588 I/dalvikvm( 252): threadid=4: reacting to signal 3
06-21 12:04:59.638 I/dalvikvm( 252): Wrote stack traces to '/data/anr/traces.txt'
06-21 12:04:59.638 I/Process ( 129): Sending signal. PID: 196 SIG: 3
06-21 12:04:59.638 I/dalvikvm( 196): threadid=4: reacting to signal 3
06-21 12:04:59.638 I/dalvikvm( 196): Wrote stack traces to '/data/anr/traces.txt'
06-21 12:05:00.088 D/dalvikvm( 129): GC_CONCURRENT freed 1756K, 31% free 9570K/13767K, external 5619K/7016K, paused 3ms+9ms
06-21 12:05:00.259 D/dalvikvm( 129): GC_EXPLICIT freed 123K, 31% free 9550K/13767K, external 5619K/7016K, paused 113ms
06-21 12:05:00.299 D/StatusBarPolicy( 196): onSignalStrengthsChanged
06-21 12:05:00.309 D/StatusBarPolicy( 196): iconIndex=1
06-21 12:05:00.309 V/StatusBarPolicy( 196): cdmaLevel:2;max:4
06-21 12:05:00.309 D/StatusBarPolicy( 196): iconLevel:2
06-21 12:05:00.309 D/StatusBarService( 196): updateIcon slot=phone_signal index=20 viewIndex=14 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020009 level=0 visible=true num=0 )
06-21 12:05:00.849 E/ActivityManager( 129): ANR in org.inova.mobile (org.inova.mobile/.VisitInovaActivity), time=44542709
06-21 12:05:00.849 E/ActivityManager( 129): Reason: keyDispatchingTimedOut
06-21 12:05:00.849 E/ActivityManager( 129): Load: 1.54 / 1.66 / 1.88
06-21 12:05:00.849 E/ActivityManager( 129): CPU usage from 15071ms to 0ms ago:
06-21 12:05:00.849 E/ActivityManager( 129): 0.9% 88/akmd: 0% user + 0.9% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.8% 129/system_server: 0.4% user + 0.3% kernel / faults: 2 minor
06-21 12:05:00.849 E/ActivityManager( 129): 0.6% 68/emmc-qd: 0% user + 0.5% kernel + 0% iowait
06-21 12:05:00.849 E/ActivityManager( 129): 0% 1661/com.htc.bgp: 0% user + 0% kernel / faults: 59 minor
06-21 12:05:00.849 E/ActivityManager( 129): 0.1% 5/events/0: 0% user + 0.1% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.1% 15/kondemand/0: 0% user + 0.1% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 11/bdi-default: 0% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 59/atmel_wq: 0% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 267/com.htc.launcher: 0% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 311/com.swype.android.inputmethod:SwypeConnect: 0% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 5527/com.lookout: 0% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0% 70/kjournald: 0% user + 0% kernel + 0% iowait
06-21 12:05:00.849 E/ActivityManager( 129): 2.7% TOTAL: 1% user + 1.6% kernel
06-21 12:05:00.849 E/ActivityManager( 129): CPU usage from 918ms to 1448ms later:
06-21 12:05:00.849 E/ActivityManager( 129): 12% 129/system_server: 1.8% user + 10% kernel / faults: 3 minor
06-21 12:05:00.849 E/ActivityManager( 129): 9% 163/InputDispatcher: 0% user + 9% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 1.8% 130/HeapWorker: 1.8% user + 0% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 1.8% 3847/Binder Thread #: 0% user + 1.8% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.8% 5/events/0: 0% user + 0.8% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.8% 15/kondemand/0: 0% user + 0.8% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.9% 88/akmd: 0% user + 0.9% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 0.9% 7858/akmd: 0% user + 0.9% kernel
06-21 12:05:00.849 E/ActivityManager( 129): 11% TOTAL: 3.8% user + 7.6% kernel
06-21 12:05:01.019 I/InputDispatcher( 129): Dropping event because the pointer is not down.
06-21 12:05:01.019 I/InputDispatcher( 129): Dropping event because the pointer is not down.
06-21 12:05:05.394 D/dalvikvm( 634): GC_EXPLICIT freed 10K, 47% free 2913K/5447K, external 0K/0K, paused 80ms
06-21 12:05:05.494 W/ActivityManager( 129): Force finishing activity org.inova.mobile/.VisitInovaActivity
06-21 12:05:05.494 I/Process ( 129): Sending signal. PID: 7860 SIG: 9
UPDATE
At the request of #pogo2065, I've attached the xmltree dump of the AndroidManifest file as extracted using the aapt tool:
N: android=http://schemas.android.com/apk/res/android
E: manifest (line=1)
A: android:versionCode(0x0101021b)=(type 0x10)0x6
A: android:versionName(0x0101021c)="1.0.6" (Raw: "1.0.6")
A: package="org.inova.mobile" (Raw: "org.inova.mobile")
E: supports-screens (line=2)
A: android:anyDensity(0x0101026c)=(type 0x12)0xffffffff
A: android:smallScreens(0x01010284)=(type 0x12)0x0
A: android:normalScreens(0x01010285)=(type 0x12)0xffffffff
A: android:largeScreens(0x01010286)=(type 0x12)0xffffffff
E: uses-sdk (line=2)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x8
E: application (line=6)
A: android:label(0x01010001)="Visit Inova" (Raw: "Visit Inova")
A: android:icon(0x01010002)=#0x7f020000
A: android:name(0x01010003)="VisitInovaApplication" (Raw: "VisitInovaApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0x0
E: activity (line=10)
A: android:theme(0x01010000)=#0x7f050000
A: android:label(0x01010001)="Visit Inova" (Raw: "Visit Inova")
A: android:name(0x01010003)=".VisitInovaActivity" (Raw: ".VisitInovaActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: intent-filter (line=11)
E: action (line=12)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=13)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: activity (line=17)
A: android:name(0x01010003)="ti.modules.titanium.map.TiMapActivity" (Raw: "ti.modules.titanium.map.TiMapActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x2
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: uses-library (line=18)
A: android:name(0x01010003)="com.google.android.maps" (Raw: "com.google.android.maps")
E: activity (line=20)
A: android:name(0x01010003)="org.appcelerator.titanium.TiActivity" (Raw: "org.appcelerator.titanium.TiActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: activity (line=21)
A: android:theme(0x01010000)=#0x103000f
A: android:name(0x01010003)="org.appcelerator.titanium.TiTranslucentActivity" (Raw: "org.appcelerator.titanium.TiTranslucentActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: activity (line=22)
A: android:theme(0x01010000)=#0x103000f
A: android:name(0x01010003)="org.appcelerator.titanium.TiModalActivity" (Raw: "org.appcelerator.titanium.TiModalActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: activity (line=23)
A: android:name(0x01010003)="ti.modules.titanium.ui.TiTabActivity" (Raw: "ti.modules.titanium.ui.TiTabActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0xa0
E: activity (line=24)
A: android:name(0x01010003)="ti.modules.titanium.ui.android.TiPreferencesActivity" (Raw: "ti.modules.titanium.ui.android.TiPreferencesActivity")
E: service (line=26)
A: android:name(0x01010003)="org.appcelerator.titanium.analytics.TiAnalyticsService" (Raw: "org.appcelerator.titanium.analytics.TiAnalyticsService")
A: android:exported(0x01010010)=(type 0x12)0x0
E: uses-permission (line=31)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=32)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=33)
A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE")
E: uses-permission (line=34)
A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw: "android.permission.ACCESS_COARSE_LOCATION")
E: uses-permission (line=35)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=36)
A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION")
Looks like Titanium Mobile SDK 2.1.2 and 2.2.0 have fixes for this issue.
https://jira.appcelerator.org/browse/TIMOB-9285

Android emulator crash if click while processing

I've been working on an android app and test it on the emulator. Parts of this app require some processing time, such as login, could take up to 10 seconds. If the app is processing the login, and I clicked anywhere on the emulator screen, it will cause the app to crash -> a force close/wait window will pop up and even I choose to wait, this login process will never complete.
I wonder did anybody else encounter this situation? What could I do to avoid user clicking during processing and crash the program? Or on a real phone it is not a problem?
Thanks!
EDIT: This is indeed a UI thread problem and I'm using Mono for Android to write this app, I sort my issues out using methods introduced Here!
EDIT:
this is the LOGCAT messages
1-11 00:38:49.165 W/WindowManager( 59): Key dispatching timed out sending to BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1
01-11 00:38:49.165 W/WindowManager( 59): Previous dispatch state: {{KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=8} to Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false} # 1326241690617 lw=Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false} lb=android.os.BinderProxy#4508a900 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false}}}
01-11 00:38:49.175 W/WindowManager( 59): Current dispatch state: {{null to Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false} # 1326242329174 lw=Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false} lb=android.os.BinderProxy#4508a900 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{44ed87d0 BadumnaAndroidApi1.BadumnaAndroidApi1/badumnaandroidapi1.Activity1 paused=false}}}
01-11 00:38:49.276 I/Process ( 59): Sending signal. PID: 316 SIG: 3
01-11 00:38:49.276 I/dalvikvm( 316): threadid=3: reacting to signal 3
01-11 00:38:49.485 I/dalvikvm( 316): Wrote stack traces to '/data/anr/traces.txt'
01-11 00:38:49.485 I/Process ( 59): Sending signal. PID: 59 SIG: 3
01-11 00:38:49.485 I/dalvikvm( 59): threadid=3: reacting to signal 3
01-11 00:38:49.595 I/dalvikvm( 59): Wrote stack traces to '/data/anr/traces.txt'
01-11 00:38:49.616 I/Process ( 59): Sending signal. PID: 114 SIG: 3
01-11 00:38:49.616 I/dalvikvm( 114): threadid=3: reacting to signal 3
01-11 00:38:49.625 I/dalvikvm( 114): Wrote stack traces to '/data/anr/traces.txt'
01-11 00:38:49.636 I/Process ( 59): Sending signal. PID: 107 SIG: 3
01-11 00:38:49.645 I/dalvikvm( 107): threadid=3: reacting to signal 3
01-11 00:38:49.655 I/dalvikvm( 107): Wrote stack traces to '/data/anr/traces.txt'
01-11 00:38:49.673 I/Process ( 59): Sending signal. PID: 254 SIG: 3
01-11 00:38:49.865 I/dalvikvm( 254): threadid=3: reacting to signal 3
01-11 00:38:49.875 I/Process ( 59): Sending signal. PID: 246 SIG: 3
01-11 00:38:49.906 I/dalvikvm( 246): threadid=3: reacting to signal 3
01-11 00:38:50.085 I/Process ( 59): Sending signal. PID: 177 SIG: 3
01-11 00:38:50.115 I/dalvikvm( 177): threadid=3: reacting to signal 3
01-11 00:38:50.285 I/Process ( 59): Sending signal. PID: 221 SIG: 3
01-11 00:38:50.345 I/dalvikvm( 221): threadid=3: reacting to signal 3
01-11 00:38:50.495 I/Process ( 59): Sending signal. PID: 169 SIG: 3
01-11 00:38:50.575 I/dalvikvm( 169): threadid=3: reacting to signal 3
01-11 00:38:50.695 I/Process ( 59): Sending signal. PID: 185 SIG: 3
01-11 00:38:50.735 I/dalvikvm( 185): threadid=3: reacting to signal 3
01-11 00:38:50.905 I/Process ( 59): Sending signal. PID: 111 SIG: 3
01-11 00:38:50.905 I/dalvikvm( 111): threadid=3: reacting to signal 3
01-11 00:38:51.065 I/dalvikvm( 111): Wrote stack traces to '/data/anr/traces.txt'
01-11 00:38:51.065 I/Process ( 59): Sending signal. PID: 205 SIG: 3
01-11 00:38:51.185 I/dalvikvm( 205): threadid=3: reacting to signal 3
01-11 00:38:51.275 I/Process ( 59): Sending signal. PID: 194 SIG: 3
01-11 00:38:51.405 I/dalvikvm( 194): threadid=3: reacting to signal 3
01-11 00:38:51.485 I/Process ( 59): Sending signal. PID: 155 SIG: 3
01-11 00:38:51.605 I/dalvikvm( 155): threadid=3: reacting to signal 3
01-11 00:38:51.685 I/Process ( 59): Sending signal. PID: 149 SIG: 3
01-11 00:38:51.875 I/dalvikvm( 149): threadid=3: reacting to signal 3
01-11 00:38:51.885 I/Process ( 59): Sending signal. PID: 115 SIG: 3
01-11 00:38:51.916 I/dalvikvm( 115): threadid=3: reacting to signal 3
Ok the chances are you might be causing the UI thread to hang due to this heavy processing -but I could be way off without seeing any code -hint-. What you might is put the heavy stuff into a background thread seperate to the GUI thread, which you are currently running in.
Luckily Android has the AsyncTask class to help you here. Lets say (as there is not enough detail in the question) you are logging in to your app by making a web request to a server. When the user presses login you want to show some sort of processing message while doing all the legwork in your background thread.
Take a look at this article in particular the AsyncTask example http://www.vogella.de/articles/AndroidPerformance/article.html
You can see that doInBackground() is where all the heavy lifting is done and that postExecute() runs in the UI thread once again, which is where you will want to update the UI based on the result of what just happened. For example the user logged in sucessfully or an error occured while logging in.
I could go on for quite some time however this is well documented. Another good post by Google themselves can be found here http://android-developers.blogspot.com/2009/05/painless-threading.html

how to get rss feed in an android app page from a live website?

I have an ASP.NET website and I want to develop simple android application with 1 page in which I want to get live data from RSS FEED of my website.
The link of my website rss feed is like: http://www.mydomain.com/latestnewsrss.aspx?languageid=7
In the android application I just want to display all the news coming from RSS FEED of website in a list.
I am following this tutorial but it is not running (I don't know why): http://nscraps.com/Java/523-rss-feed-reader-example-java.htm
when I try to run the my code on phone, I get error saying "force app to stop/close"
------------log cat-------------
07-18 19:24:27.657: ERROR/Zygote(33): setreuid() failed. errno: 2
07-18 19:24:27.657: ERROR/Zygote(33): setreuid() failed. errno: 17
07-18 19:24:27.657: ERROR/BatteryService(55): usbOnlinePath not found
07-18 19:24:27.657: ERROR/BatteryService(55): batteryVoltagePath not found
07-18 19:24:27.657: ERROR/BatteryService(55): batteryTemperaturePath not found
07-18 19:24:27.657: ERROR/SurfaceFlinger(55): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
07-18 19:24:46.946: ERROR/EventHub(55): could not get driver version for /dev/input/mouse0, Not a typewriter
07-18 19:24:46.946: ERROR/EventHub(55): could not get driver version for /dev/input/mice, Not a typewriter
07-18 19:24:47.268: ERROR/System(55): Failure starting core service
07-18 19:24:47.268: ERROR/System(55): java.lang.SecurityException
07-18 19:24:47.268: ERROR/System(55): at android.os.BinderProxy.transact(Native Method)
07-18 19:24:47.268: ERROR/System(55): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
07-18 19:24:47.268: ERROR/System(55): at android.os.ServiceManager.addService(ServiceManager.java:72)
07-18 19:24:47.268: ERROR/System(55): at com.android.server.ServerThread.run(SystemServer.java:184)
07-18 19:24:49.516: ERROR/SoundPool(55): error loading /system/media/audio/ui/Effect_Tick.ogg
07-18 19:24:49.546: ERROR/SoundPool(55): error loading /system/media/audio/ui/KeypressStandard.ogg
07-18 19:24:49.556: ERROR/SoundPool(55): error loading /system/media/audio/ui/KeypressSpacebar.ogg
07-18 19:24:49.566: ERROR/SoundPool(55): error loading /system/media/audio/ui/KeypressDelete.ogg
07-18 19:24:49.566: ERROR/SoundPool(55): error loading /system/media/audio/ui/KeypressReturn.ogg
07-18 19:24:52.717: ERROR/ThrottleService(55): Could not open GPS configuration file /etc/gps.conf
07-18 19:24:54.207: ERROR/logwrapper(143): executing /system/bin/tc failed: No such file or directory
07-18 19:24:54.257: ERROR/logwrapper(145): executing /system/bin/tc failed: No such file or directory
07-18 19:24:54.378: ERROR/logwrapper(146): executing /system/bin/tc failed: No such file or directory
07-18 19:25:15.453: ERROR/HierarchicalStateMachine(55): TetherMaster - unhandledMessage: msg.what=3
07-18 19:25:36.650: ERROR/ActivityManager(55): ANR in com.android.quicksearchbox
07-18 19:25:36.650: ERROR/ActivityManager(55): Reason: Broadcast of Intent { act=android.appwidget.action.APPWIDGET_ENABLED cmp=com.android.quicksearchbox/.SearchWidgetProvider }
07-18 19:25:36.650: ERROR/ActivityManager(55): Load: 4.92 / 1.38 / 0.47
07-18 19:25:36.650: ERROR/ActivityManager(55): CPU usage from 16126ms to 203ms ago:
07-18 19:25:36.650: ERROR/ActivityManager(55): ndroid.launcher: 38% = 23% user + 14% kernel / faults: 5232 minor 63 major
07-18 19:25:36.650: ERROR/ActivityManager(55): system_server: 23% = 10% user + 13% kernel / faults: 2891 minor 75 major
07-18 19:25:36.650: ERROR/ActivityManager(55): m.android.email: 17% = 8% user + 9% kernel / faults: 4012 minor 14 major
07-18 19:25:36.650: ERROR/ActivityManager(55): d.process.media: 17% = 9% user + 7% kernel / faults: 4273 minor 7 major
07-18 19:25:36.650: ERROR/ActivityManager(55): com.android.mms: 15% = 7% user + 7% kernel / faults: 3952 minor 9 major
07-18 19:25:36.650: ERROR/ActivityManager(55): m.android.phone: 3% = 2% user + 1% kernel / faults: 857 minor 7 major
07-18 19:25:36.650: ERROR/ActivityManager(55): adbd: 3% = 0% user + 3% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): d.process.acore: 3% = 2% user + 1% kernel / faults: 1710 minor 48 major
07-18 19:25:36.650: ERROR/ActivityManager(55): id.defcontainer: 1% = 0% user + 0% kernel / faults: 563 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): kswapd0: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): zygote: 0% = 0% user + 0% kernel / faults: 159 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): roid.alarmclock: 0% = 0% user + 0% kernel / faults: 175 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): ronsoft.openwnn: 0% = 0% user + 0% kernel / faults: 174 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): mmcqd: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): mediaserver: 0% = 0% user + 0% kernel / faults: 37 minor 2 major
07-18 19:25:36.650: ERROR/ActivityManager(55): init: 0% = 0% user + 0% kernel / faults: 1 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): pdflush: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): rild: 0% = 0% user + 0% kernel / faults: 55 minor 2 major
07-18 19:25:36.650: ERROR/ActivityManager(55): qemud: 0% = 0% user + 0% kernel / faults: 13 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): logcat: 0% = 0% user + 0% kernel / faults: 53 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): ndroid.settings: 0% = 0% user + 0% kernel / faults: 113 minor
07-18 19:25:36.650: ERROR/ActivityManager(55): +android.protips: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +.quicksearchbox: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +loop0: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +kdmflush: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +kcryptd_io: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +kcryptd: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): +newfs_msdos: 0% = 0% user + 0% kernel
07-18 19:25:36.650: ERROR/ActivityManager(55): TOTAL: 100% = 50% user + 48% kernel + 0% iowait + 0% irq + 0% softirq
07-18 19:25:55.430: ERROR/AndroidRuntime(305): FATAL EXCEPTION: main
07-18 19:25:55.430: ERROR/AndroidRuntime(305): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.RssFeed/com.RssFeed.RssFeed}: java.lang.IllegalAccessException: access to constructor not allowed
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.os.Handler.dispatchMessage(Handler.java:99)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.os.Looper.loop(Looper.java:123)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at java.lang.reflect.Method.invokeNative(Native Method)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at java.lang.reflect.Method.invoke(Method.java:521)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at dalvik.system.NativeStart.main(Native Method)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): Caused by: java.lang.IllegalAccessException: access to constructor not allowed
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at java.lang.Class.newInstanceImpl(Native Method)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at java.lang.Class.newInstance(Class.java:1429)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
07-18 19:25:55.430: ERROR/AndroidRuntime(305): ... 11 more
Need Help
I see that an IllegalAccessException: access to constructor not allowed exception is thrown. Do you provide your own constructor to your activity? For example, do you have something like this:
public class YourActivity extends Activity {
YourActivity() {
}
/** Called when the activity is first created. */
#Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
If so, bear in mind that this is not the way activities work. You should not provide a constructor for the activity. Instead, do all your initialisations in the onCreate() method.
Another problem could be that you want to instantiate your activity like YourActivity activity = new YourActivity();. This is also wrong.
Please take a look here for better understanding the Activity lifecycle.

Android: crash on drawPicture() call?

I have an application which displays a series of custom views in a LinearLayout. The LinearLayout is in a ScrollView. The custom views draw a picture, when their onDraw method is called. Generally this works fine. But occasionally the application crashes on a drawPicture() call. When it crashes, no exception seems to be thrown, but I do get this message in logcat: "Wrote stack trace to 'data/anr/traces.txt'".
The contents of traces.txt is below:
DALVIK THREADS:
"main" prio=5 tid=3 NATIVE
| group="main" sCount=1 dsCount=0 s=N obj=0x2aac2250 self=0x84d00
| sysTid=412 nice=0 sched=0/0 cgrp=unknown handle=2130112448
at android.graphics.Canvas.native_drawPicture(Native Method)
at android.graphics.Canvas.drawPicture(Canvas.java:1404)
at com.MyView.onDraw(PDFPageView.java:100)
at android.view.View.draw(View.java:6534)
at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.View.draw(View.java:6537)
at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.View.draw(View.java:6537)
at android.widget.FrameLayout.draw(FrameLayout.java:352)
at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.View.draw(View.java:6537)
at android.widget.FrameLayout.draw(FrameLayout.java:352)
at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.View.draw(View.java:6537)
at android.widget.FrameLayout.draw(FrameLayout.java:352)
at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
at android.view.View.draw(View.java:6537)
at android.widget.FrameLayout.draw(FrameLayout.java:352)
at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1849)
at android.view.ViewRoot.draw(ViewRoot.java:1349)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1114)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4325)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
at dalvik.system.NativeStart.main(Native Method)
"AsyncTask #1" prio=5 tid=17 WAIT
| group="main" sCount=1 dsCount=0 s=N obj=0x2e4262b0 self=0x351ab8
| sysTid=420 nice=10 sched=0/0 cgrp=unknown handle=3480528
at java.lang.Object.wait(Native Method)
- waiting on <0x195468> (a java.lang.VMThread)
at java.lang.Thread.parkFor(Thread.java:1535)
at java.lang.LangAccessImpl.parkFor(LangAccessImpl.java:48)
at sun.misc.Unsafe.park(Unsafe.java:317)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:131)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1001)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
at java.lang.Thread.run(Thread.java:1096)
"Binder Thread #3" prio=5 tid=15 NATIVE
| group="main" sCount=1 dsCount=0 s=N obj=0x2e3e9cc0 self=0x191798
| sysTid=419 nice=0 sched=0/0 cgrp=unknown handle=1738736
at dalvik.system.NativeStart.run(Native Method)
"Binder Thread #2" prio=5 tid=13 NATIVE
| group="main" sCount=1 dsCount=0 s=N obj=0x2e3e9c00 self=0x1a7510
| sysTid=418 nice=0 sched=0/0 cgrp=unknown handle=1792360
at dalvik.system.NativeStart.run(Native Method)
"Binder Thread #1" prio=5 tid=11 NATIVE
| group="main" sCount=1 dsCount=0 s=N obj=0x2e3e9b40 self=0x1aae60
| sysTid=417 nice=0 sched=0/0 cgrp=unknown handle=1738512
at dalvik.system.NativeStart.run(Native Method)
"JDWP" daemon prio=5 tid=9 VMWAIT
| group="system" sCount=1 dsCount=0 s=N obj=0x2e3e82a0 self=0x1b82a0
| sysTid=416 nice=0 sched=0/0 cgrp=unknown handle=1792208
at dalvik.system.NativeStart.run(Native Method)
"Signal Catcher" daemon prio=5 tid=7 RUNNABLE
| group="system" sCount=0 dsCount=0 s=N obj=0x2e3e81e8 self=0x1b9420
| sysTid=415 nice=0 sched=0/0 cgrp=unknown handle=1791968
at dalvik.system.NativeStart.run(Native Method)
"HeapWorker" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 s=N obj=0x2d68c4c8 self=0x1b9968
| sysTid=413 nice=0 sched=0/0 cgrp=unknown handle=1792792
at dalvik.system.NativeStart.run(Native Method)
This is the logcat output:
W/WindowManager( 53): Key dispatching timed out sending to com.mypackage/com.mypackage.MyActivity
W/WindowManager( 53): Dispatch state: {{KeyEvent{action=1 code=82 repeat=0 met
a=0 scancode=229 mFlags=8} to Window{4387d7f8 Keyguard paused=false} # 129122478
0532 lw=Window{4387d7f8 Keyguard paused=false} lb=android.view.ViewRoot$W#4387d4
08 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{4392eb90 com.mypackage
s/com.mypackage.MyActivity paused=false}}}
W/WindowManager( 53): Current state: {{null to Window{4392eb90 com.mypackage
s/com.mypackage.MyActivity paused=false} # 1291225159009 lw=Window{4
392eb90 com.mypackage/com.mypackage.MyActivity paused=false} lb=an
droid.os.BinderProxy#4392e9b8 fin=false gfw=true ed=true tts=0 wf=false fp=false
mcf=Window{4392eb90
com.mypackage/com.mypackage.MyActivity paused
=false}}}
I/ActivityManager( 53): ANR in process: com.mypackage
(last in com.mypackage)
I/ActivityManager( 53): Annotation: keyDispatchingTimedOut
I/ActivityManager( 53): CPU usage:
I/ActivityManager( 53): Load: 0.71 / 0.81 / 0.44
I/ActivityManager( 53): CPU usage from 19028ms to 19ms ago:
I/ActivityManager( 53): com.mypackage: 34% = 34% user + 0% kernel / f
aults: 24 minor
I/ActivityManager( 53): system_server: 2% = 1% user + 0% kernel / faults: 8
minor
I/ActivityManager( 53): com.android.phone: 0% = 0% user + 0% kernel
I/ActivityManager( 53): adbd: 0% = 0% user + 0% kernel / faults: 72 minor
I/ActivityManager( 53): TOTAL: 38% = 36% user + 2% kernel
I/ActivityManager( 53): Removing old ANR trace file from /data/anr/traces.txt
I/Process ( 53): Sending signal. PID: 514 SIG: 3
I/dalvikvm( 514): threadid=7: reacting to signal 3
I/dalvikvm( 514): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 53 SIG: 3
I/dalvikvm( 53): threadid=7: reacting to signal 3
I/dalvikvm( 53): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 96 SIG: 3
I/dalvikvm( 96): threadid=7: reacting to signal 3
I/dalvikvm( 96): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 223 SIG: 3
I/dalvikvm( 223): threadid=7: reacting to signal 3
I/dalvikvm( 223): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 140 SIG: 3
I/dalvikvm( 140): threadid=7: reacting to signal 3
I/dalvikvm( 140): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 120 SIG: 3
I/dalvikvm( 120): threadid=7: reacting to signal 3
I/dalvikvm( 120): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 172 SIG: 3
I/dalvikvm( 172): threadid=7: reacting to signal 3
I/dalvikvm( 172): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 175 SIG: 3
I/dalvikvm( 175): threadid=7: reacting to signal 3
I/dalvikvm( 175): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 53): Sending signal. PID: 94 SIG: 3
I/dalvikvm( 94): threadid=7: reacting to signal 3
I/dalvikvm( 94): Wrote stack trace to '/data/anr/traces.txt'
W/WindowManager( 53): No window to dispatch pointer action 1
W/WindowManager( 53): No window to dispatch pointer action 1
W/WindowManager( 53): No window to dispatch pointer action 0
W/WindowManager( 53): No window to dispatch pointer action 1
D/dalvikvm( 53): GC freed 12498 objects / 629776 bytes in 174ms
This is not a crash, it's an ANR (Application Not Responding.) It means your application is taking too long to respond to an event (more than 5 seconds.)

Categories

Resources