yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] boombuler:
Hi there,

I published it a few weeks ago via twitter but I think I should post it here to:

I have written an App to replace the stock AppWidgetPicker. (you know long press on the homescreen -> add -> widget) which groups the widgets by packages.

So if you have a widget installed that has 3 different sizes, there is only one entry in the list and if you click it you can pick the size in a second dialog.

The main problem is that it needs to be installed on /system cause android will not grand the needed permission to any app installed on /data.

The APK is attached

The source can be found here

Its all released under Apache 2.0 license.

Hope you like it.

Instructions:

* Download the attached APK file

* Rename it to "AppWidgetPicker.apk"

* copy it to /system/app

* make sure it has the same file permissions as the other files in that directory

* maybe reboot.

*

Don't install it just copy it!

Other Information:

* Doesn't work with HTC-Sense but should work with all "Stock-Based" Launchers like Launcher PRO, ADW, Zeam etc. pp.

Screenshot Version 1.2.3:

Screenshot Version 2.0:

Have fun.

Boombuler

EDIT:

The attached version should work with eclair, froyo and gingerbread!

Changelog:

Version 2.0

* HC Style widget picking

Version 1.2.3

* fixed dutch translation

* added portuguese translation (Thx to PinhoPT)

Version 1.2.2

* added dutch translation (Thx to Hallahan)

* added norwegian translation (Thx to Royan)

* added russian translation (Thx to creage)

Version 1.2.1

* added italian translation (Thx to etoy)

* added france translation (Thx to EViollet)

Version 1.2.0

* Fixed sorting of the subitems

* now displays the number of subitems

Version 1.1.1

* Fixed sorting (Thx to Se7enLC)

Version 1.1.0

* Fixed layouts (should look more android like)

* Fixed black background while scrolling (with CM)

Version 1.0.1

* Fixed FC

everytime someone don't follow the instructions and get a FC afterwards a kitten dies!

Version 2 only works with android 3.1 or above!
[Android Apps and Games] Deleted member 267841:
hi,

I needed to remove anything in / system in order yo use your application?

e.g. the original appwidgetpicker?

agree
[Android Apps and Games] boombuler:
no.

I've set the priority of my app higher then the original one...

simply copy the apk to /system/app that should be all ;)
[Android Apps and Games] Deleted member 267841:
/system/ data or / system/ app ?
[Android Apps and Games] boombuler:
sorry /system/app ;) corrected my last post...

first thinking then writing...
[Android Apps and Games] E_man5112:
any hope for an eclair version? Excellent idea.
[Android Apps and Games] 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.
[Android Apps and Games] boombuler:
Hi,

I was trying to make this on look like the stock once but I failed... If someone with some more Android GUI knowlede might have a look it would be nice...

Sorting is different? Shouldn't be but I have a look!

For the eclair version: If I have someone to test this stuff I'll try to ;)

-- boombuler

Edit:

Uploaded eclair version in first post... please test this
[Android Apps and Games] xFlawless11x:
Getting force close on anything that doesn't have more then one option.

Droid Incredible

FrankenROM

But I love the concept, keep up the good work.

-Flawless
[Android Apps and Games] 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
[Android Apps and Games] xFlawless11x:
Yea ill try and grab one tomorrow at some point.
[Android Apps and Games] Beackman:
I'm have FC too, here the log when try to add the widget.

PS: the widget are in system/app folder too.
[Android Apps and Games] boombuler:
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 ;))
[Android Apps and Games] Beackman:
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.
[Android Apps and Games] lil2good20:
Works on epic

all I did was installed it like a regular app because the epic don't have that app. ;)
[Android Apps and Games] boombuler:
And it gants you the android.permission.BIND_APPWIDGET ??

Could you confirm that it work to add widgets with the new picker?

Regards

Florian
[Android Apps and Games] 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:
[Android Apps and Games] 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
[Android Apps and Games] NexuSix:
Actually I posted too soon everytime I try to place a widget on the home screen using AppWidgetPicker I get a FC.
[Android Apps and Games] nanujra:
Works like a charm on my htc desire, running launcher pro on MIUI rom 11.19.

Thankyousomuch! Its been sucha pain in the ass scrolling down the long lists all this while. I'm so glad i found this thread!
[Android Apps and Games] r@nd0m:
Just updated my galaxy s to 2.2 and had to put this back on. Great app and saves having to scroll through such a long list when picking a widget.
[Android Apps and Games] Ste11a:
Awesome! It works flawlessly on my Vibrant with Launcher Pro Plus. Thanks so much for all your hard work.

ETA: I thought it was working because the menu popped up but now when I try to select a widget, it force closes. :(
[Android Apps and Games] :
i keep getting force closes on my droid 2 :( would love to use this. i HATE the clutter of the widgets menu.
[Android Apps and Games] boombuler:
Have you installed it to /system/app or just "installed" the apk?
[Android Apps and Games] dwizzo:
I was using this app with ADW and it worked great, but it does not appear to work with a totally stock (rooted) Droid X.
[Android Apps and Games] boombuler:
Maybe if the Motorola launcher has an own implementation of it...
[Android Apps and Games] dwizzo:
Not sure I understand what you mean?
[Android Apps and Games] MtnDewMan:
Great looking app. Force close every time when applying a widget

Samsung Fascinate
[Android Apps and Games] boombuler:
Hi,

how have you installed it?
[Android Apps and Games] Riverriz:
Awesome! Didnt even have to reboot phone and it working. Thanks!
[Android Apps and Games] MtnDewMan:
I uninstalled.

Then I reread install instructions (always good to do).

Placed app in /system/app folder

Changed permissions

Voila, it works like a charm.

Thanks!
[Android Apps and Games] sopasnor:
great idea!

thank u very much!!
[Android Apps and Games] emelie:
perfekt extension to the system - that's what i always wanted!

but still i'm going to keep bugging developers to provide the option to disable unwanted widget sizes ;)

followed the installations instructions and didn't need to reboot - works as described!

thanks very much!
[Android Apps and Games] djmcnz:
Buy Autostarts, scroll to bottom (last entry) and disable the widgets you don't want.

Not only is it worth the few bucks for that alone, you can also disable auto-start apps as well (you'd be surprised what auto-starts at boot), every Android owner should have this app.
[Android Apps and Games] SkitchBeatz:
DG added this to his Perception ROM and its awesome
[Android Apps and Games] emelie:
Thanks very much for the hint!

I already have it installed and played around with it. But the only thing i've used it for so far was startup stuff.

That's great! ;)
[Android Apps and Games] Biofall:
Thanks soo much, I really needed something like this. I really appreciate it!
[Android Apps and Games] Jip-Hop:
Thank you very much :)

very usefull.

Can't understand why this is not built in from the start!
[Android Apps and Games] ZeeL:
works a treat, thanks
[Android Apps and Games] dwizzo:
Any chance this app can be updated to work on a stock, rooted Droid X?
[Android Apps and Games] thinkou:
thanks,it's very good
[Android Apps and Games] boombuler:
Hi,

it alread should work with a stock rooted Droid X.
[Android Apps and Games] FormelLMS:
Thanks, it's very useful.

I don't know, why google don't use it in stock android.
[Android Apps and Games] Scott48:
Instructions:

* Download the attached APK file

* Rename it to "AppWidgetPicker.apk"

* copy it to /system/app

* make sure it has the same file permissions as the other files in that directory

* maybe reboot.

How do I change the permissions after I copy the file to the /system/app folder?
[Android Apps and Games] Spitemare:
From a terminal:

chmod 644 /system/app/AppWidgetPicker*.apk

Note, renaming the file isn't strictly necessary.
[Android Apps and Games] dwizzo:
It does not work for me with a totally stock, rooted Droid X (2.2.1 froyo OTA). I am using the stock launcher. It worked when I used ADW, but not with the stock launcher.
[Android Apps and Games] boombuler:
Easy thing: For adding a widget the stock DroidX launcher does not ask the system to pick a widget. It simply does it all by itself.
[Android Apps and Games] dwizzo:
OK. So I will need to use ADW or LP. OK, thanks.
[Android Apps and Games] FoCMB:
very useful. thanks a lot.
[Android Apps and Games] Adevem:
works great, no reboot required :D
[Android Apps and Games] Danny Benavides:
You just need app Root Explorer.And also be root
[Android Apps and Games] Scott48:
Ok, at the command prompt in terminal emulator all I need to do is just type this in and it will work? I noticed that the permissions on the apps already there are -r- and this file is -rw-. Is this what the above line of code changes?
[Android Apps and Games] Spitemare:
644 means owner has read/write while group and everyone else has just read. Nobody has execute permission.

If you do an 'ls -l /system/app' you'll see that every other apk in /system/app has '-rw-r--r--' listed as its permission. That corresponds to the octal triplet 644.
[Android Apps and Games] Scott48:
Just curious, can you change the permissions in Root Explorer? There are 9 different permission options available, but I don't know if you can change them or which to select.
[Android Apps and Games] Adevem:
[x][x][ ]

[x][ ][ ]

[x][ ][ ]

tick them and you'll have the right permissions.
[Android Apps and Games] Scott48:
Perfect! That's exactly what I needed! Works perfectly on my X. Great app!
[Android Apps and Games] tytdfn:
Two questions: Do you need a Spanish translation? And what is the name of the game on your avatar?
[Android Apps and Games] boombuler:
as far as I see it for now Spanish is still missing (not much work ^^)

and the game is "Day of the tentacle" (Maniac Mansion 2)
[Android Apps and Games] Tibedabeeto:
Thanks love the app, now I have the feature in my Sense Rom. I just downloaded it and installed it and it worked. Thanks Man great app.
[Android Apps and Games] whoalun:
HI,

I installed the apk..but everytime I actually choose a widget it FC on me...

on stock rom on an x10 using eclair
[Android Apps and Games] Little Dragon:
big ups to the dev here! been trying to install this but didn't have much success.. thank jebus that it was included in Assonance! loving this now
[Android Apps and Games] dustinb17:
Seems to work fine on Gingerbread. At least it works on R2D's Gingerbread ROM for the HTC Incredible.
[Android Apps and Games] junkyhlm:
Really great app. 1000 times better than stock android :)

Sent from my GT-i9000, FROYO.Doc_V6 (XXJPX_2.2.1), hardcore's speedmod k11c @500hz (ext4 all)
[Android Apps and Games] Adevem:
if you have FC, just reboot. give right permissions first.
[Android Apps and Games] duckredbeard:
You got this to work on Sense? What did you do different than the dev's instructions? I can't get it to work on my Liberated (FR008) Aria with FroYo.
[Android Apps and Games] michellynn11:
I have an x5a tablet running android 2.1. Do I need root explorer to copy the apk file to \system\app? I cannot access this file by mounting my tablet to the computer. When I try to copy the file from anywhere on my tablet to \system\app in any other file explorer the copy fails. Any explanation? Thanks!
[Android Apps and Games] boombuler:
I guess: your file system is read-only cause you don't have root?
[Android Apps and Games] c0oL:
Great work! :)
[Android Apps and Games] mrbodk:
Idem, excellent work, this feature should exist by default in android :)
[Android Apps and Games] quixotic_elixer:
Just to clarify, does this require my phone to be rooted? I'm hoping htis works on a stock captivate.

Thanks!~
[Android Apps and Games] Adevem:
any modification to /system always requires root ;p
[Android Apps and Games] :
Awesome i love it ;)

Edit:	You have to move it to system/app because if you dont do it it does force close
[Android Apps and Games] boombuler:
If you just install it it will force close as soon as you select a widget! Cause at least foyo will not grant any app the needed permission to "bind widgets" if it is no system app...
[Android Apps and Games] Marurban:
On my HTC Wildfire in LPP force close.
[Android Apps and Games] reinbeau:
I'm very new to ADB, but I'd like to try to install this via ADB. Where do you put the .apk if you want to 'push' it via ADB? I have the commands, I think:

c:\android-sdk-windows\tools>adb remount

c:\android-sdk-windows\tools>adb push AppWidgetPicker.apk /system/app

Is that correct?
[Android Apps and Games] boombuler:
Please read the installation hints ;)

that should be right! Maybe you have to set the permissions but you could give it a try!
[Android Apps and Games] reinbeau:
Thank you, but I fired up the XDA app and did it that way - and it worked! Everything is a learning experience (figuring out where XDA downloaded the apk to, renaming and then copying it into the proper folder via Root Explorer) :) Thank you for the help, though. I'll use ADB soon enough!

The new widget picker is wonderful, thank you for it, boombuler, it works great on my Captivate!

One part of my question remains unanswered - where would you put the .apk in order to 'push' it via ADB?
[Android Apps and Games] Symondo:
bingo - exact issue i have. no it is not rooted, im unsure how exactly to root the device
[Android Apps and Games] makamiso:
Just installed (if that is the right word if no installation process occurs? lol) and its working perfectly. Why this isn't standard on android so far confuses me as some of the widgets add so many options it takes forever to scroll as you add more and more. Thanks again.
[Android Apps and Games] rockstar33125:
Whenever I try to copy the .apk to system/root, it tells me it can't do it because it is read only. I've rooted my device using z4root, but it still comes up with the same error. Is there anyway to fix it?
[Android Apps and Games] boombuler:
"adb remount"
[Android Apps and Games] reinbeau:
How are you doing the copying? Are you using Root Explorer? If you are, make sure to click the R/W at the top left to make it read/write. If it's set to R/O it'll be read only.
[Android Apps and Games] Symondo:
is there any alternative to root explorer? i hate to souund tight but i dont want to spend a few quid to apply a fix which should of been there in the first place
[Android Apps and Games] Adevem:
Super Manager / Estrong Manager(enable root)

without saying, both require root lol.
[Android Apps and Games] Symondo:
Cheers I'll try either of these.

Ive got z4root and can temporarily apply root to the device to do this.

i assume ive to apply superuser status to either of these applications?
[Android Apps and Games] badboy4life:
Works great on Milestone 2 with LPP.

Copied to /system/app/ using Root Explorer, set permissions to rw- r-- r-- and rebooted.
[Android Apps and Games] mskks64:
Any chance you can get something like this to work with miui rom?
[Android Apps and Games] Symondo:
I finally managed to root my device, get this working using supermanager. Also have the xda app! Finally this tablet is doing as I ask lol
[Android Apps and Games] sshick:
Sony Ericsson Xperia X10i. android 2.1

Error process. When you try to add a widget.
[Android Apps and Games] boombuler:
Please read the first post again ;)
[Android Apps and Games] xriderx66:
This is perfect! Thanks!

Samsung galaxy s vibrant

No problems yet!
[Android Apps and Games] sshick:
unless I missed something?
[Android Apps and Games] frazm22:
do you know if it works with Touch Wiz 3.0???

Just this is a great thing but im not too big a fan of Launcher Pro etc.

Cheers
[Android Apps and Games] xriderx66:
Download another launcher, then download this put it in place.

See if it works and if it doesn't or messes up touch wiz, then use the other launcher to delete this, file from, system/apps

Easy as that!
[Android Apps and Games] sshick:
Thank you. Figured out.

The author will not mind if we add the Russian language?
[Android Apps and Games] squire23:
Stupid question I'm sure but I'm assuming you need root access for this? I can't seem to send my file to system/app at all
[Android Apps and Games] reinbeau:
Yes, you do.
[Android Apps and Games] Symondo:
z4 root worked well for me
[Android Apps and Games] ronnbon:
xt720 rooted / launcher pro

funzt bei mir net- kann es problemlos mit den entsprechenden permissions im system/app- folder installieren, aber passieren tut auch nach einem reboot nichts...

Idee? :(

(for all: does not work at my xt720 so far-no problems but no change as well...)
[Android Apps and Games] JerryGNYC:
Hi, just checking -

When you say the permissions are correct - do you mean the folder, or the apk file? The apk should be rw-r--r--

And the apk has been renamed to remove the version number?

Regards,

-Jerry
[Android Apps and Games] latinmaxima:
This seems to work great. I just installed on Samsung Moment Running DJO7 rooted deodexed with Inxane 0.6.2 kernel. Thanks!
[Android Apps and Games] ronnbon:
Meant the apk, but problem is solved. Got an pm from another xt720 owner and he told me just to put the apk with the right permissions there and not install it... Sounds odd, but afterwards it worked for me...

Thank you- its a very useful thing!!!
[Android Apps and Games] boombuler:
Simple thing: if you install it it will be copied to /data/app and launched from there.

That causes that the app don't get the bind_widget permission so that the app can't work!
[Android Apps and Games] ronnbon:
Ohhh, did not know... so if I place special or modded apks in system/app i shall never install them... just leave them there with the right permissions?
[Android Apps and Games] boombuler:
if you copy a apk to /system/app it shouldn't need to be installed. At that location are the apps that are distributed by the system builders and they can get some permissions which others don't get.
[Android Apps and Games] HyperCriSiS:
Will there be support for sense anytime?
[Android Apps and Games] boombuler:
Sorry as long as sense doing the widgetbinding on their own there is no change to get this working with sense!
[Android Apps and Games] m1ket:
ignore wrong thread
[Android Apps and Games] Braakie:
Thanks,

It works perfectly on the standard desire ROM (NAND HD2) of DFT.
[Android Apps and Games] fasthair:
I for the life of me can't get this to work. Stock rooted Droid X deoxed. All of the permissions are set correctly and it copied to system/apps using Root Explore. I even tried pushing with Terminal Emulator and still no dice.

At one time I did "install" the apk only later from reading here that was a no no. What am I missing? Or does this not work for the DX?

Thanks,

fasthair
[Android Apps and Games] boombuler:
Hi,

which launcher do you use?

For "MotoBlur" there might be the same issue as for Sense: They do the AppWidget picking on their own and don't use the API. In that case I have no chance to use my dialog.

Regards

Boombuler
[Android Apps and Games] fasthair:
Just stock MotoBlur. It appears some of the users over at the Droid X forums have got it working with little to no trouble so I'm really kind of miffed why I'm having so much trouble.

Anyway thanks for the reply. It looks like a very nicely done app. I just wish I could get it to work. My phone is begging for a fresh OS flash so maybe after that this will work.

fasthair
[Android Apps and Games] cristy_15kis:
are working on galaxy s?

____________

Darky's rom V8
[Android Apps and Games] Little Dragon:
Working on mine
[Android Apps and Games] lukogriffioen:
This is one of those simple but brilliant apps!

Should have been build into android as a standard.
[Android Apps and Games] sageDieu:
Yeah, this works great on my Mesmerize.

Sent from my Galaxy S.
[Android Apps and Games] St1ng3r:
Works perfectly on the Milestone 2 (standard rom Brasil)

Thanks
[Android Apps and Games] DarthCivicus:
I've been getting force close on it when ever I try to add a widget. but I installed it through Astro.... do I need a different folder explorer to see system/App? Also should I uninstall it and flash it through clockwork or something like that?
[Android Apps and Games] JRFogarty:
Happened to me. Rebooted phone and the force closes went away.
[Android Apps and Games] boombuler:
Hi,

uninstall it completly and then just COPY the apk to /system/app

Noting more or less if you get a FC!
[Android Apps and Games] sageDieu:
this works great for me, thanks!

Sent from my Galaxy S.
[Android Apps and Games] Gary3946:
I got my first android tablet today, tried doing this as my widgets dont work, tried copying over to system/app but it just says copy failed
[Android Apps and Games] boombuler:
Is your system partition mounted writeable?
[Android Apps and Games] Gary3946:
LMAO i have no idea, all i know is the model of the tablet

X5A 4GB Telechip 8902
[Android Apps and Games] MultiCulti:
is it working, if i move the apk in the ROM before flashing?
[Android Apps and Games] boombuler:
yes! (if you take care of the permissions)
[Android Apps and Games] MultiCulti:
:rolleyes: ... noobi question ... how to set it before flashing?
[Android Apps and Games] lukogriffioen:
Want to know that to! that's probably the reason why my system won't boot when I build my own framework in the rom
[Android Apps and Games] Crozzbow:
was searching for smth like this from long time

and no problems AFTER reading the installation guide :D

thanks for this nice app!
[Android Apps and Games] alexlost:
I have been searching for this kind of app for a long time!

Thank you for this!
[Android Apps and Games] boombuler:
for those of you baking own roms:

the update-script file contains the permission setting code...
[Android Apps and Games] jillmec:
hi

i love this app! but since 2 days, every time i choose a widget, it will force close.

i tryed to reinstall but it dont work.

defy stock

can anyone help me? i become crazy with a widged list that is endless.

(sry for my bad english, i´m from germany and its late :D)

cu
[Android Apps and Games] boombuler:
Could you provide a log?
[Android Apps and Games] linkinpark4175:
Works great in ZTE Blade, thanks a lot!