[Windows Mobile Development and Hacking General] chrismrulz:
The main improvements in the iPhone Slider over A_C's slide2unlock are that it's compatible with any devices that can run the .net framework, So it can be QVGA or VGA, 2003SE, WM6, And it's even compatible with running on desktop windows versions. All this by running the same executable. (edit: running on windows desktop produces errors now due to using some pocket pc libraries)

It also uses the proper iPhone fonts, and it should be less ram usage. (Tested under WM6 using memmaid it only used 1.87mb ram. some users are reporting strange memory issues which is being fixed though)

Screenshots: (Running on Pocket PC Emulator)

(QVGA)

(VGA)

if you're one of the people that find A_C's slide2unlock is incompatible with your ppc or eating up your ram, you can donate through paypal to motivate me to finish this: chrismrulz@hotmail.com.

Downloads:

- This is the main program: Slider.zip.

Try using this first. Just extract it to your device or SD card and run.

Note: To use the proper iPhone fonts, copy the included iPhone.ttf to your windows fonts directory (may also require soft-reset).

- If the 'slide to unlock' animation or arrow button don't scale properly on your VGA screen, extract Slider_VGAPATCH.zip to the folder of the original version.

- If you want to change the wallpaper, use this: Slider_Config.zip.

You can only run this on WM5-6 and on VGA devices at the moment.

Put it in a different directory to your main slider app directory. Put the wallpaper you want in GFX\Res\wallpaper.bmp. Then let run the app and let it exit by itself.

It will create a directory called 'GFXOUT' that contains the necessary graphics to use with your main slider app.

Then simply copy the contents of the generated 'GFXOUT' folder to your main app's 'GFX' folder (or delete it and rename GFXOUT to GFX and put it in there).

Note: If you aren't using the VGAPATCH version you will need to resize the slideanis.bmp to half the size using an image editor.

- Due to the larger VGA icons and a different filename, my slider app isn't compatible with the original iPhone launcher anymore.

So here's a modified version of the launcher: launcher.zip that uses different icons.

It's also modified to show 'AT&T' instead of 'Unknown' if you don't have phone capabilities.

Source:

Slider_Source.zip

Slider_VGAPATCH_Source.zip

Slider_Config_Source.zip

Updates:

-Update @ 4th September:

made images load externally. the app executable is only 18kb now.

added a function to make it fullscreen, but it's commented out atm as it leaves the screen mucked up when you close the app (until you soft-reset).

but as it is, adding the window state to maximized already makes it in fullscreen everything i've tested except for on the device emulator.

added vga quality background that will stretch to the resolution of the screen.

-Update @ 5th September:

added clock and date display.

added signal strength status and carrier name functions.

added lock icon.

added power status function (temporarily uses a built-in value and does not actually grab the power status at the moment though).

-Update @ 6th September:

added some 'fake' transparency effects. this would actually mean less resources are used. but i hope to find out how to do real transparency later on.

-Update @ 7th September:

added fake transparency to the slider bar and to the animated 'slide to unlock' images.

added real transparency for all the labels. the only thing left to make transparent now is the arrow button.

added dpi scaling method and VGA sized images. so it now fully supports VGA. if you are using a QVGA device, it will scale down to your screen size.

the clock will remove the leading zero from the time if it starts with it.

positioned labels more accurately.

-Update @ 8th September:

added function to animate the 'slide to unlock' image on the ppc the same way as with A_C's app :)

added proper battery status function.

added transparency on the arrow image.. but it's only a solid color so it's still not very good.

added iPhone fonts! if you want the app to use the same fonts as on the iPhone, copy iPhone.ttf to your windows fonts directory and soft-reset. if you don't do this it will simply revert to tahoma fonts.

-Update @ 9th September:

added a new way for drawing the fonts transparently. it will ensure compatibility across all screen sizes, and can draw the font positions exactly the same as on the iPhone (font sizes will need to be changed though).

the fonts are now always centered properly.

added an error check on the battery api. so it's now compatible running on desktop pc's again. it might also fix some ppc's.

-Update @ 10th September:

made fonts relatively positioned and accurate to the iPhone.

made fonts sized accurately to the iPhone.

changed font color of the date to the greener color it is on the iPhone.

fixed the huge performance hit and screen flashing when updating the images with fonts ontop of them. now all images that get refreshed will only do it if it's needed.

fixed a bit of code i left out in the previous vga fixes (binary and source). sorry about that, the vga fix will work now.

-Update @ 11th September:

changed speed of the slideback function to be more accurate to the iPhone.

-Update @ 12th September:

made arrow button image transparent, BUT.. once you move it it won't update the transparency.. so only when it's in the start position will it be transparent. it's still an improvement though.

modified the launcher app to use 'slider.exe' instead of 'slide.exe' so you can just use it with my slider app straight away. also fixed a problem with it still showing one battery image too big.

-Update @ 13th September:

finally got the arrow button image to stay fully transparent!!

it will now automatically open in fullscreen.

changed wallpaper and other images as the wallpaper was cropped a bit different to the iPhone.

changed slider app to use one toplock.bmp instead of a lock.bmp and top.bmp.

made a 'Config Creator' to generate the images for different backgrounds.

hosting the files on my server now as there are more than the maximum limit allowed in a thread.

improved fluency and speed of the 'slide to unlock' animation by a huge deal.

removed the blurryness of all the images.

due to using the 'config creator', the images are now VGA quality and not scaled up from QVGA.

changed carrier name font to arial. the rest will still use the iphone fonts though.

cleaned up arrow button image and moved it to the proper position.

-Update @ 15th September:

thanks to LlamaV3, the following bugs have been fixed:

exiting doesn't leave the titlebar from making it fullscreen.

glitchy graphics on the arrow button have been fixed.

carrier name no longer has a box symbol next to it.

because of this, i'm proud to announce the app as V1.0 stable! thanks LlamaV3 for getting us there!

-Update @ 23rd September:

Added LlamaV3's code to dispose of the images before exit, memory might be saved.

Thanks to Reichi, I've updated all projects to use png images instead of bitmaps.

Todo:

- add option for WM5/WM6 users to use proper alpha-blending transparency instead, so it's easier to modify the images like the wallpaper while not effecting everything else. (already have this working in another test project too)

- add wifi, bluetooth etc. status functions and icons.

- add better image buffering and/or option to use gapi/dx mobile to make moving the arrow image smoother.

- make config creator compatible with running in QVGA.

- add 'slide to answer'.. maybe..

- add registry/ini configuration. (will only add this once all the functions are complete though)