Post Reply

[App] AppWidgetPicker

OP boombuler

14th September 2010, 09:39 AM   |  #21  
rori~'s Avatar
Senior Member
Flag Vienna
Thanks Meter: 705
 
3,942 posts
Join Date:Joined: Aug 2009
Donate to Me
Quote:
Originally Posted by boombuler

Hi,

have you uninstalled the old version first?

Looks kind of weird that he searches for the file:
/system/app/com.boombuler.system.appwidgetpicker-1.apk

please try this:
1) delete apk from /system/app
2) uninstall from system (if still present)
3) remove any "com.boombuler.system*" file from /data/dalvik-cache
4) look if it uses the old dialog
5) if 4 was positive copy the apk to /system/app without installing anything

Regards
Florian

Uninstalled, wiped cache...
pushed apk to /system/app....
still fc

Code:
E/AndroidRuntime( 1297): FATAL EXCEPTION: main
E/AndroidRuntime( 1297): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.boombuler.system.appwidgetpicker/com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity}: java.lang.NullPointerException
E/AndroidRuntime( 1297):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
E/AndroidRuntime( 1297):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 1297):        at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 1297):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 1297):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1297):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1297):        at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1297):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1297):        at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1297):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1297):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 1297):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1297): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1297):        at com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity.putAppWidgetItems(AppWidgetPickerActivity.java:216)
E/AndroidRuntime( 1297):        at com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity.AddCustomAppWidgets(AppWidgetPickerActivity.java:212)
E/AndroidRuntime( 1297):        at com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity.onCreate(AppWidgetPickerActivity.java:58)
E/AndroidRuntime( 1297):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1297):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 1297):        ... 11 more
W/ActivityManager(  136):   Force finishing activity com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity
W/InputManagerService(  136): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4639df90
W/ActivityManager(  136): Activity pause timeout for HistoryRecord{46153fe0 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}
I/Process ( 1297): Sending signal. PID: 1297 SIG: 9
W/InputManagerService(  136): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4632e5f8
I/ActivityManager(  136): Process com.boombuler.system.appwidgetpicker (pid 1297) has died.
W/ActivityManager(  136): Activity destroy timeout for HistoryRecord{46153fe0 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}
D/dalvikvm( 1080): GC_EXPLICIT freed 1904 objects / 230624 bytes in 77ms
14th September 2010, 09:56 AM   |  #22  
boombuler's Avatar
OP Senior Member
Thanks Meter: 225
 
161 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Quote:
Originally Posted by rori~

Uninstalled, wiped cache...
pushed apk to /system/app....
still fc

Thx this time I could see the bug

Will fix it as soon as I get home!

Regards
Florian
14th September 2010, 09:58 AM   |  #23  
rori~'s Avatar
Senior Member
Flag Vienna
Thanks Meter: 705
 
3,942 posts
Join Date:Joined: Aug 2009
Donate to Me
Quote:
Originally Posted by boombuler

Thx this time I could see the bug

Will fix it as soon as I get home!

Regards
Florian

..Great!!
14th September 2010, 11:17 AM   |  #24  
Junior Member
Thanks Meter: 1
 
17 posts
Join Date:Joined: Feb 2010
I'm on a N1 with latest CM release and I'm getting a FC when I select the AppwidgetPicker action. Logcat as follows, if you need any more info - PM me although it looks the same as above.

09-14 11:15:08.251: ERROR/AndroidRuntime(2057): FATAL EXCEPTION: main
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.boombuler.system.appwidgetpicker/com.boombuler.system.appwidgetpicker.AppWidgetPick erActivity}: java.lang.NullPointerException
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2663)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2679)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread.access$2300(ActivityThr ead.java:125)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:2033)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.os.Handler.dispatchMessage(Handler.java:99 )
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.os.Looper.loop(Looper.java:123)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread.main(ActivityThread.jav a:4627)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at java.lang.reflect.Method.invokeNative(Native Method)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at java.lang.reflect.Method.invoke(Method.java:521)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:868)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:626)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at dalvik.system.NativeStart.main(Native Method)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): Caused by: java.lang.NullPointerException
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at com.boombuler.system.appwidgetpicker.AppWidgetPick erActivity.putAppWidgetItems(AppWidgetPickerActivi ty.java:216)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at com.boombuler.system.appwidgetpicker.AppWidgetPick erActivity.AddCustomAppWidgets(AppWidgetPickerActi vity.java:212)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at com.boombuler.system.appwidgetpicker.AppWidgetPick erActivity.onCreate(AppWidgetPickerActivity.java:5 8)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2627)
09-14 11:15:08.251: ERROR/AndroidRuntime(2057): ... 11 more
Last edited by Martyn.h; 14th September 2010 at 11:35 AM.
14th September 2010, 11:18 AM   |  #25  
boombuler's Avatar
OP Senior Member
Thanks Meter: 225
 
161 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Thats the same error rori~ reported...
Gonna fix it as soon as I am back home...

Regards
Florian
14th September 2010, 12:02 PM   |  #26  
nicandris's Avatar
Recognized Developer
Flag Nicosia
Thanks Meter: 198
 
1,102 posts
Join Date:Joined: Jan 2009
More
I cannot get it to install. I copied into /system/app abd rebooted twice but nothing
14th September 2010, 12:06 PM   |  #27  
boombuler's Avatar
OP Senior Member
Thanks Meter: 225
 
161 posts
Join Date:Joined: Jul 2008
Donate to Me
More
What did you try to check if it is installed?
14th September 2010, 12:34 PM   |  #28  
nicandris's Avatar
Recognized Developer
Flag Nicosia
Thanks Meter: 198
 
1,102 posts
Join Date:Joined: Jan 2009
More
Long press screen + select widgets?

Sent from my Nexus One
14th September 2010, 12:59 PM   |  #29  
boombuler's Avatar
OP Senior Member
Thanks Meter: 225
 
161 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Any more information then "it does nothing" would be helpfull

maybe anything in logcat while booting or such things?
14th September 2010, 02:31 PM   |  #30  
nicandris's Avatar
Recognized Developer
Flag Nicosia
Thanks Meter: 198
 
1,102 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by boombuler

Any more information then "it does nothing" would be helpfull

maybe anything in logcat while booting or such things?

hmmm ok let me get my cable. Doublechecked that the apk is in /system/app. apk is working (installing via app installer) and we reboot

*edit*

Code:
W/zipro   (  455): Unable to open zip '/system/app/AppWidgetPicker.apk': Permission denied

D/asset   (  455): failed to open Zip archive '/system/app/AppWidgetPicker.apk'

E/dalvikvm(  455): Invalid debug info stream. class Lcom/android/server/PackageManagerService;; proto (Landroid/content/Context;Z)V

W/PackageParser(  455): Unable to read AndroidManifest.xml of /system/app/AppWidgetPicker.apk

W/PackageParser(  455): java.io.FileNotFoundException: AndroidManifest.xml

W/PackageParser(  455):     at android.content.res.AssetManager.openXmlAssetNative(Native Method)

W/PackageParser(  455):     at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:485)

W/PackageParser(  455):     at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:453)

W/PackageParser(  455):     at android.content.pm.PackageParser.parsePackage(PackageParser.java:396)

W/PackageParser(  455):     at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2554)

W/PackageParser(  455):     at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:2479)

W/PackageParser(  455):     at com.android.server.PackageManagerService.<init>(PackageManagerService.java:823)

W/PackageParser(  455):     at com.android.server.PackageManagerService.main(PackageManagerService.java:681)

W/PackageParser(  455):     at com.android.server.ServerThread.run(SystemServer.java:122)
Last edited by nicandris; 14th September 2010 at 02:38 PM.

Post Reply Subscribe to Thread

Tags
app, appwidgetpicker, froyo, system
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank