[APP][SENSE 3.6/4/4A/4.5][2012/9/17 1.42]HTC Lockscreen Shortcut Provider - G2 and Desire Z Android Development

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:
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 **
Install HTC Lockscreen Shortcut Provider
Run Lockscreen Shortcuts
Select your app for the 4 shortcuts
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 **

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!

Cool, I'll try this out.

Today I did some testing on various Sense versions and would like to let you know my findings:
Hybrid 4A (e.g. UKB X on IncS) - OK
Sense 4.1 (e.g. ViperX on One X) - OK
Sense 4A (e.g. UKB V on IncS) - No shortcuts in lockscreen
Sense 3.6 (e.g. ARHD on IncS) - Lockscreen shortcuts appears and update correctly but shortcut app cannot be launched when unlock
At this moment, my first priority is to support Sense 3.6. After that I'll work on 4A.

Just posted 1.2. Now supports Sense 3.6.

Posted 1.2.1. Fixed FC introduced in 1.2.

Updated to 1.3. Now support Sense 4A.

Version 1.4 just uploaded. Sense 4.5 is now supported. You MUST uninstall any previous version first.

Just uploaded 1.41. New option to hide app title.

Can U add an option to choose another wallpaper different from the one in the background?
Stefano/Zofox

zofox said:
Can U add an option to choose another wallpaper different from the one in the background?
Stefano/Zofox
Click to expand...
Click to collapse
What ROM are you using? What Sense version is it? Sense 4 can already do that.
Sent from my HTC Incredible S using Tapatalk 2

Gen y rc1 a which can't because its sense 4.0A
Stefano/Zofox

zofox said:
Gen y rc1 a which can't because its sense 4.0A
Stefano/Zofox
Click to expand...
Click to collapse
I see. But sorry that changing the lockscreen wallpaper is not what this app can do. Probably that requires modding the lockscreen itself.

how does one uninstall Rosie?
.... found an easier method here.
http://forum.xda-developers.com/showthread.php?t=1590070

I'm using yogatz 4a sense rom but for some reason the shortcuts don't stick after a reboot or disappear sometimes.
Any suggestions?
Thanks!

Carlovn said:
I'm using yogatz 4a sense rom but for some reason the shortcuts don't stick after a reboot or disappear sometimes.
Any suggestions?
Thanks!
Click to expand...
Click to collapse
I've just uploaded a new version 1.42 which refresh the lockscreen shortcuts on phone reboot which should solve your reboot issue.

I've just uploaded a new version 1.42 which refresh the lockscreen shortcuts on phone reboot which should solve your reboot issue.
Click to expand...
Click to collapse
thanks man! gonne try it now. will report if there are problems

R: [APP][SENSE 3.6/4/4A/4.5][2012/9/17 1.42]HTC Lockscreen Shortcut Provider
It doesn't seems to work for me
------(se vedi questa barra sto usando tapatalk)------
«Desire Z» inviato da una galassia lontana lontana...

Related

[DEV] LockScreen in Rosie 2.1

Hi!
I have tested for a while now some AOSP 2.1 ROM and now i have flashed the new Rosie 2.1 dump by lox/behnaam.
I wonder if we can replace the rosie default lockscreen by the ASOP one ?
Any help will be pleased!
Regards.
T
aosp lockscreen
T0pp3r said:
Hi!
I have tested for a while now some ASOP 2.1 ROM and now i have flashed the new Rosie 2.1 dump by lox/behnaam.
I wonder if we can replace the rosie default lockscreen by the ASOP one ?
Any help will be pleased!
Regards.
T
Click to expand...
Click to collapse
Code:
adb remount
adb shell
cd system/app
rm HtcLockScreen.apk
rm HtcLockScreen.odex
reboot
This will give you the standard 2.1 lockscreen (Backup first, in case you want to go back)
It looks kinda odd, because the sense homescreen doesnt hide when lockscreen is up.
Thinks for the quick answer,
i'm try right now =)
T
Works perfecty !
Now, the 2nd step! Which apk is involved by the default lockscreen?
I wanna to edit it to 'fix' the background screen.
Regards.
T
it isn't a apk, its baked in the system...
All right, but is there any way that the lockscreen wallpaper not transparent?
Thanks
ktmna said:
All right, but is there any way that the lockscreen wallpaper not transparent?
Thanks
Click to expand...
Click to collapse
There's only two possibilities:
1. Change Rosie.apk to hide homescreen while lockscreen is up (unlikely as there are no sources available)
2. Change android framework lockscreen to completely darken background or use a wallpaper. (More likely as we have access to source from AOSP, alot of work though)
Please note that the default lockscreen will cause problems if you use Sense.
Like alarms not turning off because you can't slide it down (which is incorporated into the lockscreen)
Sense isn't really compatible with the Android lockscreen - no alarm turnoff as mentioned (which I found at 5am this morning, as did the rest of the house as I fumbled for the battery!) and the transparency.
Also, on AOSP Eclair the lockpattern replaces the lockscreen. On Sense, or Sense with the Eclair lockscreen, you have to unlock first and then put the pattern in which is a bit clunky
alarm workaround
The alarm thing has been very frustrating, but i finally got something working in my free time, here's what i did:
1) went in root manager and removed HtcClockWidget.apk and ClockWidget.apk
2) installed DeskClock.apk (included below)
3) restarted the phone
There you have it, the stock android clock may not be as cool as the htc one, but it gets the job done and takes care of the "1st-alarm-in-the-morning-waking-up-the-whole-house-because-it-wont-shut-up" thing!
custom lock screens
If you want to try to get the code from AOSP check this one:
hxxp://stackoverflow.com/questions/2140964/android-lock-screen-source-code
A base to start from could be: hxxp://code.google.com/p/mylockforandroid/
(didn't actually tried myLock, and I think its not developed any further)
(Replace hxxp with http)
Pillock said:
Sense isn't really compatible with the Android lockscreen - no alarm turnoff as mentioned (which I found at 5am this morning, as did the rest of the house as I fumbled for the battery!) and the transparency.
Also, on AOSP Eclair the lockpattern replaces the lockscreen. On Sense, or Sense with the Eclair lockscreen, you have to unlock first and then put the pattern in which is a bit clunky
Click to expand...
Click to collapse
when I removed system/app/HtcLockScreen.apk in sanpei's legend_sense_ROM,I didn't get the eclair lockscreen,how can I fix it?
There seems to be a bug in legend based roms causing the default lock screen to display very messed up.
Not sure why, but hopefully now more people are noticing this someone can come up with a fix.

Sense 3.5 lock screen for non-sense roms

Does anyone have an install APK for a sense 3.5 lockscreen that works on CM7?
I find the brilliance in sense the lockscreen, as it is beautiful, but i like CM7 way more than the sense 3.5 roms posted here.
No warez though, already checked the GO locker sense 3.5 but it looks horrible and not like sense at all. there is a magiclocker sense but it is paid.
You can try milocker.... its free on the market
Just remember.....the themes provided or from its online store are for bigger resolutions but you can get ported themes here
http://forum.xda-developers.com/showthread.php?t=1428940
Click to expand...
Click to collapse
csoulr666 said:
You can try milocker.... its free on the market
Just remember.....the themes provided or from its online store are for bigger resolutions but you can get ported themes here
Click to expand...
Click to collapse
thanks bro!
trying it now
ipodguitar said:
Does anyone have an install APK for a sense 3.5 lockscreen that works on CM7?
I find the brilliance in sense the lockscreen, as it is beautiful, but i like CM7 way more than the sense 3.5 roms posted here.
No warez though, already checked the GO locker sense 3.5 but it looks horrible and not like sense at all. there is a magiclocker sense but it is paid.
Click to expand...
Click to collapse
CM7 (At least the latest nightly, I'm not sure about the earlier cases) has a locker more usable than Sense 3.5's.
Lockscreen Settings->Style Options
Lockscreen Style -> Ring
Ring-Lock Style (Just themes)
And more importantly:
Enable "Custom App Starter"
Custom Application - You can add up to four applications!
So basically, you get four applications, unlock button and vibrate/sound button. Beats sense (Otherwise, I preferred the 3.5 locker too!)
I couldn't get a full screenshot but touching the middle button brings up four apps.
If you still want the sense look exactly, you'll need to use third party apps but I generally don't like using third party lockers.

[APP][SENSE 3.6/4/4A/4.5][2013/1/1 1.43]HTC Lockscreen Shortcut Provider

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:
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 **
Install HTC Lockscreen Shortcut Provider
Run Lockscreen Shortcuts
Select your app for the 4 shortcuts
Hit back to save settings and notify HTC lockscreen
MD5: 7DE3FFB948E496767E2B1EFDAC26638E
** Currently this app has been tested to work with Sense 3.6, 4, 4A and 4.5 **
Change log
1.43
- Return shortcut title with empty space instead of NULL values if Hide app titles is selected
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!
oh nice app!
Most of us are on 4.1 sense i think .. Does that create a difference ?
rohanjain91 said:
Most of us are on 4.1 sense i think .. Does that create a difference ?
Click to expand...
Click to collapse
I'm not sure. But is Sense 4.1 still using the app shortcuts in Rosie launcher bar for lockscreen shortcut? If yes, then I guess it probably works too.
The easiest way to find out is of course to give it a try.
This is good for desensed roms I'm guessing.
Sent from my Nocturnal'd ONE X
XsMagical said:
This is good for desensed roms I'm guessing.
Sent from my Nocturnal'd ONE X
Click to expand...
Click to collapse
Absolutely, but I need to confirm if it works on your device too.
awesome app..very useful..!
Interesting app. I leave the Rosie launcher running though anyway because it also feeds the lockscreen widgets and message counts... Does this act as a content provider for those things as well, or just the icons?
SolusCado said:
Interesting app. I leave the Rosie launcher running though anyway because it also feeds the lockscreen widgets and message counts... Does this act as a content provider for those things as well, or just the icons?
Click to expand...
Click to collapse
I previously tried using other lockscreen widgets (weather and people) without Rosie and it seems to work fine. So I believe they don't rely on Rosie at all.
But I'm not sure about email or message count.
I'm thinking of the Social Lockscreen in particular. It gets its updates from the social widget in Rosie. And then of course email count comes from the email widgets in Rosie.
SolusCado said:
I'm thinking of the Social Lockscreen in particular. It gets its updates from the social widget in Rosie. And then of course email count comes from the email widgets in Rosie.
Click to expand...
Click to collapse
Actually I still think most if not all lockscreen widgets should work. Even without Rosie, we're practically still using a Sense ROM. Lockscreen shortcuts is a rare exception since HTC decided to reuse the Rosie launcher bar app shortcuts. I remember in earlier Sense, it actually allows you to define them separately.
So why don't you try and let us know?
It works. I am using productivity lock screen and everything is working. Running VenomXL rom.
Sent from my HTC One X using xda premium
Works using TN SE 3.7. with apex launcher. Thank you! I desperately wanted the shortcuts for lockscreen but didn't want to use sense... Now maybe if you could make a calculator widget for apex that would be awesome...
Sent from my HTC One X using xda premium
It stopped working after reboot.
Sent from my HTC One X using xda premium
kleeman7 said:
It stopped working after reboot.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Can you give me a logcat?
It'll be even better if you can give me the xda link of this ROM.
Sent from my HTC Incredible S using Tapatalk 2
This is probably going to be my favorite app as the only reason I leave Rosie installed is for the shortcuts but sadly, this doesn't work on my 2.33 based ROM(Sense 4.1) What exactly do you need to make it work for that ROM? Logcat, Rosie.apk, etc?
Calkulin said:
This is probably going to be my favorite app as the only reason I leave Rosie installed is for the shortcuts but sadly, this doesn't work on my 2.33 based ROM(Sense 4.1) What exactly do you need to make it work for that ROM? Logcat, Rosie.apk, etc?
Click to expand...
Click to collapse
OMG, you guys already have Sense 4.1 ROM! I can take a look at the problem if you can give me:
Rosie.apk
idlescreen_Base.apk
com.htc.resources.apk
BTW, what's the name of that ROM? And can you describe the problem so that I can have a better idea where to look.
I'm running my yet to be released ROM. The problem is that even though it says it notified the lockscreen, no shortcuts ever appear even after rebooting. And please add a apply or done button to the app because the first time I used it, I didn't know that backing out of the app was the way to set the shortcuts
And here are the files you requested
http://www.mediafire.com/?g715n7kwut1rv6z
Today I did some testing on various Sense versions and would like to let you know my findings:
Hybrid 4A (e.g. UKB X on IncS) - OK
Sense 4.1 (e.g. ViperX on One X) - OK
Sense 4A (e.g. UKB V on IncS) - No shortcuts in lockscreen
Sense 3.6 (e.g. ARHD on IncS) - Lockscreen shortcuts appears and update correctly but shortcut app cannot be launched when unlock
At this moment, my first priority is to support Sense 3.6. After that I'll work on 4A.

Desensed ROM but lockscreen icons...

I think there is an app or a way to do this but I cannot find it, I always had de-sensed roms but then installed Rosie to have the lockscreen icons, but lately even installing Rosie does not bring back the lockscreen icons like it used to (obviously with the show shortcut icons option ticked in Personalize), so I keep having to restore a very old version of Rosie that does bring the shortcuts back as the newer versions of the rosie.apk do not work, is there an app that could here? or is there a way to use a new version of Rosie.apk that will show the shortcuts in the lockscreen, thanks
R: Desensed ROM but lockscreen icons...
You need this app : LINK. With this you can set the shortcuts in lockscreen. Remind to thanks the author
Inviato da HTC One X

Why do launchers kill Sense widgets ?

I just got my M8 recently, love this phone Rooted it, and installed InsertCoin ROM, battery life is off the charts excellent, almost as good as my old Note 2. Anyways, I tried the stock launcher for a few days, and it's very smooth and fast, but missing very important features I have gotten so used to with Nova Launcher, and I am shocked these type of settings just aren't baked into the Android OS by default already;
#1: Custom grid size, I typically go 5 x 5, and sometimes 4 x 6, but NEVER the default 4 x 4 size, and I don't understand why Android sticks with 4 x 4 as the default grid pattern with 5" + screen phones being the norm now ? Why isn't grid size an option in the system settings on all Androids phones now ?
#2: Swipe screen controls, I always use the swipe down anywhere on screen to pull the notification shade down. So I don't have to reach all the way up to the top and pull down, I can just swipe down anywhere on the screen, and that will pull the notification shade down.
But by adding a Launcher, I use the Sense widgets :crying: I never understood that one. Why would the widgets disappear as an option, but all other widgets are still there. With Google and even HTC putting some apps on the Play Store, why doesn't HTC put the Sense 6 Clock and Weather widget up on the Store, and the Calender Widget. But it totally sucks I lose some of those really cool Sense features by going to a different launcher, and I think some of these launcher features should be part of the OS by default anyways. Why isn't adjusting the grid size a standard option yet in the OS ?
So, how many of you either run stock Sense, or install a different launcher ?
Maybe it's because those things are a trademark of HTC and giving them to everybody would dilute their brand.
And you can use Sense x Toolbox (6 due very soon) to change grid size if you're rooted and with xposed.
BenPope said:
Maybe it's because those things are a trademark of HTC and giving them to everybody would dilute their brand.
And you can use Sense x Toolbox (6 due very soon) to change grid size if you're rooted and with xposed.
Click to expand...
Click to collapse
Ok thanks. Where can I download this Sense X Toolbox ? I looked on the PlayStore not there, is it an .apk I install ? And then I also need to install Xposed framework too ?
Well, it's Sense 5 Toolbox for Sense 5 and Sense 6 Toolbox for Sense 6 (not released yet).
You can get it through xposed or the Android Revolution thread (probably second post).
BenPope said:
Well, it's Sense 5 Toolbox for Sense 5 and Sense 6 Toolbox for Sense 6 (not released yet).
You can get it through xposed or the Android Revolution thread (probably second post).
Click to expand...
Click to collapse
Can I just install xPosed on my One M8 that is rooted and play with that ? Or must I have this Sense Toolbox thing too ? And I am guessing Sense 5 Toolbox is not for our M8, but only for the older m7 ? So do I need to wait for the Sense 6 toolbox to be released before even using xPosed ? Or I think I read about an alpha version of Sense 6 toolbox ?
Excuse me, it's sometimes hard to keep up with which device forum I'm in.
xposed is a framework for creating mods, it's does nothing on it's own.
The alpha version does everything I want it to, but I haven't tried the grids, I don't expect it to work properly due to the softkeys. I expect it to be released around this weekend. If you can find the spreadsheet, you can check what works.
Or there might be another xposed mod that will work.
Here is the Sense 6 Toolbox thread, which includes a Google spreadsheet explaining which things work on HTC One M8. I've used it on Sprint M8 and seems good so far.
http://forum.xda-developers.com/showthread.php?t=2705270

Categories

Resources