Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP][SENSE 3.6/4/4A/4.5][2012/9/17 1.42]HTC Lockscreen Shortcut Provider

OP itandy

7th September 2012, 05:45 AM   |  #1  
itandy's Avatar
OP Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,729 posts
Join Date:Joined: Apr 2010
More
This is my second Android app. I develop this little app because I prefer 3rd party launcher (e.g. Apex) than existing Sense 4 Rosie. Existing hacked Sense 4 Rosie (full version) currently doesn't support non Sense widget correctly and is less feature-rich than many other launchers.

Even if you install a 3rd party launcher, Rosie still consume your precious memory as a system service. But if you freeze Rosie and thus release it from memory, you'll lose your lockscreen app shortcuts. After painstakingly reviewing the codes in HTC shortcut components, I found that Rosie actually act as a content provider to supply information of its launcher bar shortcuts to lockscreen. So without Rosie, lockscreen has no information to construct its shortcuts. Therefore I wrote this little app to replace the role of Rosie as the content provider. What's more, it allows you to select your own apps with a simple config screen and store the data separately. And it doesn't stay in the memory permanently.

Installation instructions:
  1. Uninstall Rosie (Freezing doesn't work because Android doesn't allow two content providers of same type) ** You're reminded to make a backup first **
  2. Install HTC Lockscreen Shortcut Provider
  3. Run Lockscreen Shortcuts
  4. Select your app for the 4 shortcuts
  5. Hit back to save settings and notify HTC lockscreen

MD5: 30056AA5EF4716ADCD043B2751A3943B

** Currently this app has been tested to work with Sense 3.6, 4, 4A and 4.5 **
Attached Thumbnails
Click image for larger version

Name:	Screenshot_config.jpg
Views:	5326
Size:	20.9 KB
ID:	1307896  
Attached Files
File Type: apk HTCLockscreenShortcutProvider_1.42.apk - [Click for QR Code] (175.9 KB, 942 views)
Last edited by itandy; 21st September 2012 at 05:04 PM.
The Following 61 Users Say Thank You to itandy For This Useful Post: [ View ]
7th September 2012, 05:46 AM   |  #2  
itandy's Avatar
OP Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,729 posts
Join Date:Joined: Apr 2010
More
Change log

1.42
- Send broadcast notification to lockscreen on phone boot (should fix shortcut not showing issue after a reboot for TrickDroid)

1.41
- New option to hide app title

1.4
- Add support for Sense 4.5 (thanks Patrics83 for testing new version and support!). You MUST uninstall any previous version first.

1.3
- Add support for Sense 4A

1.2.1
- Fixed FC when loading installed apps

1.2
- Add support for Sense 3.6

1.1
- Added broadcast message to HTC lockscreen so no reboot is needed!
Last edited by itandy; 21st September 2012 at 05:05 PM.
The Following 6 Users Say Thank You to itandy For This Useful Post: [ View ]
7th September 2012, 06:16 AM   |  #3  
Senior Member
Flag Zwijndrecht
Thanks Meter: 93
 
257 posts
Join Date:Joined: Jun 2006
Donate to Me
This... can't be true! Incredible!
Testing now on Project X 4.1...
Working perfect after renaming rosie.apk in system/app!
Last edited by sammyke007; 7th September 2012 at 06:49 AM.
7th September 2012, 06:31 AM   |  #4  
itandy's Avatar
OP Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,729 posts
Join Date:Joined: Apr 2010
More
1.1 just posted. No need to reboot now!
7th September 2012, 09:41 AM   |  #5  
amidabuddha's Avatar
Senior Member
Thanks Meter: 2,391
 
2,408 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by itandy

1.1 just posted. No need to reboot now!

This is great!
Thanks
Can the same logic be used to enable Rosie widgets support in third-party launchers?
Then it will be perfect

Sent from my HTC Desire S
7th September 2012, 09:48 AM   |  #6  
itandy's Avatar
OP Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,729 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by amidabuddha

This is great!
Thanks
Can the same logic be used to enable Rosie widgets support in third-party launchers?
Then it will be perfect

Sent from my HTC Desire S

I wish it does. But no, Sense widget is written with HTC framework which is not supported by 3rd party launcher.
7th September 2012, 10:21 AM   |  #7  
suku_patel_22's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 767
 
2,243 posts
Join Date:Joined: Jun 2011
More
What about lock screen widgets, and like people and weather?

Tapatalked from Desire S running Androdamus
7th September 2012, 10:28 AM   |  #8  
itandy's Avatar
OP Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,729 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by suku_patel_22

What about lock screen widgets, and like people and weather?

Tapatalked from Desire S running Androdamus

I just tried. Actually these widgets work properly on lockscreen even if Rosie is removed. And of course, app shortcuts are also available with my app for all lockscreen styles.
The Following 2 Users Say Thank You to itandy For This Useful Post: [ View ]
7th September 2012, 01:25 PM   |  #9  
ben_pyett's Avatar
Recognized Contributor
Flag London, Colchester, Wivenhoe
Thanks Meter: 1,938
 
5,002 posts
Join Date:Joined: Oct 2006
More
Quote:
Originally Posted by sammyke007

This... can't be true! Incredible!
Testing now on Project X 4.1...
Working perfect after renaming rosie.apk in system/app!

so did you simply rename rosie.apk?

or rename it (to save a copy for a later re-installation) and then uninstall it?
7th September 2012, 02:17 PM   |  #10  
Senior Member
Flag Zwijndrecht
Thanks Meter: 93
 
257 posts
Join Date:Joined: Jun 2006
Donate to Me
Just renamed it to rosie.back!

Sent from my HTC Desire S using xda app-developers app

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes