Documentation for Screen Lock - Windows Mobile Development and Hacking General

Anyone have documentation for the Screen Lock/Device Lock for WM5? I wanted to create a Screen Lock feature like the one on the Iphone.
Any help would be appreciated.

You can install the following cab which installs an app that can be mapped in cLaunch to use as a device lock.
The app is installed in start>programs
. . . . but can be mapped through cLaunch using the command:
\windows\start menu\programs\device lock.lnk (note lnk is LNK is lower case)
You can then use the iPhone bitmap for screen lock as the icon - the iPhone bitmaps are available on the thread at the top of the General forum.
I hope that this helps.

@ deckno
Thanks man ! Now I can try and build one with a slider.

Good luck!
Share with screen shots if you manage it . . . . .

Related

New Ideas for S2U2 Settings....

I would just like to start this thread to post some idea's I have that I think need to be included in a future release of the Settings app for S2U2.
1. Ability to choose any wallpaper on the device. (JPG/GIF) Not be just stuck to having to copy/paste into the GFX directory, as the filename of wallpaper.gif or wallpaper.jpg.
-FIXED: Use Slide2View posted here to change the wallpaper easily enough. I've known about the registry edit, but wanted a more streamlined solution. Guess this is it!
2. Have theme type files. Kinda like the tsk files for the today screen.
Few more I'll post later as I think of them.... Just post more ideas!!
theme
How bout if you can to themes like pocketcm does it and you can change themes like pocketcm.
lennysh ur suggestion works since forever, you have to edit the path in the resgistry. i dont remember where exactly, that way u can run the wallpapers from SD..
lennysh said:
I would just like to start this thread to post some idea's I have that I think need to be included in a future release of the Settings app for S2U2.
1. Ability to choose any wallpaper on the device. (JPG/GIF) Not be just stuck to having to copy/paste into the GFX directory, as the filename of wallpaper.gif or wallpaper.jpg.
Few more I'll post later as I think of them.... Just post more ideas!!
Click to expand...
Click to collapse
Hey lennysh, you should check out S2V (Slide2View) also by A_C. This is a cool picture viewer and one of the options is to make the currently viewed picture the wallpaper for S2U2!
I created a folder under My Pictures called Wallpapers. I put all my jpg and gifs (even animated gifs) in that folder. I can then browse those pics with S2V, and select one to be my wallpaper for S2U2. Very cool!
Hope that helps.
I think S2V should eventually be built into the S2U2 settings program.
An option I would like to see is password protected unlocking so that after you slide a dialpad shows up and you have to enter the password to unlock the phone.
an exclusion feature would be great because it's a bit disturbing while playing games..
TacoLoco said:
an exclusion feature would be great because it's a bit disturbing while playing games..
Click to expand...
Click to collapse
there is an exclusion feature but it's accessed via a registry edit. go HKCU/software/A_C and there is a bunch of reg keys that start with "Exclusion1, Exclusion2, ....
Just add the name of the EXE that you want to exclude.
It would be nice if this was added to s2u2 settings via the gui but for now it works.
icon on screensaver?
First, Awesome app.
Now, when I launch S2U2 it works fantastic, but, there is a little icon that resembles a text document with a check on it and a number seven in a red circle just below it??? this is located just above the right corner of the unlock slide. Any thoughts?
just turn off task count in s2u2 settings
S2U2 and it's counter part S2V are both fabulous apps as far as single apps go. Yes S2U2 requires a regedit to use the directory of your choice unless you also install S2V..which begs the question...why?? I think they are both great apps but I am not sure I see the point of two separate apps when you need one to do something specific like choose the directory to use for pics.
So..what I would like to see is a merge of the two or make them two separate programs entirely. On that note, it would be nice to see a few of these great developers merge several of their apps into one nice compilation. There are obviously several "popular" apps that all perform entirely different functions. A compilation of these "popular" apps would make for a rather nice experience. And when I say compilation, I don't mean a .cab that includes these apps together, I mean one united program with all the functions streamlined and working together. Something like a mix of S2U2, Pictureflow, PocketCM and what ever all bundled seamlessly into ...say...a PointUI app or something along those lines.
guap,
where is the task count located?
afdrookie said:
guap,
where is the task count located?
Click to expand...
Click to collapse
it's somewhere in the s2u2 settings, set it to "off". otherwise, you may try to mark your "unread messages" in your inbox to "read messages", so the task count won't appear.. hope this helps.
thanks
I want S2U2 to be PointUI-ized.
It would be great if S2U2 could have an owner info on the start screen. Maybe an icon (similar to the weather icons) or as a small text below the slider.
Awesome apps, but the only problem faced by me in my iMate JAQ is changing the orientation of the setting screen. As directed I have changed to path clock to clockH, but it still doesn't work. Any help there?????????????
Slide2View is nice. I have both S2U2 0.98 and Slide2View in the same CAB file, with the additional clocks included. If anybody would like a copy, just let me know. I will also try and include some more stuff if I find some. It is set to use the HTC theme in S2U2.
Got it! Thanks for the info....I kinda hate to admit it but I did not know that the options was a scrollable page. After that I found it no problem. What a great app!!!
If not too much
s2u2 is a very great application.
if not too much..can he include a preview button in the next s2u2 setting? ok, maybe i'm too lazy too save and exit the setting before i can see the outcome of it. but it could be a nice add on in the next release.
thanks to A_C!
Hello Friends
One more time sorry for my english
My pourpose is the next one: When you close S2U2, it appears a window with message " S2U2 are closed", and a ok button to close it.
It's posible that the window disapear automatically after few seconds?.
Thanks.
The ability to either key in a simple pin or a strong alphanumeric password when you slide to unlock.
Invoking the WM6 one is messy/untidy.
Also create a Today plugin for S2U2 so you can invoke the lock directly off the Today screen.
WB

Spb as default today screen

I am using HTC touch can anyone please help me to make spb mobile shell as the default today screen i went to the posts of spb mobile shell but they are soooo big that i couldnt find anything.........all i want that spb interface to be my default today screen.... thanks in advance
You mean the 3 sided one where you can flip through?
You can't really have it as a today screen. You can however set it to display on wakeup so every time you turn on your phone it's there. And when you lock your phone it is also there.
Ta,
Dave
no all i want is the first one the analog clock one with the weather and all plugins i dont need the spb menu and the speed dial contacts
DaveShaw said:
You mean the 3 sided one where you can flip through?
You can't really have it as a today screen. You can however set it to display on wakeup so every time you turn on your phone it's there. And when you lock your phone it is also there.
Ta,
Dave
Click to expand...
Click to collapse
This can be happen and after soft reset. Just edit the mobile shell's shortcut in the windows\startup folder with a file manager(I use total commander) and remove the "-noshow" option. If there is not exist an spb mobile shell shortcut, just create one from the executable.
The problem is that starts in launcher screen and not in Now, and I didn't find until now how to change this. Maybe there is a command line parameter but I don't know which is.
please sum1 only tell me how to bring the now screen (the analog clock one only) as the today screen i dont want anything else...........
sourav_cool35 said:
please sum1 only tell me how to bring the now screen (the analog clock one only) as the today screen i dont want anything else...........
Click to expand...
Click to collapse
you cant. search through the millions of mobile shell 2.0 threads. the closest thing you can do is that reg hack, or go to mobile shell settings and set the now screen to appear on device wake up. it cant be set as your today screen.
There is a shortcut to the Now screen. If you look where you can assign buttons it allows you to choose the Now screen. I am not sure where it is as an exucatable.
You can go to the Now screen with the "\Program Files\Spb Mobile Shell\Menulauncher.exe -now" command. You can assign it to a button, or a FTouchFlo gesture.
1.) Copy the "MobileShell.exe" application from \Program Files\Spb Mobile Shell, and
2.) create a shortcut "Shortcut to MobileShell.lnk" in \windows\StartUp, then
3.) Perform a Soft reset.
Now the Mobile Shell Spb Menu (Application) screen auto loads after the soft reset. No Reg edit required for this...
I have not seen or heard of a Now Screen edit as of yet but I'm sure one of these great Programmer / Chefs has one in the works... Have you seen what they are doing so far?
http://forum.xda-developers.com/showthread.php?t=374335
The above mention instructions does not replace the Today Screen but only bypasses it after a reset. If you close MS2.0 at any time, it will take you back to the Today Screen. As far as I know, you can not totally replace your Today Screen.
Good luck and keep on reading... The XDA Google search function can do wonders....
ghal said:
You can go to the Now screen with the "\Program Files\Spb Mobile Shell\Menulauncher.exe -now" command. You can assign it to a button, or a FTouchFlo gesture.
Click to expand...
Click to collapse
Thanks for this! With this I achieve to make the device starts in now screen after soft reset with the help of mortscript.
I made a shortcut with above command, and after I write this script:
Code:
run ("\Program Files\Spb Mobile Shell\MobileShell.exe")
Sleep( 10000 )
Run ("\Program Files\Spb Mobile Shell\MenuLauncher.lnk")
I put a shortcut of the script file in windows\startup folder and reset the device.
Now I have the now screen after every soft reset.
I modified the memwatcher sdk sample to launch spb now screen whenever user gets to today screen. Install the CAB file and every time when you return to today screen it'll quickly put you back at spb now screen.
thedumbkid said:
I modified the memwatcher sdk sample to launch spb now screen whenever user gets to today screen. Install the CAB file and every time when you return to today screen it'll quickly put you back at spb now screen.
Click to expand...
Click to collapse
is mortscript required to use this file? thx.
WB reminder to track this thread...
thanks guys thanks a lot.....i installed the cab file provided by thedumbkid and it works like magic .... once again thanks everyone
thedumbkid said:
I modified the memwatcher sdk sample to launch spb now screen whenever user gets to today screen. Install the CAB file and every time when you return to today screen it'll quickly put you back at spb now screen.
Click to expand...
Click to collapse
I knew it wouldn't be long before someone made this happen... Good work....
That's What I Have Been Waiting For!!!!!!!!!!!!
God Job!
Be careful when using this cab.
I installed this tool on my german htc touch and now the device freezes all the time.
There is an error message saying " can`t open file MenuLauncher. Perhaps this file is not signed or one of its component is missing".
Then my device is showing the rotating icon for searching and doesn`t accept any input. How can i get rid of this without having to hardreset my htc ? After soft reset the device is still running in this error message, and active sync will not recognize my ppc to uninstall from there, so I need some help please.......
got the same problem on my german device.
any ideas to fix it?
@rod65
perform a softreset and boot in "safe-mode"... deinstallieren fertig...
Thank YOU!
thedumbkid said:
I modified the memwatcher sdk sample to launch spb now screen whenever user gets to today screen. Install the CAB file and every time when you return to today screen it'll quickly put you back at spb now screen.
Click to expand...
Click to collapse
Great job -- I know lot of people were looking for this.
parabolon said:
got the same problem on my german device.
any ideas to fix it?
@rod65
perform a softreset and boot in "safe-mode"... deinstallieren fertig...
Click to expand...
Click to collapse
I didn`t know there is a way to boot in "safe-mode", can you please tell me how it can be done ? Many thanx in advance

Link to manually rotate the screen on diamond

Hi, is there a way to add a link in the start menu to rotate the screen in landscape ? Something direct, so for example you are looking a word document or a pdf, and you just have to press start and "rotate link" to switch to landscape ?
Something light... without anything running background... and no windows to open to get the screen rotated.
This is for the htc diamond.
Ciao
Fred
hasn't advanced config got a parameter to rotate?
htc has a homeplug cab for the today screen that has 1 option to rotate screen 90 degrees every time you select it
frederikk said:
Hi, is there a way to add a link in the start menu to rotate the screen in landscape ? Something direct, so for example you are looking a word document or a pdf, and you just have to press start and "rotate link" to switch to landscape ?
Something light... without anything running background... and no windows to open to get the screen rotated.
This is for the htc diamond.
Ciao
Fred
Click to expand...
Click to collapse
Use the RotateScreen.exe in the zip file i attached
Thanx for your answer
For the htc homeplug, i had this on my artemis but on the diamond with the touchflo3D i cannot have the htc home...
And for advanced config. there are some option for the screen rotation, but if i had to launch advance config. and reboot after changing a parameter, i'd rather go to the parametres of windows
I'll give a try to your progs tomoffel
To be continued...
Ciao
Fred
Thank you ! The .exe for rotating the screen is cool.. i just have one more question : i'm trying to put a link in the start menu to that .exe file... but what is the number at the begining of the link file :
For example i got this one for jbed :
59#"\Stockage interne\Program Files\Opera Mini\AppDB\jbed.exe"
So i wanted to put :
59#"\Stockage interne\Program Files\RotateScreen\rotatescreen.exe"
but is there a problem with the number at beginning being the same. ( sorry for my ignorance... )
Ciao
Fred
Ok i managed to do it with totalcommander...
The rotate and minize .exe are great !!! Thank you !
Seems to be perfect... waiting to try this in a real usage
Ciao
Fred
If only i can put more than 7 links in the start menu programs ! But no matter .. i'm going further and further
nice that you get it to work
tomoffel said:
nice that you get it to work
Click to expand...
Click to collapse
Thanks to you
Ciao
Fred

[REQ] Remove bottom menubar!

I could easily give some money if someone could make a program for making the bottom menu bar to hide and pressing like the big round bottom on phone would make it visible again. It would give alot more screen space for alot of programs, like writing sms etc.
It would be really great, I bet alot of people would like it to and also pay for it!
thanks
BarateaU said:
I could easily give some money if someone could make a program for making the bottom menu bar to hide and pressing like the big round bottom on phone would make it visible again. It would give alot more screen space for alot of programs, like writing sms etc.
It would be really great, I bet alot of people would like it to and also pay for it!
thanks
Click to expand...
Click to collapse
Here you are This is in polish, but program do exactly what you want - hide bottom bar in wm5, you can translate in google:
http://www.pdaclub.pl/index.php?option=com_files&Itemid=54&cid=38&fid=691&srv=2
And this is a file
TomekJ said:
Here you are This is in polish, but program do exactly what you want - hide bottom bar in wm5, you can translate in google:
http://www.pdaclub.pl/index.php?option=com_files&Itemid=54&cid=38&fid=691&srv=2
And this is a file
Click to expand...
Click to collapse
thanks, but i want it for wm 6.1q diamons default os, andbtouch flo
Is it only me that thinks its a good idea?
no your not alone
i found this topic because i had the same idea
ghostdweller said:
no your not alone
i found this topic because i had the same idea
Click to expand...
Click to collapse
Great
It would be really good removing it, having more screen space like opera when browsing it goes to fullscreen and pressing on the screen will make the bar's and menues apear again. Something like that would be great for the rest of the phone!
Ok ill give 200sek for the one that fixes this mod!
hiding top and bottom menus! And makes them appear when wanted!
Questions? ask!
you can do that with vjtoggletoday (www.vijay555.com) and a tool for setting registry keys (the guy who has written batterystatus has also written such a tool).
create a lnk file with the desired settings and map it to a key. that should do it. but you only have one key available to map (long end key)
I've seen that toggletoday thingy but i think its for wm5. I've tried installing it but nothing happend.
Thanks thou!
hi guys, I wanted to just remove the bottom bar like u guys and found this software from some site. Dont know where actually.. But it works on my Diamond.
It just removes the bottom bar.
Hope this helps.
lordaris said:
hi guys, I wanted to just remove the bottom bar like u guys and found this software from some site. Dont know where actually.. But it works on my Diamond.
It just removes the bottom bar.
Hope this helps.
Click to expand...
Click to collapse
Nothing happend with that cab. I did a soft reset but didnt help!
thanks anyway
same here
doesn't work with my touchflo
also tried a softreset
tried to install it with touchflo disabled
and when i enabled it ..... nothing
(also tried the softreset afterwards)
any sugestions ?
reg references ?
(maybe's there's is a way to just remove the black bar (as was done with the curtain remover) and leave the buttons intact ?
(that would be the next best thing for me)
I'd rather hide the menues completly. It would be really nice having a full screen phone. Now it looks more like a pda
BarateaU said:
I've seen that toggletoday thingy but i think its for wm5. I've tried installing it but nothing happend.
Thanks thou!
Click to expand...
Click to collapse
vjtoggletoday works also on wm6. make sure it is the alpha2 version.
you can use the attached zip file. put the autorun lnk file into your windows startup folder and configure this utility before soft-reset.
advantage of vjtoggletoday is, you can define how much of the bars' height should disappear.
another app is dcinobar which hides the bottom bar only
egoist6 said:
vjtoggletoday works also on wm6. make sure it is the alpha2 version.
you can use the attached zip file. put the autorun lnk file into your windows startup folder and configure this utility before soft-reset.
advantage of vjtoggletoday is, you can define how much of the bars' height should disappear.
another app is dcinobar which hides the buttom bar only
Click to expand...
Click to collapse
I dont know what that apps did to my diamond. Im not setting that on autorun! And the config file how are you suppose to config it? When neither of them starts?
by the way: both apps (i have attached dcinobar to my post above) only hide the bars on the today screen only. the bars do not disappear if you run an app.
if this would help you to some extend, i'll give you a step-by-step instruction for vjtoggle.
dcinobar is easier. just run the tool.
Have you tried them on a diamond? Cause the dcinobar did nothing on my diamond.
And the other program i think i will need a step by step guide
Thanks mate!
BarateaU said:
Have you tried them on a diamond? Cause the dcinobar did nothing on my diamond.
And the other program i think i will need a step by step guide
Thanks mate!
Click to expand...
Click to collapse
dcinobar works definitely on diamond. i am currently using it myself.
as said. both programs only hide the bar on today screen.
dcinobar: just copy the exe file to \windows\startup\. softreset. that's it.
vjtoggle:
copy the vjtoggletodayiialpha.exe to \Program Files\vijay555\
(if you keep the directoryname, you do not need to adjust the lnk files)
copy the vjtoggletodayAutorun.lnk to \Windows\StartUp\
copy the VJ Toggle Config.lnk to \Windows\StartMenu\Programs\
now run the config tool and set the values to 0. the config tool only sets the registry keys which are being used by the file in the startup folder.
alternatively you could do the settings yourself:
Code:
[HKEY_LOCAL_MACHINE\Software\Vijay555\VJTodayToggle]
"Enabled"=dword:00000001
"SoftKeySize"=dword:00000001
"StartSize"=dword:00000001
"TrayVisible"=dword:00000001
in this case the top and the bottom bar will have the size of 1px (just in case you still want to access them )
soft-reset.
if you do a soft-reset i would recommend to switch the phone off (long press on the button on the very top of your diamond).
if this is not working, you are definitely doing s.th. wrong as it works on my diamond.
post here if you need some more help.
vjtoggle:
copy the vjtoggletodayiialpha.exe to \Program Files\vijay555\
(if you keep the directoryname, you do not need to adjust the lnk files)
copy the vjtoggletodayAutorun.lnk to \Windows\StartUp\
copy the VJ Toggle Config.lnk to \Windows\StartMenu\Programs\
now run the config tool and set the values to 0. the config tool only sets the registry keys which are being used by the file in the startup folder.
alternatively you could do the settings yourself:
Click to expand...
Click to collapse
I did that, step by step. When i rebooted the htc, i didnt get a top menu at all and not just in today in all windows. And the bottom menu was still there.
And what happends if this will work. Will i get 2 black bars instead of 2 menues or will the screen auto adjust?
BarateaU said:
I did that, step by step. When i rebooted the htc, i didnt get a top menu at all ...
Click to expand...
Click to collapse
isn't that what you wanted to achieve (see post #7)
BarateaU said:
... And the bottom menu was still there...
Click to expand...
Click to collapse
please check the registry settings, if the key softkeysize = 0
also try to set trayvisible = 0
BarateaU said:
...And what happends if this will work. Will i get 2 black bars instead of 2 menues or will the screen auto adjust?
Click to expand...
Click to collapse
the space available for today screen will increase. the today screen is not stretched by the size you gained, you 'll have more space available.
did you try dcinobar?

S2U2 VGA diamond TFLO3D skin

Hi,
For all who are using S2U2 on diamond and are looking for original TFLO3D skin
i have made this skin from skratch after i have lost hope to find proper VGA diamond skin.
There are tons of QVGA skins and few VGA ,non of theme has the exact clock and fonts.
Installation: after you install S2U2
1- copy clock numbers to any clock folder under gfx folder and select that folder later in the settings
2- copy and replace lang.ini OR modify yours to make clock format = hh' : 'mm for 12h format and HH' : 'mm for 24h format
3- copy wallpaper.jpg to gfx folder
3- from settings select one of the mentioned above time formats.
4- i prefere to disable the top curtain option for better look.
Notes:
1- this skin has been tested on S2U2 1.22
2- still no landscape wallpaper (will update it later if you liked this skin)
3- 12h time format does NOT show "AM or PM" due to numbers calibration and spacing issue. (will work on it later)
4- anybody feel free to modify this skin and share it with us.
enjoy.
Ammar
Thank you! Been looking for this flip clock for S2U, just am not good at photoshop and such.
Will install when I get home.
Hopefully someone will come up with a transparent clock, or the one from the jewelery theme?
made some more diamondish buttons, too
edit: sry first time buttons.png did not work
How about the slider with just a diamond? Do you have something like that? I think a carat would look really nice behind a black wallpaper and no slide 2 unlock texting.
Slider
Here is a button you might like
U made something that i was going to do But i had no time to finish clock ;D But U made it Congratulations ! looks great You read in my mind. My skin was going to look the same.
Krzysiec said:
U made something that i was going to do But i had no time to finish clock ;D But U made it Congratulations ! looks great You read in my mind. My skin was going to look the same.
Click to expand...
Click to collapse
Hey, you know what they say.... great minds think alike
glad you like it =)
Here's a HTC logo arrows button to sliding!
HTC logo arrows
How can you disable the date? I have the date apearing on the top of the clock, in fact covering part of the clock.
i think these from my not finished project fits better
sakis_a said:
How can you disable the date? I have the date apearing on the top of the clock, in fact covering part of the clock.
Click to expand...
Click to collapse
edit lang.ini file and delet one of the date formats that you don't use then go to S2U2 settings and choose the blank format that your edited.
originally you will have:
s_DefaultDateFormat1=dddd', 'd MMMM
s_DefaultDateFormat2=dddd', 'MMMM d
s_DefaultDateFormat3=d MMMM', 'dddd
so you can delete any of them and leave it blank.
example:
s_DefaultDateFormat1=
s_DefaultDateFormat2=dddd', 'MMMM d
s_DefaultDateFormat3=d MMMM', 'dddd
Or you can add new blank format
s_DefaultDateFormat4=
For the one interested in, I've made a mix of what I found around and here, so test it ; Fit perfectly with orgiginal TF3D.
Unzip and instal the gfx folder in the place of the one of the program. If you still have "topbar", delete it...
Only bug I guess is the text on the batterie when charging. If someone can help
So, here a screen not complete (unable to take the shot... lol) only for an Idea. It work landscape.
Krzysiec said:
i think these from my not finished project fits better
Click to expand...
Click to collapse
Ah... I like those buttons. Gonna snag those... thanks.
U welcome
About my screen, 2 posts up, there is another issue and if someone can help
When the time is between 0 : 00 and 9 : 59, the time is not centred... so it's ugly.
I've tried to solve it by changing the value iin registry with a timeformat HH : mm. It's centred but the time appear this way 00 : 00. So, not like on the TF3D. Help
he Guys,
Thanks for all the effort you have spend to create the perfect skin.
I have downloaded some items and found that when my phone rings, and the caller id function is turned off, the phone is not locked at all.
Any comments on this issue?
Do U know how to delete that bottom curtain but not slide area ... only that grey area around slide area ?
[/URL][/IMG]
Great! I've searched for it, for month....
Thank you very much!
vaiko666 said:
For the one interested in, I've made a mix of what I found around and here, so test it ; Fit perfectly with orgiginal TF3D.
Click to expand...
Click to collapse
do I need to change some other settings? these gfx mess op the settings tool of S2U2

Categories

Resources