Android - Signed Application Gives a force close, but Unsigned .apk not - android

I'm exporting my signed application and it gives a force close. But normally the unsigned version of the same app working correctly. How can i solve this?
Any Suggestions?
This is my apps log
08-17 14:58:00.000: V/AlarmManager(132): --- from triggerAlarmsLocked operation:
com.acer.android.widget.digitalclock
08-17 14:58:00.000: I/AlarmManager(132): ----Alarm type: 1Second:1345215600.0
08-17 14:58:00.000: I/AlarmManager(132): Alarm type : 1, from setRepeating operation : android
08-17 14:58:00.000: I/AlarmManager(132): ----Alarm type: 1Second:1345215540.0
08-17 14:58:00.170: V/AlarmManager(132): --- from triggerAlarmsLocked operation: com.google.android.gsf
08-17 14:58:00.170: I/AlarmManager(132): ----Alarm type: 0Second:1345216639.530000000
08-17 14:58:01.040: D/Finsky(643): [1] 5.onFinished: Installation state replication succeeded.
08-17 14:58:02.700: D/AndroidRuntime(6545): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
08-17 14:58:02.700: D/AndroidRuntime(6545): CheckJNI is OFF
08-17 14:58:02.810: D/AndroidRuntime(6545): Calling main entry com.android.commands.pm.Pm
08-17 14:58:02.810: D/AndroidRuntime(6545): Shutting down VM
08-17 14:58:02.810: I/AndroidRuntime(6545): NOTE: attach of thread 'Binder Thread #3' failed
08-17 14:58:02.820: D/dalvikvm(6545): GC_CONCURRENT freed 99K, 87% free 337K/2560K, paused 0ms+0ms
08-17 14:58:02.820: D/dalvikvm(6545): Debugger has detached; object registry had 1 entries
08-17 14:58:04.000: D/AndroidRuntime(6556): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
08-17 14:58:04.000: D/AndroidRuntime(6556): CheckJNI is OFF
08-17 14:58:04.130: D/AndroidRuntime(6556): Calling main entry com.android.commands.pm.Pm
08-17 14:58:04.170: D/dalvikvm(819): GC_EXPLICIT freed 76K, 11% free 6338K/7047K, paused 2ms+2ms
08-17 14:58:04.170: W/ActivityManager(132): No content provider found for:
08-17 14:58:04.190: D/PackageParser(132): Scanning package: /data/app/vmdl1300267645.tmp
08-17 14:58:04.190: W/ActivityManager(132): No content provider found for:
08-17 14:58:04.440: D/dalvikvm(132): GC_CONCURRENT freed 1889K, 38% free 17760K/28359K, paused 2ms+6ms
08-17 14:58:04.450: D/PackageManager(132): Scanning package air.com.cepall.bilgiyarismasi
08-17 14:58:04.450: I/PackageManager(132): Unpacking native libraries for /data/app/air.com.cepall.bilgiyarismasi-1.apk
08-17 14:58:04.590: D/dalvikvm(6565): DexOpt: load 10ms, verify+opt 87ms
08-17 14:58:04.640: D/PackageManager(132): Activities: air.com.cepall.bilgiyarismasi.BilgiYarismasiActivity air.com.cepall.bilgiyarismasi.SoruGonderSayfasi air.com.cepall.bilgiyarismasi.KategoriSayfasi air.com.cepall.bilgiyarismasi.YarismaSayfasi air.com.cepall.bilgiyarismasi.OyunBittiSayfasi air.com.cepall.bilgiyarismasi.AyarlarSayfasi air.com.cepall.bilgiyarismasi.SkorGonderSayfasi air.com.cepall.bilgiyarismasi.SkorGonderildiSayfasi air.com.cepall.bilgiyarismasi.OdulluYarismaSayfasi air.com.cepall.bilgiyarismasi.FacebookLib
08-17 14:58:04.640: I/ActivityManager(132): Force stopping package air.com.cepall.bilgiyarismasi uid=10077
08-17 14:58:04.740: D/PackageManager(132): New package installed in /data/app/air.com.cepall.bilgiyarismasi-1.apk
08-17 14:58:04.920: D/PackageManager(132): generateServicesMap(android.accounts.AccountAuthenticator): 4 services unchanged
08-17 14:58:04.940: I/Launcher(216): setLoadOnResume
08-17 14:58:04.950: D/GTalkService(257): [GTalkService.1] handlePackageInstalled: re-initialize providers
08-17 14:58:04.950: D/GTalkService(257): [RawStanzaProvidersMgr] ##### searchProvidersFromIntent
08-17 14:58:04.970: I/AlarmManager(132): Alarm type : 0, from setRepeating operation : com.android.vending
08-17 14:58:04.970: D/PackageManager(132): generateServicesMap(android.content.SyncAdapter): 13 services unchanged
08-17 14:58:04.970: I/AlarmManager(132): ----Alarm type: 0Second:1345215499.982000000
08-17 14:58:04.980: I/AccountTypeManager(280): Loaded meta-data for 3 account types, 2 accounts in 5ms
08-17 14:58:05.020: D/dalvikvm(280): GC_CONCURRENT freed 380K, 9% free 6831K/7495K, paused 37ms+13ms
08-17 14:58:05.190: D/dalvikvm(132): GC_EXPLICIT freed 1148K, 38% free 17834K/28359K, paused 5ms+13ms
08-17 14:58:05.190: D/AndroidRuntime(6556): Shutting down VM
08-17 14:58:05.200: D/dalvikvm(6556): GC_CONCURRENT freed 100K, 87% free 341K/2560K, paused 1ms+1ms
08-17 14:58:05.200: D/jdwp(6556): Got wake-up signal, bailing out of select
08-17 14:58:05.200: D/dalvikvm(6556): Debugger has detached; object registry had 1 entries
08-17 14:58:05.210: I/AndroidRuntime(6556): NOTE: attach of thread 'Binder Thread #3' failed
08-17 14:58:05.300: D/BatteryService(132): level:12 scale:100 status:3 health:2 present:true voltage: 3675 temperature: 309 technology: Li-ion AC powered:false USB powered:false icon:17302707 invalid charger:0
08-17 14:58:05.360: D/dalvikvm(216): GC_CONCURRENT freed 2654K, 45% free 13381K/24007K, paused 2ms+5ms
08-17 14:58:05.370: D/AndroidRuntime(6571): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
08-17 14:58:05.370: D/AndroidRuntime(6571): CheckJNI is OFF
08-17 14:58:05.510: D/AndroidRuntime(6571): Calling main entry com.android.commands.am.Am
08-17 14:58:05.510: I/ActivityManager(132): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=air.com.cepall.bilgiyarismasi/.BilgiYarismasiActivity } from pid 6571
08-17 14:58:05.530: D/AndroidRuntime(6571): Shutting down VM
08-17 14:58:05.530: I/AndroidRuntime(6571): NOTE: attach of thread 'Binder Thread #3' failed
08-17 14:58:05.540: D/dalvikvm(216): GC_CONCURRENT freed 1927K, 44% free 13500K/24007K, paused 2ms+10ms
08-17 14:58:05.540: D/dalvikvm(6571): GC_CONCURRENT freed 102K, 86% free 368K/2560K, paused 1ms+1ms
08-17 14:58:05.540: D/jdwp(6571): Got wake-up signal, bailing out of select
08-17 14:58:05.540: D/dalvikvm(6571): Debugger has detached; object registry had 1 entries
08-17 14:58:05.550: I/ActivityManager(132): Start proc air.com.cepall.bilgiyarismasi for activity air.com.cepall.bilgiyarismasi/.BilgiYarismasiActivity: pid=6580 uid=10077 gids={3003}
08-17 14:58:05.620: D/TabletStatusBar(186): lights on
08-17 14:58:05.680: D/dalvikvm(6580): GC_FOR_ALLOC freed 40K, 5% free 6360K/6659K, paused 31ms
08-17 14:58:05.690: I/dalvikvm-heap(6580): Grow heap (frag case) to 7.775MB for 1536016-byte allocation
08-17 14:58:05.770: D/dalvikvm(6580): GC_CONCURRENT freed 0K, 5% free 7860K/8199K, paused 2ms+3ms
08-17 14:58:05.830: D/dalvikvm(216): GC_CONCURRENT freed 1730K, 43% free 13778K/24007K, paused 2ms+9ms
08-17 14:58:05.870: D/dalvikvm(6580): GC_FOR_ALLOC freed 27K, 3% free 8004K/8199K, paused 33ms
08-17 14:58:05.940: D/dalvikvm(6580): GC_CONCURRENT freed 43K, 3% free 8528K/8711K, paused 3ms+5ms
08-17 14:58:05.990: I/ActivityManager(132): Starting: Intent { cmp=air.com.cepall.bilgiyarismasi/.AyarlarSayfasi (has extras) } from pid 6580
08-17 14:58:06.040: D/HAL(6580): [HAL] hw_get_module:share library path:/system/lib/hw/gralloc.tegra.so
08-17 14:58:06.360: I/ActivityManager(132): Displayed air.com.cepall.bilgiyarismasi/.AyarlarSayfasi: +317ms (total +817ms)
08-17 14:58:06.360: D/TabletStatusBar(186): lights on
08-17 14:58:06.380: I/ActivityManager(132): No longer want com.metago.astro (pid 6019): hidden #16
08-17 14:58:08.250: D/dalvikvm(6580): GC_CONCURRENT freed 236K, 5% free 8952K/9351K, paused 2ms+2ms
08-17 14:58:12.220: D/dalvikvm(829): GC_EXPLICIT freed 79K, 6% free 7199K/7623K, paused 4ms+2ms
08-17 14:58:12.530: D/TabletStatusBar(186): lights on
08-17 14:58:12.540: W/InputManagerService(132): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy#41ccb688 (uid=1000 pid=6176)
08-17 14:58:12.740: D/dalvikvm(205): GC_FOR_ALLOC freed 2497K, 30% free 7589K/10695K, paused 29ms
08-17 14:58:12.740: I/dalvikvm-heap(205): Grow heap (frag case) to 9.271MB for 1848336-byte allocation
08-17 14:58:12.780: D/dalvikvm(205): GC_CONCURRENT freed 0K, 13% free 9394K/10695K, paused 3ms+2ms
08-17 14:58:17.820: D/dalvikvm(879): GC_EXPLICIT freed 33K, 6% free 6506K/6919K, paused 14ms+2ms
08-17 14:58:19.970: V/AlarmManager(132): --- from triggerAlarmsLocked operation: com.google.android.gsf
08-17 14:58:19.970: I/AlarmManager(132): ----Alarm type: 0Second:1345216639.530000000
08-17 14:58:20.130: D/Finsky(643): [1] 5.onFinished: Installation state replication succeeded.

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?

How can i install Adobe Air on Genymotion emulator

I'm trying to install Adobe Air (com.adobe.air) in a Genymotion emulator emulating a Galaxy S4 with android 4.4.4 and I am getting:
Failure [INSTALL_FAILED_INVALID_APK]
With adb logcat I can see:
D/AndroidRuntime( 2350):
D/AndroidRuntime( 2350): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2350): CheckJNI is OFF
D/dalvikvm( 2350): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 2350): Added shared lib libjavacore.so 0x0
D/dalvikvm( 2350): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2350): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 2350): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 2350): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
E/memtrack( 2350): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 2350): failed to load memtrack module: -2
D/AndroidRuntime( 2350): Calling main entry com.android.commands.pm.Pm
W/ActivityManager( 517): No content provider found for permission revoke: file:///data/local/tmp/Adobe.AIR.v16.0.0.259_www.revdl.com.apk
W/ActivityManager( 517): No content provider found for permission revoke: file:///data/local/tmp/Adobe.AIR.v16.0.0.259_www.revdl.com.apk
I/PackageManager( 517): Copying native libraries to /data/app-lib/vmdl1421280503
D/dalvikvm( 517): GC_FOR_ALLOC freed 1626K, 20% free 10767K/13324K, paused 12ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 309K, 17% free 11063K/13324K, paused 9ms, total 9ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 1138K, 17% free 11163K/13324K, paused 11ms, total 11ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 1036K, 17% free 11173K/13324K, paused 11ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 996K, 17% free 11171K/13324K, paused 9ms, total 10ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 985K, 17% free 11176K/13324K, paused 11ms, total 12ms
D/dalvikvm( 517): GC_FOR_ALLOC freed 987K, 17% free 11184K/13324K, paused 9ms, total 9ms
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = org.mozilla.firefox
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = org.mozilla.firefox_beta
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = com.good.android.gfe
D/xmlCheckExt( 517): <filter>
D/xmlCheckExt( 517): pkgName = com.adobe.air
I/PackageManager( 517): Package with second ABI is in black list: 10079com.adobe.air
W/PackageManager( 517): Package couldn't be installed in /data/app/com.adobe.air-1.apk
D/dalvikvm( 517): GC_EXPLICIT freed 1038K, 17% free 11162K/13324K, paused 1ms+1ms, total 12ms
D/AndroidRuntime( 2350): Shutting down VM
I noted the following piece in the log:
D/xmlCheckExt( 517): pkgName = com.adobe.air
I/PackageManager( 517): Package with second ABI is in black list: 10079com.adobe.air
But when I try:
adb shell pm unblock com.adobe.air
I'm getting:
Package com.adobe.air new blocked state: true
How can I unblock / remove from the blacklist Adobe Air package?
I think that you could find the apk in the sdk folder. In mac is here:
/Applications/Research In Motion/blackberry-tablet-sdk-3.2.1/runtimes/air

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