Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,235 Members 51,639 Now Online
XDA Developers Android and Mobile Development Forum

[App] AppWidgetPicker

Tip us?
 
rori~
Old
#21  
rori~'s Avatar
Senior Member
Thanks Meter 700
Posts: 3,942
Join Date: Aug 2009
Location: Vienna

 
DONATE TO ME
Quote:
Originally Posted by boombuler View Post
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
 
boombuler
Old
#22  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
Quote:
Originally Posted by rori~ View Post
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
 
rori~
Old
#23  
rori~'s Avatar
Senior Member
Thanks Meter 700
Posts: 3,942
Join Date: Aug 2009
Location: Vienna

 
DONATE TO ME
Quote:
Originally Posted by boombuler View Post
Thx this time I could see the bug

Will fix it as soon as I get home!

Regards
Florian
..Great!!
 
Martyn.h
Old
(Last edited by Martyn.h; 14th September 2010 at 11:35 AM.)
#24  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: 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
 
boombuler
Old
#25  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
Thats the same error rori~ reported...
Gonna fix it as soon as I am back home...

Regards
Florian
 
nicandris
Old
#26  
nicandris's Avatar
Recognized Developer
Thanks Meter 196
Posts: 1,102
Join Date: Jan 2009
Location: Nicosia
I cannot get it to install. I copied into /system/app abd rebooted twice but nothing
 
boombuler
Old
#27  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
What did you try to check if it is installed?
 
nicandris
Old
#28  
nicandris's Avatar
Recognized Developer
Thanks Meter 196
Posts: 1,102
Join Date: Jan 2009
Location: Nicosia
Long press screen + select widgets?

Sent from my Nexus One
 
boombuler
Old
#29  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
Any more information then "it does nothing" would be helpfull

maybe anything in logcat while booting or such things?
 
nicandris
Old
(Last edited by nicandris; 14th September 2010 at 02:38 PM.)
#30  
nicandris's Avatar
Recognized Developer
Thanks Meter 196
Posts: 1,102
Join Date: Jan 2009
Location: Nicosia
Quote:
Originally Posted by boombuler View Post
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)

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

Advanced Search
Display Modes