Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,869 Members 39,152 Now Online
XDA Developers Android and Mobile Development Forum

[App] AppWidgetPicker

Tip us?
 
boombuler
Old
(Last edited by boombuler; 28th January 2012 at 11:39 AM.)
#1  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
Default [App] AppWidgetPicker

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!
Attached Files
File Type: apk AppWidgetPicker-1.2.3.apk - [Click for QR Code] (16.4 KB, 47150 views)
File Type: apk AppWidgetPicker2.apk - [Click for QR Code] (22.8 KB, 17895 views)
The Following 186 Users Say Thank You to boombuler For This Useful Post: [ Click to Expand ]
 
bartito
Old
#2  
bartito's Avatar
Recognized Developer
Thanks Meter 1100
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
hi,
I needed to remove anything in / system in order yo use your application?
e.g. the original appwidgetpicker?
agree
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

 
boombuler
Old
(Last edited by boombuler; 11th September 2010 at 10:18 PM.)
#3  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
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
 
bartito
Old
#4  
bartito's Avatar
Recognized Developer
Thanks Meter 1100
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
/system/ data or / system/ app ?
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

 
boombuler
Old
#5  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
sorry /system/app corrected my last post...
first thinking then writing...
 
E_man5112
Old
#6  
Senior Member
Thanks Meter 35
Posts: 639
Join Date: Jul 2010
any hope for an eclair version? Excellent idea.
 
ZeroBarrier
Old
#7  
Senior Member
Thanks Meter 32
Posts: 104
Join Date: Apr 2010
Location: Las Vegas
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.
 
boombuler
Old
(Last edited by boombuler; 12th September 2010 at 08:47 AM.)
#8  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
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
 
xFlawless11x
Old
#9  
Senior Member
Thanks Meter 4
Posts: 119
Join Date: Jun 2010
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
HTC One - Current
Samsung Galaxy Nexus - Retired
HTC Incredible - Retired
Nexus 10 - Retired
Nexus 7 (2012) - Retired
 
boombuler
Old
#10  
boombuler's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 161
Join Date: Jul 2008

 
DONATE TO ME
Quote:
Originally Posted by xFlawless11x View Post
Getting force close on anything that doesn't have more then one option.
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

The Following User Says Thank You to boombuler For This Useful Post: [ Click to Expand ]
Tags
app, appwidgetpicker, froyo, system
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes