android thread exiting with uncaught exception in Bluetooth data reading function - android

I am using below code to read data from external h/w. device but the application crashes with exception.Thread exiting with uncaught exception
Here is my code for reading data via external device:
private class ConnectedThread extends Thread {
private final BluetoothSocket mmSocket;
private InputStream mmInStream;
private OutputStream mmOutStream;
private InputStream mByteQueue;
private byte[] mReceiveBuffer;
public ConnectedThread(BluetoothSocket socket) {
Log.d(TAG, "create ConnectedThread");
mmSocket = socket;
InputStream tmpIn = null;
OutputStream tmpOut = null;
// Get the BluetoothSocket input and output streams
try {
tmpIn = socket.getInputStream();
tmpOut = socket.getOutputStream();
} catch (IOException e) {
Log.e(TAG, "temp sockets not created", e);
}
mmInStream = tmpIn;
mmOutStream = tmpOut;
}
public void run() {
Log.i(TAG, "BEGIN mConnectedThread");
// Keep listening to the InputStream while connected
while (true) {
try {
// Read from the InputStream
bytes = mmInStream.read(buffer);
sb.append(bytesToHex(buffer));
}
catch (IOException e) {
Log.e(TAG, "disconnected", e);
testModeOnScreen.sendMailTest("ricky.khatri#techvalens.com","Received bytes"+e.toString(),"IOEXCEPTION");//mahmoud.elsabrouty#eid-solutions.com
connectionLost();
//break;
}
}
}
}
This code is to call the thread:
mConnectedThread = new ConnectedThread(socket);
mConnectedThread.start();
try {
mConnectedThread.join();
testModeOnScreen.sendMailTest("ricky.khatri#techvalens.com","Raw Data:===>"+sb.toString(),"RECEIVED DATA IN HEX STRING"+buffer.length);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Here is logcat:
D/BluetoothReadService(21039): connect to: 00:06:66:45:DE:6E
D/BluetoothReadService(21039): setState() 0 -> 2
I/BluetoothReadService(21039): BEGIN mConnectThread
E/BluetoothService.cpp( 234): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/dalvikvm(20213): GC_CONCURRENT freed 414K, 54% free 3130K/6791K, external 841K/1036K, paused 1ms+2ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
D/BluetoothService( 234): updateDeviceServiceChannelCache(00:06:66:45:DE:6E)
D/BluetoothService( 234): uuid(application): 00001101-0000-1000-8000-00805f9b34fb 1
D/BluetoothService( 234): Making callback for 00001101-0000-1000-8000-00805f9b34fb with result 1
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/370/hci0
D/BluetoothService( 234): new handle 10008
D/BluetoothReadService(21039): connected
D/BluetoothReadService(21039): create ConnectedThread
I/BluetoothReadService(21039): BEGIN mConnectedThread
D/dalvikvm(21052): GC_CONCURRENT freed 58K, 48% free 2798K/5379K, external 1487K/1741K, paused 3ms+2ms
D/dalvikvm(21052): GC_CONCURRENT freed 3K, 48% free 2809K/5379K, external 3814K/4496K, paused 1ms+2ms
D/dalvikvm(21052): GC_CONCURRENT freed 1K, 48% free 2817K/5379K, external 5255K/5782K, paused 4ms+8ms
D/dalvikvm(21052): GC_CONCURRENT freed 1K, 48% free 2826K/5379K, external 6708K/7223K, paused 1ms+6ms
D/dalvikvm(21052): GC_CONCURRENT freed 12K, 48% free 2847K/5379K, external 7287K/9064K, paused 2ms+1ms
I/Ads (21052): To get test ads on this device, call adRequest.addTestDevice("A8B81027D5AFA70ABB40D69832B8A12C");
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.abworkouts/.AbWorkoutsActivity: +1s272ms
I/Ads (21052): adRequestUrlHtml: <html><head><script src="http://www.gstatic.com/afma/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":0,"u_sd":1,"slotname":"a14e2a1804aace4","u_w":320,"msid":"com.abworkouts","js":"afma-sdk-a-v4.1.0","isu":"A8B81027D5AFA70ABB40D69832B8A12C","format":"320x50_mb","net":"wi","app_name":"2.android.com.abworkouts","hl":"en","u_h":480,"u_audio":3,"u_so":"p"});</script></head><body></body></html>
I/Ads (21052): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=0&u_sd=1&u_w=320&msid=com.abworkouts&js=afma-sdk-a-v4.1.0&isu=A8B81027D5AFA70ABB40D69832B8A12C&format=320x50_mb&net=wi&app_name=2.android.com.abworkouts&hl=en&u_h=480&u_audio=3&u_so=p&output=html&region=mobile_app&u_tz=-120&client_sdk=1&ex=1&slotname=a14e2a1804aace4&caps=sdkAdmobApiForAds_di&jsv=41", "afmaNotifyDt": "null">
D/lights ( 234): set_light_buttons: brightness=255
W/KeyCharacterMap(21052): Can't open keycharmap file
W/KeyCharacterMap(21052): Error loading keycharmap file '/system/usr/keychars/cyttsp_key.kcm.bin'. hw.keyboards.65539.devname='cyttsp_key'
W/KeyCharacterMap(21052): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 234): GC_CONCURRENT freed 1435K, 35% free 8104K/12423K, external 1865K/2102K, paused 6ms+29ms
W/webcore (21052): Can't get the viewWidth after the first layout
I/Ads (21052): onReceiveAd()
D/dalvikvm(20213): GC_CONCURRENT freed 407K, 55% free 3113K/6791K, external 848K/1036K, paused 2ms+2ms
D/dalvikvm(20671): GC_EXPLICIT freed 156K, 49% free 2781K/5379K, external 743K/1036K, paused 90ms
D/lights ( 234): set_light_buttons: brightness=0
D/kernel ( 126): [113741.460449] bq27520 0-0055: bq27520_handle_soc_worker() capacity=90 (90) flags=0x128 ctrl_status=0x28b soh_state=0x3, valid=1
D/lights ( 234): set_light_battery: color=0xff00ff00, mode=0
W/dalvikvm(21039): threadid=10: thread exiting with uncaught exception (group=0x2aac8578)
E/JavaBinder( 234): !!! FAILED BINDER TRANSACTION !!!
E/kernel ( 126): [113743.098999] binder: 20149: binder_alloc_buf, no vma
D/kernel ( 126): [113743.098999] binder: 234:8767 transaction failed 29201, size 228-4
E/JavaBinder( 234): !!! FAILED BINDER TRANSACTION !!!
E/kernel ( 126): [113743.099426] binder: 20149: binder_alloc_buf, no vma
D/kernel ( 126): [113743.099426] binder: 234:8767 transaction failed 29201, size 88-4
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 117): GC_EXPLICIT freed 11K, 49% free 2762K/5379K, external 743K/1036K, paused 167ms
D/dalvikvm(20796): GC_EXPLICIT freed 283K, 50% free 3033K/5959K, external 743K/1036K, paused 134ms
D/dalvikvm( 117): GC_EXPLICIT freed <1K, 49% free 2762K/5379K, external 743K/1036K, paused 53ms
D/dalvikvm( 117): GC_EXPLICIT freed <1K, 49% free 2762K/5379K, external 743K/1036K, paused 37ms
D/dalvikvm(21091): Trying to load lib /data/data/com.sonyericsson.android.bootinfo/lib/libMiscTaAccessor.so 0x2afc6210
D/dalvikvm(21091): Added shared lib /data/data/com.sonyericsson.android.bootinfo/lib/libMiscTaAccessor.so 0x2afc6210
I/Process (21039): Sending signal. PID: 21039 SIG: 9
E/kernel ( 126): [113748.968505] binder: release proc 21039, transaction 1176367, not freed
W/GpsLocationProvider( 234): Unneeded remove listener for uid 1000
D/kernel ( 126): [113749.117797] binder: 330:330 transaction failed 29189, size 88-0
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(20213): GC_CONCURRENT freed 415K, 54% free 3133K/6791K, external 841K/1036K, paused 2ms+2ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
D/dalvikvm(20611): GC_CONCURRENT freed 360K, 47% free 3173K/5959K, external 747K/1036K, paused 2ms+11ms
D/dalvikvm(21101): GC_CONCURRENT freed 320K, 49% free 2964K/5703K, external 1358K/1870K, paused 2ms+2ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 330): GC_CONCURRENT freed 730K, 53% free 3323K/6983K, external 1876K/2388K, paused 1ms+6ms
I/ActivityManager( 234): Displayed com.empowereddefence/.SplashScreen: +344ms
D/dalvikvm(21101): GC_CONCURRENT freed 10K, 48% free 2977K/5703K, external 2048K/2470K, paused 6ms+2ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.empowereddefence/.HomeScreen: +431ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(20213): GC_CONCURRENT freed 410K, 55% free 3108K/6791K, external 848K/1036K, paused 1ms+2ms
I/ActivityManager( 234): Displayed com.empowereddefence/.ApplicationTabActivity: +378ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(21101): GC_CONCURRENT freed 159K, 45% free 3178K/5767K, external 2491K/3111K, paused 2ms+14ms
I/iddd-events( 124): Event com.sonyericsson.idd.probe.android.network::CellLocationChanged was discarded since it was not active.
W/GpsLocationProvider( 234): Duplicate add listener for uid 10152
D/PhoneWindow(21101): couldn't save which view has focus because the focused view com.android.internal.policy.impl.PhoneWindow$DecorView#2b025280 has no id.
D/EF-BTBee(21101): >>Starting Discovery
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/370/hci0
I/ActivityManager( 234): Displayed com.empowereddefence/.bluetooth.SearchDeviceActivity: +251ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(94:39:E5:E1:99:52)
D/EF-BTBee(21101): >>showDevices
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(00:06:66:45:DE:6E)
D/EF-BTBee(21101): >>showDevices
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(68:EB:AE:7B:78:AB)
D/EF-BTBee(21101): >>showDevices
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(50:2D:1D:57:40:AD)
D/EF-BTBee(21101): >>showDevices
D/dalvikvm(20213): GC_CONCURRENT freed 410K, 54% free 3130K/6791K, external 841K/1036K, paused 1ms+3ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/370/hci0
D/EF-BTBee(21101): >>unregisterReceiver
D/EF-BTBee(21101): >>Finished
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(20213): GC_EXPLICIT freed 232K, 55% free 3083K/6791K, external 813K/1036K, paused 106ms
D/EF-BTBee(21101): >>Click device
D/BluetoothReadService(21101): connect to: 00:06:66:45:DE:6E
D/BluetoothReadService(21101): setState() 0 -> 2
I/BluetoothReadService(21101): BEGIN mConnectThread
E/BluetoothService.cpp( 234): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
D/BluetoothService( 234): updateDeviceServiceChannelCache(00:06:66:45:DE:6E)
D/BluetoothService( 234): uuid(application): 00001101-0000-1000-8000-00805f9b34fb 1
D/BluetoothService( 234): Making callback for 00001101-0000-1000-8000-00805f9b34fb with result 1
D/dalvikvm(21052): GC_CONCURRENT freed 545K, 49% free 3087K/6023K, external 9288K/11336K, paused 3ms+9ms
D/webviewglue(21052): nativeDestroy view: 0x2a74a0
D/webviewglue(21052): nativeDestroy view: 0x2b06a0
D/BluetoothReadService(21101): connected
D/BluetoothReadService(21101): create ConnectedThread
I/BluetoothReadService(21101): BEGIN mConnectedThread
D/dalvikvm(21052): GC_CONCURRENT freed 40K, 50% free 3071K/6023K, external 11798K/13846K, paused 1ms+5ms
W/kernel ( 126): [113785.020996] select 19978 (wsandroid.suite), adj 10, size 3510, to kill
W/kernel ( 126): [113785.021026] select 20846 (ackageinstaller), adj 10, size 4643, to kill
W/kernel ( 126): [113785.021057] send sigkill to 20846 (ackageinstaller), adj 10, size 4643
I/Ads (21052): To get test ads on this device, call adRequest.addTestDevice("A8B81027D5AFA70ABB40D69832B8A12C");
I/Ads (21052): adRequestUrlHtml: <html><head><script src="http://www.gstatic.com/afma/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":1,"u_sd":1,"slotname":"a14e2a1804aace4","u_w":320,"msid":"com.abworkouts","js":"afma-sdk-a-v4.1.0","isu":"A8B81027D5AFA70ABB40D69832B8A12C","format":"320x50_mb","net":"wi","app_name":"2.android.com.abworkouts","hl":"en","u_h":480,"u_audio":3,"u_so":"p"});</script></head><body></body></html>
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.abworkouts/.AbWorkoutsActivity: +1s9ms
I/Ads (21052): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=1&u_sd=1&u_w=320&msid=com.abworkouts&js=afma-sdk-a-v4.1.0&isu=A8B81027D5AFA70ABB40D69832B8A12C&format=320x50_mb&net=wi&app_name=2.android.com.abworkouts&hl=en&u_h=480&u_audio=3&u_so=p&output=html&region=mobile_app&u_tz=-120&client_sdk=1&ex=1&slotname=a14e2a1804aace4&askip=1&caps=sdkAdmobApiForAds_di&jsv=41", "afmaNotifyDt": "null">
D/lights ( 234): set_light_buttons: brightness=255
W/KeyCharacterMap(21052): Can't open keycharmap file
W/KeyCharacterMap(21052): Error loading keycharmap file '/system/usr/keychars/cyttsp_key.kcm.bin'. hw.keyboards.65539.devname='cyttsp_key'
W/KeyCharacterMap(21052): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 330): GC_CONCURRENT freed 739K, 53% free 3321K/6983K, external 1876K/2388K, paused 1ms+6ms
D/dalvikvm(20213): GC_CONCURRENT freed 343K, 54% free 3128K/6791K, external 820K/1036K, paused 4ms+2ms
W/webcore (21052): Can't get the viewWidth after the first layout
I/Ads (21052): onReceiveAd()
W/dalvikvm(21101): threadid=10: thread exiting with uncaught exception (group=0x2aac8578)
I/Process ( 234): Sending signal. PID: 21101 SIG: 9
W/GpsLocationProvider( 234): Unneeded remove listener for uid 1000
E/kernel ( 126): [113791.191711] binder: release proc 21101, transaction 1177884, not freed
E/kernel ( 126): [113791.191711] binder: release proc 21101, transaction 1177885, not freed
D/lights ( 234): set_light_buttons: brightness=0
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
D/dalvikvm(20213): GC_CONCURRENT freed 407K, 55% free 3117K/6791K, external 869K/1036K, paused 1ms+2ms
I/InputDispatcher( 234): Dropped event because of pending overdue app switch.
I/InputDispatcher( 234): Dropped event because of pending overdue app switch.
I/InputDispatcher( 234): Dropped event because of pending overdue app switch.
D/lights ( 234): set_light_buttons: brightness=255
D/kernel ( 126): [113804.855285] binder: 330:330 transaction failed 29189, size 88-0
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
W/KeyCharacterMap( 407): Can't open keycharmap file
W/KeyCharacterMap( 407): Error loading keycharmap file '/system/usr/keychars/cyttsp_key.kcm.bin'. hw.keyboards.65539.devname='cyttsp_key'
W/KeyCharacterMap( 407): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/dalvikvm(20213): GC_CONCURRENT freed 370K, 54% free 3154K/6791K, external 847K/1036K, paused 1ms+2ms
D/dalvikvm(21118): GC_CONCURRENT freed 54K, 48% free 2800K/5379K, external 1343K/1855K, paused 2ms+4ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.empowereddefence/.SplashScreen: +372ms
D/dalvikvm(21118): GC_CONCURRENT freed 8K, 48% free 2817K/5379K, external 2033K/2455K, paused 5ms+2ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.empowereddefence/.HomeScreen: +411ms
D/lights ( 234): set_light_buttons: brightness=0
D/dalvikvm(20213): GC_CONCURRENT freed 452K, 55% free 3119K/6791K, external 869K/1036K, paused 2ms+2ms
D/dalvikvm(19978): GC_EXPLICIT freed 21K, 48% free 2914K/5511K, external 743K/1036K, paused 97ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(21118): GC_CONCURRENT freed 363K, 48% free 3117K/5895K, external 2254K/2455K, paused 2ms+2ms
I/ActivityManager( 234): Displayed com.empowereddefence/.ApplicationTabActivity: +371ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 234): GC_CONCURRENT freed 1059K, 36% free 8037K/12423K, external 2123K/2652K, paused 4ms+16ms
I/iddd-events( 124): Event com.sonyericsson.idd.probe.android.network::CellLocationChanged was discarded since it was not active.
W/GpsLocationProvider( 234): Duplicate add listener for uid 10152
D/PhoneWindow(21118): couldn't save which view has focus because the focused view com.android.internal.policy.impl.PhoneWindow$DecorView#2afd9510 has no id.
D/EF-BTBee(21118): >>Starting Discovery
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/370/hci0
W/kernel ( 126): [113825.539550] select 19978 (wsandroid.suite), adj 10, size 3550, to kill
W/kernel ( 126): [113825.539550] select 20868 (id.defcontainer), adj 10, size 3706, to kill
W/kernel ( 126): [113825.539581] send sigkill to 20868 (id.defcontainer), adj 10, size 3706
W/kernel ( 126): [113825.639282] select 19978 (wsandroid.suite), adj 10, size 3550, to kill
W/kernel ( 126): [113825.639312] send sigkill to 19978 (wsandroid.suite), adj 10, size 3550
I/ActivityManager( 234): Displayed com.empowereddefence/.bluetooth.SearchDeviceActivity: +266ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(68:EB:AE:7B:78:AB)
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(94:39:E5:E1:99:52)
D/EF-BTBee(21118): >>showDevices
D/EF-BTBee(21118): >>showDevices
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(00:06:66:45:DE:6E)
D/EF-BTBee(21118): >>showDevices
D/dalvikvm(20213): GC_CONCURRENT freed 401K, 55% free 3122K/6791K, external 847K/1036K, paused 2ms+2ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/370/hci0
D/BluetoothService( 234): updateDeviceServiceChannelCache(50:2D:1D:57:40:AD)
D/EF-BTBee(21118): >>showDevices
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/370/hci0
D/EF-BTBee(21118): >>unregisterReceiver
D/EF-BTBee(21118): >>Finished
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 330): GC_CONCURRENT freed 732K, 53% free 3324K/6983K, external 1876K/2388K, paused 1ms+2ms
D/dalvikvm(18376): GC_CONCURRENT freed 2081K, 37% free 8755K/13895K, external 1108K/1620K, paused 14ms+7ms
D/dalvikvm(20213): GC_CONCURRENT freed 420K, 55% free 3119K/6791K, external 869K/1036K, paused 2ms+2ms
D/EF-BTBee(21118): >>Click device
D/BluetoothReadService(21118): connect to: 00:06:66:45:DE:6E
D/BluetoothReadService(21118): setState() 0 -> 2
I/BluetoothReadService(21118): BEGIN mConnectThread
E/BluetoothService.cpp( 234): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
D/BluetoothService( 234): updateDeviceServiceChannelCache(00:06:66:45:DE:6E)
D/BluetoothService( 234): uuid(application): 00001101-0000-1000-8000-00805f9b34fb 1
D/BluetoothService( 234): Making callback for 00001101-0000-1000-8000-00805f9b34fb with result 1
D/dalvikvm(20611): GC_CONCURRENT freed 333K, 46% free 3339K/6087K, external 747K/1036K, paused 8ms+42ms
I/Ads (21052): To get test ads on this device, call adRequest.addTestDevice("A8B81027D5AFA70ABB40D69832B8A12C");
I/Ads (21052): adRequestUrlHtml: <html><head><script src="http://www.gstatic.com/afma/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":2,"u_sd":1,"slotname":"a14e2a1804aace4","u_w":320,"msid":"com.abworkouts","js":"afma-sdk-a-v4.1.0","isu":"A8B81027D5AFA70ABB40D69832B8A12C","format":"320x50_mb","net":"wi","app_name":"2.android.com.abworkouts","hl":"en","u_h":480,"u_audio":3,"u_so":"p"});</script></head><body></body></html>
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/ActivityManager( 234): Displayed com.abworkouts/.AbWorkoutsActivity: +338ms
D/BluetoothReadService(21118): connected
D/BluetoothReadService(21118): create ConnectedThread
I/BluetoothReadService(21118): BEGIN mConnectedThread
I/Ads (21052): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=2&u_sd=1&u_w=320&msid=com.abworkouts&js=afma-sdk-a-v4.1.0&isu=A8B81027D5AFA70ABB40D69832B8A12C&format=320x50_mb&net=wi&app_name=2.android.com.abworkouts&hl=en&u_h=480&u_audio=3&u_so=p&output=html&region=mobile_app&u_tz=-120&client_sdk=1&ex=1&slotname=a14e2a1804aace4&askip=2&caps=sdkAdmobApiForAds_di&jsv=41", "afmaNotifyDt": "null">
D/lights ( 234): set_light_buttons: brightness=255
W/webcore (21052): Can't get the viewWidth after the first layout
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/Ads (21052): onReceiveAd()
D/dalvikvm(18376): GC_EXPLICIT freed 749K, 38% free 8619K/13895K, external 1108K/1620K, paused 185ms
W/dalvikvm(21118): threadid=11: thread exiting with uncaught exception (group=0x2aac8578)
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
W/kernel ( 126): [113851.539062] select 20796 (son.eventstream), adj 9, size 4715, to kill
W/kernel ( 126): [113851.539093] send sigkill to 20796 (son.eventstream), adj 9, size 4715
D/dalvikvm(20213): GC_CONCURRENT freed 372K, 54% free 3154K/6791K, external 847K/1036K, paused 1ms+3ms
D/lights ( 234): set_light_buttons: brightness=0
I/Process (21118): Sending signal. PID: 21118 SIG: 9
E/JavaBinder( 234): !!! FAILED BINDER TRANSACTION !!!
W/GpsLocationProvider( 234): Unneeded remove listener for uid 1000
E/kernel ( 126): [113854.632080] binder: 21118: binder_alloc_buf, no vma
D/kernel ( 126): [113854.632141] binder: 234:273 transaction failed 29201, size 60-0
D/kernel ( 126): [113854.634613] binder: 234:9603 transaction failed 29189, size 56-0
E/InputDispatcher( 234): channel '2b565930 com.empowereddefence/com.empowereddefence.ApplicationTabActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 234): channel '2b565930 com.empowereddefence/com.empowereddefence.ApplicationTabActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
D/kernel ( 126): [113854.831542] binder: 330:330 transaction failed 29189, size 88-0
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 407): GC_CONCURRENT freed 1952K, 53% free 4159K/8711K, external 5958K/6629K, paused 2ms+23ms
E/BluetoothEventLoop.cpp( 234): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/370/hci0/dev_00_06_66_45_DE_6E
V/alogcat (21025): created
D/alogcat (21025): canceling periodic saves
V/alogcat (21025): started
V/alogcat (21025): resumed
D/alogcat (21025): starting ...
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm(21025): GC_CONCURRENT freed 383K, 49% free 3006K/5831K, external 1166K/1678K, paused 2ms+12ms
I/ActivityManager( 234): Displayed org.jtb.alogcat/.LogActivity: +348ms
D/CustomizationProvider(20671): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
D/dalvikvm( 330): GC_CONCURRENT freed 743K, 53% free 3316K/6983K, external 1876K/2388K, paused 2ms+11ms
D/lights ( 234): set_light_buttons: brightness=255
W/KeyCharacterMap(21025): Can't open keycharmap file
W/KeyCharacterMap(21025): Error loading keycharmap file '/system/usr/keychars/cyttsp_key.kcm.bin'. hw.keyboards.65539.devname='cyttsp_key'
W/KeyCharacterMap(21025): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/dalvikvm(20213): GC_CONCURRENT freed 448K, 55% free 3119K/6791K, external 869K/1036K, paused 1ms+3ms

I had the same problem, GC_CONCURRENT it's a Garbage Collector, i think it's happens because you try to send a lot of big size data to device in a short period of time and device thinks is a flood, i put " Thread.sleep(5) " after every 5 transactions for me it works.

Related

what is updateColorViewInt()if drawable=null color and how to fix it

I am making an app when I started my app in emulator like bluestack then it show this logcat and finish it self
02-25 00:32:21.401 850-850/com.tricknearn.app D/dalvikvm: Late-enabling CheckJNI
02-25 00:32:21.601 850-850/com.tricknearn.app D/dalvikvm: GC_FOR_ALLOC freed 70K, 28% free 2690K/3728K, paused 20ms, total 40ms
02-25 00:32:21.651 850-850/com.tricknearn.app I/dalvikvm-heap: Grow heap (frag case) to 9.065MB for 6720012-byte allocation
02-25 00:32:21.661 850-859/com.tricknearn.app D/dalvikvm: GC_FOR_ALLOC freed <1K, 11% free 9252K/10292K, paused 10ms, total 10ms
02-25 00:32:21.671 850-853/com.tricknearn.app D/dalvikvm: GC_CONCURRENT freed <1K, 11% free 9252K/10292K, paused 0ms+0ms, total 0ms
02-25 00:32:22.011 850-850/com.tricknearn.app I/PGA: Attempting to create new SOCKET connectionn pid = 850, tid = 850
02-25 00:32:22.031 850-850/com.tricknearn.app I/PGA: New SOCKET connection: com.tricknearn.app (pid 850, tid 850)
02-25 00:32:23.261 850-850/com.tricknearn.app W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
And when I start this app in mobile device it shows logcat :
02-25 00:38:10.804 17347-17347/com.tricknearn.app V/PhoneWindow: updateColorViewInt()if drawable=null color=-14057287
what does these means and how to fix these. I don't know about that I tried to find this but i did't get usefull information.Need help guys. Thanks in advance.
Output from your phone is correct. Last message means -> if drawable wasn't set then background have white color (-14057287 == white). In output i see only debug, info, verbose and one warning - you don't get any error. Dalvik send to you info that garbage collector works and your heap are growing. What are your question?

Android: Random crash issue

I am getting a random crash but I am not able to figure out where exactly in the code it is happening.
The app suddenly exits randomly.
This comes around the time when when I am trying to populate a list using ListUI. But not sure of the reason.
The relevent stack trace is mentioned below. Could someone please give me direction, as to what kind of problem could be leading to this issue.
W/InputDispatcher( 188): channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 188): channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 188): Attempted to unregister already unregistered input channel '4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity (server)'
I/ActivityManager( 188): Process com.pv.example.impl (pid 2419) has died.
W/ActivityManager( 188): Force removing ActivityRecord{41748ee8 com.pv.example.impl/.ExampleActivity}: app died, no saved state
I/WindowManager( 188): WIN DEATH: Window{4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity paused=false}
I/WindowManager( 188): WINDOW DIED Window{4171e5b0 com.pv.example.impl/com.pv.example.impl.ExampleActivity paused=false}
D/Zygote ( 120): Process 2419 terminated by signal (11)
W/InputManagerService( 188): Got RemoteException sending setActive(false) notification to pid 2419 uid 10058
D/dalvikvm( 1440): GC_FOR_ALLOC freed 6082K, 45% free 19093K/34631K, paused 26ms
D/dalvikvm( 1440): GC_CONCURRENT freed 135K, 40% free 20995K/34631K, paused 3ms+6ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 1905K, 41% free 20712K/34631K, paused 26ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 1734K, 40% free 20860K/34631K, paused 23ms
D/dalvikvm( 1440): GC_CONCURRENT freed 1220K, 38% free 21663K/34631K, paused 2ms+4ms
D/dalvikvm( 1440): GC_CONCURRENT freed 2541K, 39% free 21156K/34631K, paused 2ms+10ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed <1K, 39% free 21156K/34631K, paused 21ms
I/dalvikvm-heap( 1440): Grow heap (frag case) to 23.673MB for 3097616-byte allocation
D/dalvikvm( 1440): GC_FOR_ALLOC freed 3K, 31% free 24178K/34631K, paused 53ms
D/dalvikvm( 1440): GC_FOR_ALLOC freed 3784K, 39% free 21247K/34631K, paused 20ms
I/dalvikvm-heap( 1440): Grow heap (frag case) to 23.427MB for 2747152-byte allocation
D/dalvikvm( 1440): GC_CONCURRENT freed <1K, 31% free 23929K/34631K, paused 2ms+5ms
D/dalvikvm( 188): GC_CONCURRENT freed 1399K, 15% free 17287K/20231K, paused 10ms+3ms
D/dalvikvm( 2234): GC_CONCURRENT freed 421K, 5% free 12905K/13447K, paused 3ms+4ms

Unable to start service Intent { flg=0x4 cmp=mypackage/.AlarmReceiver (has extras) }: not found

Here my manifest? Is a manifest problem? Many many hours spent to discover the problem... is a service that starts a class by intent (using alarmmanager). If no a manifest problem, what's the problem?
Thanks for help!
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mypackage"
android:versionCode="1"
android:versionName="1" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" android:name="CrashReports">
<service android:name="UnUsedService">
<intent-filter>
<action
android:name="org.gortcloud.startatboot.UnUsedService" />
</intent-filter>
</service>
<receiver android:name="AutoStart">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<receiver android:name="AlarmReceiver" android:process=":remote"/>
<activity
android:name="com.example.mypackage.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:enabled="true" android:name=".SobService"/>
<activity android:name="Index"></activity>
<activity android:name="SendText"></activity>
</application>
</manifest>
logcat
E/ThrottleService( 149): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
D/dalvikvm( 149): GC_CONCURRENT freed 637K, 13% free 8307K/9479K, paused 25ms+12ms, total 142ms
D/AndroidRuntime(14611):
D/AndroidRuntime(14611): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(14611): CheckJNI is ON
D/dalvikvm(14611): Trying to load lib libjavacore.so 0x0
D/dalvikvm(14611): Added shared lib libjavacore.so 0x0
D/dalvikvm(14611): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(14611): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime(14611): Calling main entry com.android.commands.pm.Pm
W/ActivityManager( 149): No content provider found for permission revoke: file:///data/local/tmp/MainActivity.apk
D/dalvikvm( 2860): GC_CONCURRENT freed 457K, 14% free 5292K/6087K, paused 17ms+4ms, total 75ms
W/ActivityManager( 149): No content provider found for permission revoke: file:///data/local/tmp/MainActivity.apk
D/dalvikvm( 149): GC_CONCURRENT freed 614K, 12% free 8360K/9479K, paused 22ms+30ms, total 125ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 282K, 13% free 8265K/9479K, paused 69ms, total 70ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 234K, 13% free 8267K/9479K, paused 86ms, total 87ms
D/dalvikvm( 149): GC_FOR_ALLOC freed 239K, 13% free 8270K/9479K, paused 68ms, total 68ms
I/PackageManager( 149): Removing non-system package:org.gortcloud.perledisaggezza
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
I/ActivityManager( 149): Killing proc 10610:org.gortcloud.perledisaggezza/u0a44: force stop
W/ActivityManager( 149): Force removing ActivityRecord{411fe0f0 org.gortcloud.perledisaggezza/.MainActivity}: app died, no saved state
W/InputDispatcher( 149): channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 149): channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
I/WindowState( 149): WIN DEATH: Window{412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity paused=false}
W/InputDispatcher( 149): Attempted to unregister already unregistered input channel '412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity (server)'
I/Choreographer( 149): Skipped 75 frames! The application may be doing too much work on its main thread.
I/WindowManager( 149): WINDOW DIED Window{412b50c0 org.gortcloud.perledisaggezza/org.gortcloud.perledisaggezza.MainActivity paused=false}
I/Choreographer( 258): Skipped 238 frames! The application may be doing too much work on its main thread.
I/PackageManager( 149): Package org.gortcloud.perledisaggezza codePath changed from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk; Retaining data and using new
W/InputMethodManagerService( 149): Got RemoteException sending setActive(false) notification to pid 10610 uid 10044
I/PackageManager( 149): Running dexopt on: org.gortcloud.perledisaggezza
D/dalvikvm(14630): DexOpt: load 129ms, verify+opt 643ms, 962252 bytes
W/PackageManager( 149): Code path for pkg : org.gortcloud.perledisaggezza changing from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk
W/PackageManager( 149): Resource path for pkg : org.gortcloud.perledisaggezza changing from /data/app/org.gortcloud.perledisaggezza-2.apk to /data/app/org.gortcloud.perledisaggezza-1.apk
D/dalvikvm( 149): GC_FOR_ALLOC freed 320K, 13% free 8281K/9479K, paused 72ms, total 73ms
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
D/PackageManager( 149): New package installed in /data/app/org.gortcloud.perledisaggezza-1.apk
W/PackageManager( 149): Not granting permission android.permission.READ_LOGS to package org.gortcloud.perledisaggezza (protectionLevel=50 flags=0x8be46)
I/ActivityManager( 149): Force stopping package org.gortcloud.perledisaggezza uid=10044
D/dalvikvm( 204): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 258): WAIT_FOR_CONCURRENT_GC blocked 1ms
D/dalvikvm( 204): GC_EXPLICIT freed 216K, 62% free 5881K/15367K, paused 8ms+19ms, total 155ms
D/dalvikvm( 258): GC_EXPLICIT freed 409K, 39% free 7423K/12103K, paused 8ms+22ms, total 156ms
D/dalvikvm( 323): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 323): GC_EXPLICIT freed 177K, 10% free 5564K/6151K, paused 8ms+9ms, total 88ms
I/InputReader( 149): Reconfiguring input devices. changes=0x00000010
D/PackageManager( 149): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
D/PackageManager( 149): generateServicesMap(android.content.SyncAdapter): 4 services unchanged
D/BackupManagerService( 149): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.gortcloud.perledisaggezza flg=0x8000010 (has extras) }
D/dalvikvm( 149): WAIT_FOR_CONCURRENT_GC blocked 0ms
I/AccountTypeManager( 367): Loaded meta-data for 1 account types, 0 accounts in 53ms(wall) 5ms(cpu)
D/dalvikvm( 149): GC_EXPLICIT freed 503K, 15% free 8140K/9479K, paused 65ms+21ms, total 204ms
I/InputReader( 149): Reconfiguring input devices. changes=0x00000010
D/PackageManager( 149): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
D/PackageManager( 149): generateServicesMap(android.content.SyncAdapter): 4 services unchanged
D/BackupManagerService( 149): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.gortcloud.perledisaggezza flg=0x8000010 (has extras) }
V/BackupManagerService( 149): removePackageParticipantsLocked: uid=10044 #1
V/BackupManagerService( 149): addPackageParticipantsLocked: #1
W/InputMethodManagerService( 149): Found no subtypes in a system IME: com.android.inputmethod.pinyin
I/AccountTypeManager( 367): Loaded meta-data for 1 account types, 0 accounts in 11ms(wall) 7ms(cpu)
I/Choreographer( 258): Skipped 533 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 149): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 367): GC_CONCURRENT freed 403K, 12% free 5471K/6215K, paused 100ms+14ms, total 174ms
W/RecognitionManagerService( 149): no available voice recognition services found
D/dalvikvm( 149): GC_EXPLICIT freed 400K, 14% free 8170K/9479K, paused 27ms+47ms, total 266ms
D/AndroidRuntime(14611): Shutting down VM
D/dalvikvm(14611): GC_CONCURRENT freed 101K, 78% free 458K/2048K, paused 2ms+1ms, total 13ms
D/jdwp (14611): Got wake-up signal, bailing out of select
D/dalvikvm(14611): Debugger has detached; object registry had 1 entries
I/AndroidRuntime(14611): NOTE: attach of thread 'Binder_3' failed
D/AndroidRuntime(14647):
D/AndroidRuntime(14647): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(14647): CheckJNI is ON
D/dalvikvm(14647): Trying to load lib libjavacore.so 0x0
D/dalvikvm(14647): Added shared lib libjavacore.so 0x0
D/dalvikvm(14647): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(14647): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime(14647): Calling main entry com.android.commands.am.Am
I/ActivityManager( 149): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.gortcloud.perledisaggezza/.MainActivity u=0} from pid 14647
W/WindowManager( 149): Failure taking screenshot for (123x221) to layer 21025
D/AndroidRuntime(14647): Shutting down VM
D/dalvikvm(14647): GC_CONCURRENT freed 102K, 77% free 489K/2048K, paused 1ms+2ms, total 11ms
D/jdwp (14647): Got wake-up signal, bailing out of select
D/dalvikvm(14647): Debugger has detached; object registry had 1 entries
I/AndroidRuntime(14647): NOTE: attach of thread 'Binder_3' failed
D/dalvikvm( 258): GC_CONCURRENT freed 539K, 38% free 7520K/12103K, paused 16ms+127ms, total 360ms
D/dalvikvm(14658): Not late-enabling CheckJNI (already on)
I/ActivityManager( 149): Start proc org.gortcloud.perledisaggezza for activity org.gortcloud.perledisaggezza/.MainActivity: pid=14658 uid=10044 gids={3003, 1028}
E/Trace (14658): error opening trace file: No such file or directory (2)
I/Choreographer( 149): Skipped 35 frames! The application may be doing too much work on its main thread.
D/ACRA (14658): ACRA is enabled for org.gortcloud.perledisaggezza, intializing...
D/ACRA (14658): Using default Report Fields
D/ACRA (14658): Looking for error files in /data/data/org.gortcloud.perledisaggezza/files
D/dalvikvm(14658): GC_FOR_ALLOC freed 179K, 9% free 5372K/5895K, paused 31ms, total 32ms
I/dalvikvm-heap(14658): Grow heap (frag case) to 5.965MB for 457616-byte allocation
D/dalvikvm(14658): GC_CONCURRENT freed 1K, 9% free 5817K/6343K, paused 19ms+13ms, total 61ms
D/dalvikvm(14658): GC_CONCURRENT freed 48K, 6% free 6322K/6663K, paused 15ms+4ms, total 65ms
D/dalvikvm(14658): WAIT_FOR_CONCURRENT_GC blocked 18ms
D/dalvikvm(14658): GC_FOR_ALLOC freed 48K, 6% free 6464K/6855K, paused 41ms, total 41ms
I/dalvikvm-heap(14658): Grow heap (frag case) to 7.234MB for 668816-byte allocation
D/dalvikvm(14658): GC_FOR_ALLOC freed <1K, 6% free 7117K/7559K, paused 58ms, total 58ms
D/dalvikvm(14658): GC_CONCURRENT freed <1K, 6% free 7117K/7559K, paused 16ms+4ms, total 64ms
I/Choreographer(14658): Skipped 58 frames! The application may be doing too much work on its main thread.
I/Choreographer(14658): Skipped 233 frames! The application may be doing too much work on its main thread.
D/gralloc_goldfish(14658): Emulator without GPU emulation detected.
I/ActivityManager( 149): Displayed org.gortcloud.perledisaggezza/.MainActivity: +1s713ms
I/Choreographer( 149): Skipped 61 frames! The application may be doing too much work on its main thread.
I/Choreographer( 149): Skipped 43 frames! The application may be doing too much work on its main thread.
I/Choreographer(14658): Skipped 271 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 243): GC_CONCURRENT freed 384K, 13% free 5798K/6599K, paused 4ms+4ms, total 36ms
I/Choreographer(14658): Skipped 46 frames! The application may be doing too much work on its main thread.
I/Choreographer( 149): Skipped 36 frames! The application may be doing too much work on its main thread.
D/dalvikvm(14692): Not late-enabling CheckJNI (already on)
I/ActivityManager( 149): Start proc org.gortcloud.perledisaggezza:remote for broadcast org.gortcloud.perledisaggezza/.AlarmReceiver: pid=14692 uid=10044 gids={3003, 1028}
E/Trace (14692): error opening trace file: No such file or directory (2)
D/ACRA (14692): ACRA is enabled for org.gortcloud.perledisaggezza, intializing...
D/ACRA (14692): Using default Report Fields
D/ACRA (14692): Looking for error files in /data/data/org.gortcloud.perledisaggezza/files
D/gralloc_goldfish(14692): Emulator without GPU emulation detected.
UnUsedService (starts from my activity by:
startService(new Intent(this, UnUsedService.class));
UnUsedService
public class UnUsedService extends Service {
//private PendingIntent pendingIntent;
#Override
public IBinder onBind(Intent intent) {
return null;
}
#Override
public void onCreate() {
super.onCreate();
Toast.makeText(this, "Service Created", Toast.LENGTH_LONG).show();
//startService(new Intent(this, UnUsedService.class));
}
#Override
public void onDestroy() {
super.onDestroy();
Toast.makeText(this, "Service Destroyed", Toast.LENGTH_LONG).show();
}
private PendingIntent pendingIntent;
#SuppressWarnings("deprecation")
#Override
public void onStart(Intent intent, int startId) {
// super.onStart();
super.onStart(intent, startId);
Toast.makeText(this, "Service Started", Toast.LENGTH_LONG).show();
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR_OF_DAY, 23);
calendar.set(Calendar.MINUTE, 32);
calendar.set(Calendar.SECOND, 0); AlarmManager am = (AlarmManager) getApplicationContext().getSystemService (Context.ALARM_SERVICE);
PendingIntent pi = PendingIntent.getService(getApplicationContext(), 0, new Intent(getApplicationContext(), AlarmReceiver.class), PendingIntent.FLAG_UPDATE_CURRENT);
am.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pi);
am.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis()+1000, AlarmManager.INTERVAL_DAY, pi);
}};
Receiver:
public class AlarmReceiver extends BroadcastReceiver {
#Override
public void onReceive(Context context, Intent intent) {
Toast.makeText(context, "Alarm worked.", Toast.LENGTH_LONG).show();
}
}
I noticed that you're creating the wrong type of PendingIntent:
pendingIntent = PendingIntent.getService(UnUsedService.this, 0, myIntent, 0);
You want to target your BroadcastReceiver, so you need to use:
pendingIntent = PendingIntent.getBroadcast(AlarmReceiver.this, 0, myIntent, 0);
instead of this in your mainifest. .
try this
<activity android:name="com.example.mypackage.Index"></activity>
<activity android:name="com.example.mypackage.SendText"></activity>

App force close when executing menu inflater in Android 4.0.4

I built an app base on android api version 8, I choose this option because I think it will work in the newer version of Android, but when I try to do something as I mention in the title I got my app force close. The application starts and works normally, only error in menu inflater, here is my code :
#Override
public boolean onOptionsItemSelected(MenuItem item) {
// TODO Auto-generated method stub
Toast.makeText(this, "About Developer", Toast.LENGTH_LONG).show();
Intent i = new Intent(this, about.class);
startActivity(i);
return true;
}
does anyone have any idea to fix it?
Logcat :
09-10 14:07:02.630: DEBUG/AndroidRuntime(1631): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
09-10 14:07:02.646: DEBUG/AndroidRuntime(1631): CheckJNI is ON
09-10 14:07:10.746: DEBUG/AndroidRuntime(1631): Calling main entry com.android.commands.pm.Pm
09-10 14:07:12.027: DEBUG/dalvikvm(266): GC_EXPLICIT freed 10K, 54% free 2552K/5511K, external 716K/1038K, paused 360ms
09-10 14:07:12.086: WARN/ActivityManager(68): No content provider found for:
09-10 14:07:12.237: WARN/ActivityManager(68): No content provider found for:
09-10 14:07:12.307: DEBUG/PackageParser(68): Scanning package: /data/app/vmdl-674477132.tmp
09-10 14:07:12.707: INFO/PackageManager(68): Removing non-system package:com.dg.tkd
09-10 14:07:12.707: INFO/ActivityManager(68): Force stopping package com.dg.tkd uid=10036
09-10 14:07:12.837: INFO/Process(68): Sending signal. PID: 1618 SIG: 9
09-10 14:07:12.928: ERROR/InputDispatcher(68): channel '4079e2f8 com.dg.tkd/com.dg.tkd.digital_tkd (server)' ~ Consumer closed input channel or an error occurred. events=0x8
09-10 14:07:12.928: ERROR/InputDispatcher(68): channel '4079e2f8 com.dg.tkd/com.dg.tkd.digital_tkd (server)' ~ Channel is unrecoverably broken and will be disposed!
09-10 14:07:12.947: INFO/ActivityManager(68): Force finishing activity HistoryRecord{406a3e48 com.dg.tkd/.digital_tkd}
09-10 14:07:12.986: INFO/WindowManager(68): WIN DEATH: Window{407ea958 com.dg.tkd/com.dg.tkd.about paused=false}
09-10 14:07:13.037: INFO/WindowManager(68): WIN DEATH: Window{4079e2f8 com.dg.tkd/com.dg.tkd.digital_tkd paused=false}
09-10 14:07:13.086: ERROR/InputDispatcher(68): Received spurious receive callback for unknown input channel. fd=161, events=0x8
09-10 14:07:13.447: DEBUG/dalvikvm(68): GC_CONCURRENT freed 1043K, 46% free 4596K/8455K, external 3251K/3627K, paused 24ms+31ms
09-10 14:07:13.788: DEBUG/PackageManager(68): Scanning package com.dg.tkd
09-10 14:07:13.788: INFO/ActivityManager(68): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=1641 uid=10001 gids={}
09-10 14:07:13.836: INFO/PackageManager(68): Package com.dg.tkd codePath changed from /data/app/com.dg.tkd-1.apk to /data/app/com.dg.tkd-2.apk; Retaining data and using new
09-10 14:07:14.146: INFO/PackageManager(68): Unpacking native libraries for /data/app/com.dg.tkd-2.apk
09-10 14:07:14.707: DEBUG/installd(35): DexInv: --- BEGIN '/data/app/com.dg.tkd-2.apk' ---
09-10 14:07:15.457: DEBUG/dalvikvm(1649): DexOpt: load 72ms, verify+opt 125ms
09-10 14:07:15.537: DEBUG/installd(35): DexInv: --- END '/data/app/com.dg.tkd-2.apk' (success) ---
09-10 14:07:15.546: WARN/PackageManager(68): Code path for pkg : com.dg.tkd changing from /data/app/com.dg.tkd-1.apk to /data/app/com.dg.tkd-2.apk
09-10 14:07:15.546: WARN/PackageManager(68): Resource path for pkg : com.dg.tkd changing from /data/app/com.dg.tkd-1.apk to /data/app/com.dg.tkd-2.apk
09-10 14:07:15.546: DEBUG/PackageManager(68): Activities: com.dg.tkd.digital_tkd com.dg.tkd.about
09-10 14:07:15.747: INFO/installd(35): move /data/dalvik-cache/data#app#com.dg.tkd-2.apk#classes.dex -> /data/dalvik-cache/data#app#com.dg.tkd-2.apk#classes.dex
09-10 14:07:15.757: DEBUG/PackageManager(68): New package installed in /data/app/com.dg.tkd-2.apk
09-10 14:07:16.047: INFO/WindowManager(68): Setting rotation to 0, animFlags=1
09-10 14:07:16.146: INFO/ActivityManager(68): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=18 uiMode=17 seq=48}
09-10 14:07:16.717: INFO/ActivityManager(68): Force stopping package com.dg.tkd uid=10036
09-10 14:07:17.717: INFO/ActivityThread(1641): Pub com.android.launcher2.settings: com.android.launcher2.LauncherProvider
09-10 14:07:19.727: DEBUG/dalvikvm(1641): GC_EXTERNAL_ALLOC freed 457K, 54% free 2684K/5767K, external 1032K/1038K, paused 107ms
09-10 14:07:20.607: INFO/ActivityManager(68): Displayed com.android.launcher/com.android.launcher2.Launcher: +7s521ms
09-10 14:07:20.687: WARN/InputManagerService(68): Got RemoteException sending setActive(false) notification to pid 1618 uid 10036
09-10 14:07:21.156: WARN/WindowManager(68): App freeze timeout expired.
09-10 14:07:21.657: INFO/ActivityManager(68): Force stopping package com.dg.tkd uid=10036
09-10 14:07:22.097: DEBUG/dalvikvm(1641): GC_EXTERNAL_ALLOC freed 97K, 53% free 2718K/5767K, external 1561K/1572K, paused 229ms
09-10 14:07:22.256: DEBUG/dalvikvm(68): GC_EXPLICIT freed 514K, 47% free 4504K/8455K, external 3247K/3627K, paused 397ms
09-10 14:07:23.517: DEBUG/dalvikvm(68): GC_EXPLICIT freed 18K, 47% free 4486K/8455K, external 3247K/3627K, paused 240ms
09-10 14:07:25.356: WARN/RecognitionManagerService(68): no available voice recognition services found
09-10 14:07:26.056: DEBUG/dalvikvm(68): GC_EXPLICIT freed 129K, 47% free 4515K/8455K, external 3247K/3627K, paused 391ms
09-10 14:07:26.906: INFO/installd(35): unlink /data/dalvik-cache/data#app#com.dg.tkd-1.apk#classes.dex
09-10 14:07:27.037: DEBUG/AndroidRuntime(1631): Shutting down VM
09-10 14:07:27.097: INFO/AndroidRuntime(1631): NOTE: attach of thread 'Binder Thread #4' failed
09-10 14:07:27.117: DEBUG/dalvikvm(1631): GC_CONCURRENT freed 100K, 72% free 293K/1024K, external 0K/0K, paused 16ms+18ms
09-10 14:07:27.157: DEBUG/dalvikvm(1631): Debugger has detached; object registry had 1 entries
09-10 14:07:29.029: DEBUG/AndroidRuntime(1657): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
09-10 14:07:29.029: DEBUG/AndroidRuntime(1657): CheckJNI is ON
09-10 14:07:30.966: DEBUG/dalvikvm(1641): GC_CONCURRENT freed 224K, 50% free 2915K/5767K, external 1959K/2091K, paused 9ms+9ms
09-10 14:07:31.826: DEBUG/AndroidRuntime(1657): Calling main entry com.android.commands.am.Am
09-10 14:07:32.726: INFO/ActivityManager(68): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.dg.tkd/.digital_tkd } from pid 1657
09-10 14:07:32.857: DEBUG/AndroidRuntime(1657): Shutting down VM
09-10 14:07:32.926: INFO/AndroidRuntime(1657): NOTE: attach of thread 'Binder Thread #3' failed
09-10 14:07:33.037: DEBUG/dalvikvm(1657): GC_CONCURRENT freed 102K, 69% free 319K/1024K, external 0K/0K, paused 4ms+2ms
09-10 14:07:33.108: DEBUG/jdwp(1657): Got wake-up signal, bailing out of select
09-10 14:07:33.108: DEBUG/dalvikvm(1657): Debugger has detached; object registry had 1 entries
09-10 14:07:33.327: WARN/ActivityManager(68): Activity pause timeout for HistoryRecord{40796458 com.android.launcher/com.android.launcher2.Launcher}
09-10 14:07:33.446: INFO/ActivityManager(68): Start proc com.dg.tkd for activity com.dg.tkd/.digital_tkd: pid=1666 uid=10036 gids={}
09-10 14:07:34.347: INFO/WindowManager(68): Setting rotation to 1, animFlags=1
09-10 14:07:34.386: INFO/ActivityManager(68): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=2 layout=18 uiMode=17 seq=49}
09-10 14:07:35.997: INFO/ActivityManager(68): Displayed com.dg.tkd/.digital_tkd: +2s584ms
09-10 14:07:37.786: DEBUG/dalvikvm(266): GC_EXPLICIT freed 8K, 54% free 2551K/5511K, external 716K/1038K, paused 381ms
09-10 14:07:38.046: WARN/IInputConnectionWrapper(1641): showStatusIcon on inactive InputConnection
09-10 14:07:38.337: DEBUG/dalvikvm(1641): GC_EXTERNAL_ALLOC freed 33K, 50% free 2899K/5767K, external 1953K/2091K, paused 88ms
09-10 14:07:38.896: DEBUG/dalvikvm(68): GC_EXPLICIT freed 298K, 47% free 4490K/8455K, external 3247K/3627K, paused 172ms
09-10 14:07:40.007: DEBUG/dalvikvm(1641): GC_EXTERNAL_ALLOC freed 48K, 50% free 2891K/5767K, external 2754K/2940K, paused 104ms
09-10 14:07:41.847: DEBUG/dalvikvm(317): GC_EXPLICIT freed 12K, 55% free 2578K/5703K, external 716K/1038K, paused 167ms
09-10 14:07:45.489: INFO/ActivityManager(68): Process android.process.media (pid 210) has died.
09-10 14:07:47.356: DEBUG/dalvikvm(341): GC_EXPLICIT freed 5K, 55% free 2520K/5511K, external 716K/1038K, paused 644ms
09-10 14:07:49.816: DEBUG/dalvikvm(1641): GC_EXTERNAL_ALLOC freed 9K, 51% free 2882K/5767K, external 5999K/7492K, paused 167ms
09-10 14:08:18.196: WARN/KeyCharacterMap(1666): No keyboard for id 0
09-10 14:08:18.196: WARN/KeyCharacterMap(1666): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
09-10 14:08:21.546: INFO/ActivityManager(68): Starting: Intent { cmp=com.dg.tkd/.about } from pid 1666
09-10 14:08:22.097: DEBUG/dalvikvm(1666): GC_EXTERNAL_ALLOC freed 65K, 52% free 2608K/5379K, external 908K/1038K, paused 97ms
09-10 14:08:23.776: INFO/ActivityManager(68): Displayed com.dg.tkd/.about: +2s112ms

My application works on android emulator but not on my device

My application is running on the emulator no problem, but it does not work on my handset,
Samsung Galaxy Nexus S.
The application consist of different logins, including, Facebook, Twitter, Mendeley and my own web application.
I do not know why it is not working. On Facebook, in application settings I have also added the hash code required but it really does not work. Maybe it is something related to http request(s) to the servers from the device. Stressed about it, please help
Here are the logs
07-18 23:23:32.826: D/AndroidRuntime(430): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
07-18 23:23:32.826: D/AndroidRuntime(430): CheckJNI is ON
07-18 23:23:33.725: D/AndroidRuntime(430): Calling main entry com.android.commands.pm.Pm
07-18 23:23:33.965: D/dalvikvm(249): GC_EXPLICIT freed 3K, 54% free 2545K/5511K, external 1625K/2137K, paused 77ms
07-18 23:23:33.965: W/ActivityManager(67): No content provider found for:
07-18 23:23:34.371: W/ActivityManager(67): No content provider found for:
07-18 23:23:34.405: D/PackageParser(67): Scanning package: /data/app/vmdl-873505620.tmp
07-18 23:23:34.745: I/PackageManager(67): Removing non-system package:com.facebook.android
07-18 23:23:34.745: I/ActivityManager(67): Force stopping package com.facebook.android uid=10034
07-18 23:23:34.865: I/Process(67): Sending signal. PID: 401 SIG: 9
07-18 23:23:34.865: I/ActivityManager(67): Force finishing activity HistoryRecord{4059c7a0 com.facebook.android/.PushpinMobileActivity}
07-18 23:23:35.072: I/WindowManager(67): WIN DEATH: Window{40718cf0 com.facebook.android/com.facebook.android.PushpinMobileActivity paused=true}
07-18 23:23:35.085: E/InputDispatcher(67): channel '407dd068 com.facebook.android/com.facebook.android.Dashboard (server)' ~ Consumer closed input channel or an error occurred. events=0x8
07-18 23:23:35.085: E/InputDispatcher(67): channel '407dd068 com.facebook.android/com.facebook.android.Dashboard (server)' ~ Channel is unrecoverably broken and will be disposed!
07-18 23:23:35.145: I/WindowManager(67): WIN DEATH: Window{407dd068 com.facebook.android/com.facebook.android.Dashboard paused=false}
07-18 23:23:35.456: D/PackageManager(67): Scanning package com.facebook.android
07-18 23:23:35.485: I/PackageManager(67): Package com.facebook.android codePath changed from /data/app/com.facebook.android-1.apk to /data/app/com.facebook.android-2.apk; Retaining data and using new
07-18 23:23:35.526: I/PackageManager(67): Unpacking native libraries for /data/app/com.facebook.android-2.apk
07-18 23:23:35.715: W/InputManagerService(67): Got RemoteException sending setActive(false) notification to pid 401 uid 10034
07-18 23:23:36.130: D/installd(34): DexInv: --- BEGIN '/data/app/com.facebook.android-2.apk' ---
07-18 23:23:38.285: D/dalvikvm(439): DexOpt: load 135ms, verify+opt 948ms
07-18 23:23:38.646: D/installd(34): DexInv: --- END '/data/app/com.facebook.android-2.apk' (success) ---
07-18 23:23:38.646: W/PackageManager(67): Code path for pkg : com.facebook.android changing from /data/app/com.facebook.android-1.apk to /data/app/com.facebook.android-2.apk
07-18 23:23:38.646: W/PackageManager(67): Resource path for pkg : com.facebook.android changing from /data/app/com.facebook.android-1.apk to /data/app/com.facebook.android-2.apk
07-18 23:23:38.655: D/PackageManager(67): Activities: com.facebook.android.PushpinMobileActivity com.facebook.android.OAuthAccessTokenActivity com.facebook.android.Dashboard com.facebook.android.MendeleyAcessTokenActivity
07-18 23:23:38.845: D/dalvikvm(67): GC_FOR_MALLOC freed 1240K, 48% free 4374K/8391K, external 3520K/3903K, paused 185ms
07-18 23:23:38.855: I/ActivityManager(67): Force stopping package com.facebook.android uid=10034
07-18 23:23:39.180: I/installd(34): move /data/dalvik-cache/data#app#com.facebook.android-2.apk#classes.dex -> /data/dalvik-cache/data#app#com.facebook.android-2.apk#classes.dex
07-18 23:23:39.180: D/PackageManager(67): New package installed in /data/app/com.facebook.android-2.apk
07-18 23:23:39.576: I/ActivityManager(67): Force stopping package com.facebook.android uid=10034
07-18 23:23:39.795: D/dalvikvm(159): GC_EXPLICIT freed 194K, 50% free 2942K/5831K, external 2985K/3727K, paused 205ms
07-18 23:23:39.915: D/dalvikvm(131): GC_EXPLICIT freed 68K, 50% free 2964K/5895K, external 4803K/5279K, paused 183ms
07-18 23:23:40.285: D/dalvikvm(183): GC_EXPLICIT freed 128K, 52% free 2758K/5703K, external 1625K/2137K, paused 422ms
07-18 23:23:40.445: I/dalvikvm(159): Jit: resizing JitTable from 512 to 1024
07-18 23:23:40.545: W/RecognitionManagerService(67): no available voice recognition services found
07-18 23:23:41.105: D/dalvikvm(67): GC_EXPLICIT freed 424K, 49% free 4285K/8391K, external 3511K/3903K, paused 108ms
07-18 23:23:41.245: I/installd(34): unlink /data/dalvik-cache/data#app#com.facebook.android-1.apk#classes.dex
07-18 23:23:41.295: D/AndroidRuntime(430): Shutting down VM
07-18 23:23:41.327: I/AndroidRuntime(430): NOTE: attach of thread 'Binder Thread #3' failed
07-18 23:23:41.335: D/dalvikvm(430): GC_CONCURRENT freed 101K, 72% free 295K/1024K, external 0K/0K, paused 3ms+1ms
07-18 23:23:41.335: D/jdwp(430): Got wake-up signal, bailing out of select
07-18 23:23:41.335: D/dalvikvm(430): Debugger has detached; object registry had 1 entries
07-18 23:23:41.545: I/Launcher(131): setLoadOnResume
07-18 23:23:42.055: D/AndroidRuntime(444): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
07-18 23:23:42.055: D/AndroidRuntime(444): CheckJNI is ON
07-18 23:23:42.985: D/AndroidRuntime(444): Calling main entry com.android.commands.am.Am
07-18 23:23:43.066: I/ActivityManager(67): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.facebook.android/.PushpinMobileActivity } from pid 444
07-18 23:23:43.135: I/ActivityManager(67): Start proc com.facebook.android for activity com.facebook.android/.PushpinMobileActivity: pid=452 uid=10034 gids={3003}
07-18 23:23:43.155: D/AndroidRuntime(444): Shutting down VM
07-18 23:23:43.175: D/dalvikvm(444): GC_CONCURRENT freed 102K, 69% free 320K/1024K, external 0K/0K, paused 4ms+1ms
07-18 23:23:43.205: I/AndroidRuntime(444): NOTE: attach of thread 'Binder Thread #3' failed
07-18 23:23:43.205: D/jdwp(444): Got wake-up signal, bailing out of select
07-18 23:23:43.205: D/dalvikvm(444): Debugger has detached; object registry had 1 entries
07-18 23:23:43.585: D/dalvikvm(32): GC_EXPLICIT freed 11K, 53% free 2538K/5379K, external 1625K/2137K, paused 456ms
07-18 23:23:43.755: D/dalvikvm(32): GC_EXPLICIT freed <1K, 53% free 2538K/5379K, external 1625K/2137K, paused 168ms
07-18 23:23:44.097: D/dalvikvm(32): GC_EXPLICIT freed <1K, 53% free 2538K/5379K, external 1625K/2137K, paused 324ms
07-18 23:23:44.567: I/ActivityManager(67): Displayed com.facebook.android/.PushpinMobileActivity: +1s447ms
07-18 23:23:45.145: W/IInputConnectionWrapper(159): showStatusIcon on inactive InputConnection
07-18 23:23:49.746: D/dalvikvm(237): GC_EXPLICIT freed 18K, 55% free 2597K/5703K, external 1625K/2137K, paused 85ms
07-18 23:23:54.886: D/dalvikvm(159): GC_EXPLICIT freed 23K, 50% free 2944K/5831K, external 3005K/3727K, paused 145ms
07-18 23:23:59.906: D/dalvikvm(249): GC_EXPLICIT freed 6K, 54% free 2544K/5511K, external 1625K/2137K, paused 111ms
07-18 23:24:05.186: D/dalvikvm(311): GC_EXPLICIT freed 3K, 54% free 2537K/5511K, external 1625K/2137K, paused 50ms
07-18 23:24:20.515: D/dalvikvm(452): GC_EXTERNAL_ALLOC freed 819K, 56% free 2723K/6151K, external 1793K/2137K, paused 74ms
07-18 23:24:25.196: W/InputManagerService(67): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#40658160
07-18 23:24:30.906: I/Database(452): sqlite returned: error code = 14, msg = cannot open file at source line 25467
07-18 23:24:35.826: W/InputManagerService(67): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#406c8c70
07-18 23:24:53.035: D/dalvikvm(452): GC_CONCURRENT freed 1052K, 55% free 3042K/6727K, external 2079K/2562K, paused 20ms+11ms
07-18 23:25:03.306: I/fbID(452): 518993454
07-18 23:25:03.316: I/fb_token(452): <....>
07-18 23:25:03.436: D/dalvikvm(452): GC_CONCURRENT freed 803K, 55% free 3093K/6727K, external 2079K/2562K, paused 16ms+6ms
07-18 23:25:04.426: I/dalvikvm(452): Jit: resizing JitTable from 512 to 1024
07-18 23:25:08.706: I/System.out(452): Access Token =
07-18 23:25:08.716: I/System.out(452): Backend Response to Token Request:
07-18 23:25:08.727: I/System.out(452): Access Token = <....>
07-18 23:25:08.727: I/System.out(452): UserID = 70
07-18 23:25:08.727: I/System.out(452): Username = <....>
07-18 23:25:08.727: I/System.out(452): Expiration Timestamp = 1342697101
07-18 23:25:08.727: I/System.out(452): Facebook Token = <....>
07-18 23:25:08.727: I/System.out(452): Twitter Token = <....>
07-18 23:25:08.727: I/System.out(452): Twitter Token Secret = <....>
07-18 23:25:08.727: I/System.out(452): Mendeley Token =
07-18 23:25:08.739: I/System.out(452): Mendeley Token Secret =
07-18 23:25:08.817: I/ActivityManager(67): Starting: Intent { cmp=com.facebook.android/.Dashboard (has extras) } from pid 452
07-18 23:25:09.586: I/System.out(452): Got it! Lets see what we found...
07-18 23:25:09.586: I/System.out(452): 200
07-18 23:25:09.656: D/dalvikvm(452): GC_FOR_MALLOC freed 405K, 55% free 3043K/6727K, external 2129K/2562K, paused 70ms
07-18 23:25:12.706: D/dalvikvm(452): GC_FOR_MALLOC freed 58K, 53% free 3220K/6727K, external 2150K/2562K, paused 78ms
07-18 23:25:12.706: I/dalvikvm-heap(452): Grow heap (frag case) to 7.872MB for 87396-byte allocation
07-18 23:25:12.846: D/dalvikvm(452): GC_FOR_MALLOC freed <1K, 52% free 3306K/6855K, external 2150K/2562K, paused 66ms
07-18 23:25:13.026: D/dalvikvm(452): GC_FOR_MALLOC freed 0K, 52% free 3306K/6855K, external 2150K/2562K, paused 106ms
07-18 23:25:13.026: I/dalvikvm-heap(452): Grow heap (frag case) to 7.956MB for 87396-byte allocation
07-18 23:25:13.216: D/dalvikvm(452): GC_FOR_MALLOC freed 0K, 52% free 3391K/6983K, external 2150K/2562K, paused 123ms
07-18 23:25:13.596: W/ImageDownloader(452): Incorrect URL:
07-18 23:25:13.746: D/dalvikvm(452): GC_FOR_MALLOC freed 234K, 53% free 3319K/6983K, external 2272K/2562K, paused 57ms
07-18 23:25:14.956: I/ActivityManager(67): Displayed com.facebook.android/.Dashboard: +5s947ms
The problem was coming because I was using webview for Mendeley and Twitter on Android using scribe library. And I have solved it here
android webview function onPagefinished is called twice
And for Facebook the problem was because I was not adding the correct hash key the method given on Facebook page for Windows does not give you correct hash key. Please install openSSL to generate the key.

Categories

Resources