FORUMS
Remove All Ads from XDA

[App] AppWidgetPicker

161 posts
Thanks Meter: 226
 
By boombuler, Senior Member on 11th September 2010, 09:47 PM
Post Reply Email Thread
13th September 2010, 08:06 AM |#11  
Senior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by boombuler

Would you mind providing me a log?

(Only FCs I've noticed so far is when the app isn't located on system in cause of the missing permissions)

Regards
Florian

Yea ill try and grab one tomorrow at some point.

Sent from my ADR6300 using XDA App
13th September 2010, 03:10 PM |#12  
Beackman's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 217
 
More
I'm have FC too, here the log when try to add the widget.

PS: the widget are in system/app folder too.
13th September 2010, 03:13 PM |#13  
boombuler's Avatar
OP Senior Member
Thanks Meter: 226
 
Donate to Me
More
Quote:
Originally Posted by Beackman

I'm have FC too, here the log when try to add the widget.

PS: the widget are in system/app folder too.

Info from your LogCat:
User 10093 does not have android.permission.BIND_APPWIDGET.

Have you installed the App to /system/app ??
Cause android didn't grant you the needed permission!

eclair or froyo?


Regards
Florian


Edit:
After inspecting the whole log:
You have installed the APK (which causes it to be installed to /data/app)
just copy it to /system/app instead of installing it... That should do the trick (uninstall it first )
13th September 2010, 05:19 PM |#14  
Beackman's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 217
 
More
Yea man, it works, sorry for that man, i just copy the apk for /system/app restart the phone and its works, i use Eclair version.

thx man, cheers.
14th September 2010, 09:27 AM |#15  
lil2good20's Avatar
Member
Flag Lancaster
Thanks Meter: 4
 
More
Smile Works on epic
all I did was installed it like a regular app because the epic don't have that app.
14th September 2010, 09:30 AM |#16  
boombuler's Avatar
OP Senior Member
Thanks Meter: 226
 
Donate to Me
More
Quote:
Originally Posted by lil2good20

all I did was installed it like a regular app because the epic don't have that app.

And it gants you the android.permission.BIND_APPWIDGET ??
Could you confirm that it work to add widgets with the new picker?

Regards
Florian
14th September 2010, 10:16 AM |#17  
rori~'s Avatar
Senior Member
Flag Vienna
Thanks Meter: 817
 
Donate to Me
More
..moved to /system/app...still fc.

Code:
D/dalvikvm(  260): GC_EXPLICIT freed 2581 objects / 124088 bytes in 65ms
I/ActivityManager(  133): Starting activity: Intent { act=android.appwidget.action.APPWIDGET_PICK cmp=com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity (has extras) }
I/ActivityManager(  133): Start proc com.boombuler.system.appwidgetpicker for activity com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity: pid=1149 uid=10133 gids={}
W/InputManagerService(  133): Window already focused, ignoring focus gain of: [email protected]
W/asset   ( 1149): Asset path /system/app/com.boombuler.system.appwidgetpicker-1.apk is neither a directory nor file (type=1).
D/AndroidRuntime( 1149): Shutting down VM
W/dalvikvm( 1149): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 1149): FATAL EXCEPTION: main
E/AndroidRuntime( 1149): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.boombuler.system.appwidgetpicker/com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity}: java.lang.ClassNotFoundException: com.boombuler.syst
em.appwidgetpicker.AppWidgetPickerActivity in loader dalvik.system.PathClassLoader[/system/app/com.boombuler.system.appwidgetpicker-1.apk]
E/AndroidRuntime( 1149):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
E/AndroidRuntime( 1149):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 1149):        at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 1149):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 1149):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1149):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1149):        at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1149):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1149):        at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1149):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1149):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 1149):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1149): Caused by: java.lang.ClassNotFoundException: com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity in loader dalvik.system.PathClassLoader[/system/app/com.boombuler.system.appwidgetpicker-1.apk]
E/AndroidRuntime( 1149):        at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 1149):        at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 1149):        at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 1149):        at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 1149):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
E/AndroidRuntime( 1149):        ... 11 more
W/ActivityManager(  133):   Force finishing activity com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity
W/InputManagerService(  133): Window already focused, ignoring focus gain of: [email protected]
W/ActivityManager(  133): Activity pause timeout for HistoryRecord{465d7728 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}
D/dalvikvm(  133): GC_FOR_MALLOC freed 33698 objects / 1969056 bytes in 140ms
I/Process ( 1149): Sending signal. PID: 1149 SIG: 9
W/InputManagerService(  133): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager(  133): Process com.boombuler.system.appwidgetpicker (pid 1149) has died.
exD/dalvikvm(  570): GC_EXPLICIT freed 596 objects / 38120 bytes in 54ms
W/ActivityManager(  133): Activity destroy timeout for HistoryRecord{465d7728 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}
14th September 2010, 10:22 AM |#18  
NexuSix's Avatar
Member
Flag Corvallis, Oregon
Thanks Meter: 4
 
More
Quote:
Originally Posted by ZeroBarrier

This is actually very nice.

A few questions though, I noticed it's not using the same window as the stock one, any chance you can make it use the stock window graphics? I ask because I theme my ROM and the window doesn't match the regular one 100%.

Also, the sorting of the widgets is different as well. For instance, the stock sorting puts my 3 "cubed" player on top of the list while with yours it's at the bottom of the list. Can it be made to sort the widgets like the stock one?

Other than those two things, it's actually perfect. I love this.

Works very nice on the N1, everything works smoothly without event. I actually like this very much, I also would like to see improvements on the GUI...I also got resorting, see attached screenshots:



Sent from my Nexus One using XDA App
Attached Thumbnails
Click image for larger version

Name:	ImageUploadByTapatalk.jpg
Views:	2471
Size:	13.7 KB
ID:	400828   Click image for larger version

Name:	CAP201009140114.jpg
Views:	10596
Size:	31.8 KB
ID:	400829  
14th September 2010, 10:22 AM |#19  
boombuler's Avatar
OP Senior Member
Thanks Meter: 226
 
Donate to Me
More
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
14th September 2010, 10:33 AM |#20  
NexuSix's Avatar
Member
Flag Corvallis, Oregon
Thanks Meter: 4
 
More
Quote:
Originally Posted by NexuSix

Works very nice on the N1, everything works smoothly without event. I actually like this very much, I also would like to see improvements on the GUI...I also got resorting, see attached screenshots:



Sent from my Nexus One using XDA App

Actually I posted too soon everytime I try to place a widget on the home screen using AppWidgetPicker I get a FC.

Sent from my Nexus One using XDA App
Attached Thumbnails
Click image for larger version

Name:	ImageUploadByTapatalk.jpg
Views:	2282
Size:	13.9 KB
ID:	400834  
14th September 2010, 10:39 AM |#21  
rori~'s Avatar
Senior Member
Flag Vienna
Thanks Meter: 817
 
Donate to Me
More
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: [email protected]
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: [email protected]
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
Post Reply Subscribe to Thread

Tags
app, appwidgetpicker, froyo, system

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes