yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] chrismrulz:
I guess it's either VGA devices, WM6 devices, "cooked-rom" WM6 devices, or the combination of some of them.

either way, there are quite a few people that just can't get it to even run. me being one :(
[Windows Mobile Development and Hacking General] mr_yellow:
that's unfortunate.... thanks for clarifying. just wanted to make sure I'm not blowing anything up by running S2U on my wm6 device.. =)
[Windows Mobile Development and Hacking General] mrbrady12:
I dont know either but on my T-Mobile Wing (Herald) i have tried many different ways and cant get it to work. I used the WM6 standard rom and nothing. I used PDaviets rom in the Herald section and the Touch_It rom which is what im staying with and nothing. I get as far and running the step in the PPC but nothing happens. Im waiting patiently to see how this program works cause the .exe file chris posted is the closests i have been to getting this to work on the Wing.

Anything you need me to test i will be glad. I have a backup in case something happens and the RUU wont recover the phone.

Look forward to your work.
[Windows Mobile Development and Hacking General] chrismrulz:
just had an idea..

what if i made it in javascript!

talk about cross-platforming. then it could run on anything with a JS capable browser.

i've done more complicated stuff than the iPhone slider in JS.

take a look at this windows xp gui in JS i made about 5 years ago: http://www.freetrafficsite.com/win/matrix.htm (use IE)

doing an iphone slider in JS would be pretty cool. then just run pocket ie in fullscreen and voila.

only thing it wouldn't do obviously is updating icons for signal strength etc.

it'd be purely for showing off the iPhone look.

it could be made to close once you slide it though so it'd still have functionality.
[Windows Mobile Development and Hacking General] fasgiu:
remove the fishes' wallpaper or apple will give you problems..
[Windows Mobile Development and Hacking General] chrismrulz:
thanks, just removed it.

didn't know if it was copyrighted since it came up after like the first google image result.
[Windows Mobile Development and Hacking General] LlamaV3:
the clownfish picture is public domain.

http://www.winmatrix.com/forums/index.php?showtopic=8562

it was available way before the iphone was revealed. I think it is the sliding unlock bit that apple have the most beef with.
[Windows Mobile Development and Hacking General] chrismrulz:
ok, well i've just updated it. added it back in and added transparency 'effects'.

if apple asks me to take it down i will though.

@ebaker- don't know what that problem is.

it's working fine on my iPAQ running WM6, ppc emulator running 2003SE, and windows vista. (all from the same executable)
[Windows Mobile Development and Hacking General] LlamaV3:
had a quick look through the code and there is room for improvement as you said.

one thing that was very noticable on my htc p3300 was that the 2 timers conflicted. When the clock timer ticks it stalls the slideback timer for a few milliseconds. this means that when the slider slides back from a release it stutters once a second. to combat this I put a clock.enabled=false when the slider is out of position and renabled it when it is back in it's default location.

I also get a lot of blurring of the slider too. I think this may need to be buffered graphics or done with GDI. I'm looking at the possibility of using directx mobile for it. I'll dig around over the next couple of days and see if I can knock something together like that.

My graphics background is in opengl but I don't think we have that option on mobile devices do we?
[Windows Mobile Development and Hacking General] mrbrady12:
I would say try either. As far as the app. It runs from file explorer which is how i got it to run. Cant wait to see updates.
[Windows Mobile Development and Hacking General] chrismrulz:
yep i noticed those things.

but as i said it's just proof of concept at this stage, so you can see performance and compatibility and that everything actually functions. it's not meant to be practical just yet.

yeah the graphics definitely needs to improve.

but what is implemented at the moment, i will keep in the program as a backup solution if the hardware doesn't allow gapi or whatever i put in.

(kind of like how directx on the desktop will use a lower version if your hardware doesn't support the newest one they used)

i think opengl is possible on ppc's. can't remember where i saw it.

otherwise there's gdi, gapi, or directx/3d mobile.

i'm thinking maybe leave the way it is now as the lowest graphics acceleration, then one step up is either gdi or gapi, then another step up is to use directx mobile.

feel free to add anything to the source and send it to me and i'll check it out and use it to continue work on.
[Windows Mobile Development and Hacking General] LlamaV3:
I can't find much documentation on GAPI, do you have any good links?
[Windows Mobile Development and Hacking General] dream2006:
got the same problem any help.
[Windows Mobile Development and Hacking General] chrismrulz:
lol, just googled ".net cf gapi" and it only came up with ms's gapi wrapper and this thread as the top results.
[Windows Mobile Development and Hacking General] chrismrulz:
i've started a thread on experts-exchange to see if they can find out how to do the transparency on the arrow image.

once thats done, it's almost able to be used practically :)

at this stage it's already looking awesome in vga quality on my hx4700 :D :D

update: i've been able to make it transparent to 1 solid color, but that doesn't help as i need it to be transparent to the image behind it.

it's looking like it could be easily done though.
[Windows Mobile Development and Hacking General] chrismrulz:
update: i've just got the 'slide to unlock' image to actually do the animation on the pocket pc (same method as A_C's. the frames are stored in a bitmap).

soon as i figure out how to make the arrow button transparent (it's hard to use fake transparency when it constantly moves), i'll call it V1.0 stable :)
[Windows Mobile Development and Hacking General] LlamaV3:
i'm still trying to get the slider buffered properly
[Windows Mobile Development and Hacking General] chrismrulz:
thanks man.

and if you do, can you implement it into the latest version?

btw, i found the exact fonts that the iPhone uses.

so i've added it to the app. only catch is you need to copy the fonts to your windows directory yourself and soft-reset. The app will use them once thats done though.

here's how it looks :)
[Windows Mobile Development and Hacking General] LlamaV3:
if you're using the open cf then you can take a look at this:

http://blog.opennetcf.org/ayakhnin/PermaLink,guid,0b5a9c02-0a44-4d5e-85f9-949cab4ad8f3.aspx

sweet transparency and font drawing, his sliding movement isn't done very well but the actually drawing of the images is the great bit.
[Windows Mobile Development and Hacking General] chrismrulz:
wow, thanks for that.

it'd be good to make it still compatible with WM2003, but oh well.

are you able to implement that into this one?

best way to do it would be convert the source to vb.net then grab the original images from A_C's slide2unlock,

then add a

if(WINCE_OS >= 5.1) then doalphablending()

so then for 2003SE users they get what it's at now (which i'd keep working on). and WM5/6 users get perfect alpha blending.

then all that needs to be done is buffering the images properly and this would be 100% complete and ready for memory usage tests against slide2unlock to see if it makes it any better :)

if you can work with me to get this stuff done it'd be great.
[Windows Mobile Development and Hacking General] Novembre5:
Slide2Answer?

I was just wondering if you were going to make a slide to answer option. I am currenty using slide2unlock and the slide2answer function does not always work. It will work once and then after I receive another phone call I do not even get any caller id information, so I don't even know who is calling. So I was wondering if you had any plans on making your program work with a slide2answer function?
[Windows Mobile Development and Hacking General] chrismrulz:
i don't really see the point of it. can't you just 'side to unlock' then answer your call?

but yer i might do that later on. just gotta sort out all the internal stuff first.
[Windows Mobile Development and Hacking General] Novembre5:
When I have my phone locked by slide 2 unlock and my phone rings it unlocks my phone and sometimes if my phone is in my pocket it gets answered by accident. If I had to slide it to answer the phone then this will help me from accidently answering my phone. If it is possible to add this feature it would be a great help to everyone who has this same problem. Thank you for all your hard work!!!:)
[Windows Mobile Development and Hacking General] chrismrulz:
well as it is now, if you get a phone call while it's running you'd have to slide to unlock then press answer.

so is the point of 'slide to answer' supposed to answer the call by sliding it?

and do they have that on the iPhone?

sorry i'm not up to date with all this..
[Windows Mobile Development and Hacking General] mrbrady12:
First off great job. Even at the current stage its the only S2U that i have been able to get to work on my Wing. The way i get it going now is launch it from File explorer then i changed my voice dial button to take me to the home screen after I unlock. I was wondering if it were possible to get this be part of my launcher as a program rathen having to go into file explorer?

Also after unlocking can it go straight to my home screen where i can answer, etc?

Personallly the way it is now works great for me. Im sure others are waiting for those edits that you mentioned in your first post but damn at least alot of us can use it now.

Thanks again for your dedication.
[Windows Mobile Development and Hacking General] chrismrulz:
if you mean that iphone launcher app that lawyer hosts on her website,

check out the first post to see a modified version of that which makes it compatible with this one. (btw you need to rename slider.exe to slide.exe)

to change what it returns to when you unlock,

make a start menu shortcut to it.

then you just open the app that you want it to return to when you unlock, and then launch my app from the start menu icon. which basically locks you from getting to that app.

or you could assign a button to launch it instead of a start menu shortcut.

well considering it's only 5 days old and it's only been me working on it in my free hours, not bad eh?

if you wanna speed it along though... *shakes money tin with big label saying PayPal*
[Windows Mobile Development and Hacking General] chrismrulz:
sorry to the 2 people that downloaded that first update i did today.

you should download again cos i just added a pretty major fix to it.
[Windows Mobile Development and Hacking General] steffan3301:
wich file do i need to install this programm on my HTC Touch and how do I install it?
[Windows Mobile Development and Hacking General] LlamaV3:
Hi, sorry about the delayed response, I;ve had a mad weekend (househunting :( ) anyway, I'll take a look at the smoothness of that bar. my xda orbit shows major artifacts when dragging the bar. Also, will it be possible to increase the speed of the slideback animation from 1 pixel a tick to about 4 or 5? Just feels a little too slow.
[Windows Mobile Development and Hacking General] chrismrulz:
yer the arrow button just needs transparency and to be moved to use direct draw or gapi (while still keeping the script that tells it how to move etc.)

i don't know how you could buffer it as there's nothing to buffer until it's happened.

the timer for the slideback is as fast as it can go.

i can make it skip pixels to make it go faster but i dunno if that will look good.

try the Slider.zip first and if the 'slide to unlock' animation doesn't turn out right the right size, patch over the top of it with Slide_VGAPATCH.zip.
[Windows Mobile Development and Hacking General] LlamaV3:
Yeah, just try changing slideback to this:

Private Sub SlideBack_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SlideBack.Tick

If (SliderButton.Left > SliderBG.Left) Then

SliderButton.Left -= 4

Else

SlideBack.Enabled = False

End If

End Sub

maybe try

Private Sub SlideBack_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SlideBack.Tick

If (SliderButton.Left > SliderBG.Left) Then

SliderButton.Left -= 4

Else

SlideBack.Enabled = False

End If

End Sub

it may be smoother but I don't think the missing pixels are really noticable and it gives it a better "springing back" feeling.
[Windows Mobile Development and Hacking General] LlamaV3:
I've added a kinda, springy slowing down of the slideback, I like the feeling of it, what do you think?
[Windows Mobile Development and Hacking General] chrismrulz:
woah, it's definitely too fast.

but i like the fact that it still stays smooth.

so we can use the same method to make it just a little faster so it's accurate to the iPhone's.

the springback isn't a bad idea, just i wanna keep the same functionality as the iPhone (i.e. you can grab it when it's sliding back)

just changed it to -2 and uploaded it. it looks pretty accurate. (i've been closely watching the iphone demo vids from apple.com lol)

when i get to adding configuration i'll add the option to change the slideback speed though.
[Windows Mobile Development and Hacking General] mr_ding:
Quick Question:

I extracted launcher.zip, and ran iContact from it. It only shows letters (A to S) when I click on 'ABC', my contact from T to Z are missing.
[Windows Mobile Development and Hacking General] chrismrulz:
sorry dunno.. icontacts isn't my app.

i just included it in a modified version of the launcher app cos people tend to use that with slide2unlock.

larna's icontact thread is here: http://xdaforums.com/showthread.php?t=303045
[Windows Mobile Development and Hacking General] mrbrady12:
Definitely will make donation. I think i was referring to the launcher in the Touch Today screen (on my Wing). I am running it from the launch button (one of the 5 buttons on my home screen). Then when i unlock it takes me back to the file explorer were i start the program. I also renamed it slide.exe and only difference i noticed was the speed. Im not sure how to create a shortcut or have it return to anything (not that good at this yet).

Also, i noticed when i get a call it will let me answer without unlocking the phone. If i press lets say the messaging button on the right side of my phone i can see it going to messaging in the background. Same with camera, etc. I figured its becuase still in development stage.

Hope all these updates help. This program works great so far.
[Windows Mobile Development and Hacking General] chrismrulz:
basically it will return to whatever was running it before it was launched.

so it's best to use a shortcut to it cos if you launch from file explorer it will just return to that.

didn't realize it doesn't stay ontop for phone calls etc.

i don't have a smartphone to test it on yet but i'll get around to that.

remember to use the latest versions though cos i'm always fixing things and making it faster ;)
[Windows Mobile Development and Hacking General] mrbrady12:
Thanks. On what model phone are you testing this? I appreciate you taking the feedback from me and everyone else. To clear what i meant is that lets say i lock with S2U and i get a call, using the soft keys i can answer or ignore and S2U doesnt require to unlock (which im hoping will get fixed). But if i press the messaging button, or camera i can see in the header that its changing in the background but if i dont unlock at this point then i cant use programs.

Hope this clears it. Might be some setting to make it where the phone will ring and then require me to slide to unlock or slide to answer type of settings.

I am using the slider.zip file but will try the laucher.zip to see any difference. BTW: Using T-Mobile Wing (Herald, Atlas).
[Windows Mobile Development and Hacking General] chrismrulz:
yeah when you open another app and then switch back to the slider app (using itask or something) it'll get rid of the title bar problem.

the launcher.zip isn't a different version of the slider or anything so it wont make a difference. it's just a modified version of the launcher app so it's compatible with this slider app.
[Windows Mobile Development and Hacking General] boyfriendinacoma:
i downloaded your iphone fonts to use on my phone for a_c's slide2unlock and the fonts are not working i put them in my windows/fonts help anyone?
[Windows Mobile Development and Hacking General] chrismrulz:
they won't work for A_C's slide2unlock. his uses tahoma fonts and bitmaps for the time.

to use them in mine you need to put them in the fonts directory and soft-reset.
[Windows Mobile Development and Hacking General] chrismrulz:
thanks for that, i knew it was messy just couldn't be bothered fixing it cos it won't really effect the program much.

although i'd already designed a method in the way the power status and registry variables were set that doesn't cause errors (after a recent update).

so i'll have to see if making a conditional for it would be worse performance or anything.. can't remember how i did it.

anyways about the alphablending..

i converted that c# .net project you linked me to into vb.net and started making it VGA and trying to add my code to it.

it's alot harder than i thought cos he has a whole different structure of how things are drawn and for the arrow.

i want to try and keep his arrow because it's fast and does the transparency,

but try and add my code in so the movement is right (would require alot of editing though).

updating any stuff with alphablending is near impossible in this as it can only be done upon the form's onPaint event.

so you'll notice the updatestatus() no longer works.

here is the source for what i've done so far.

i think it's only working on WM5+ and vga devices atm.

atleast this is a start though.
[Windows Mobile Development and Hacking General] xxza:
I see following files attached. Which one should I use for Mogul WM6? Thanks.

Slider.zip (693.8 KB, 476 views)

Slider_VGAPATCH.zip (240.4 KB, 12 views)

Slider_Source.zip (963.9 KB, 12 views)

Slider_VGAPATCH_Source.zip (234.2 KB, 6 views)

launcher.zip (675.6 KB, 395 views)
[Windows Mobile Development and Hacking General] chrismrulz:
with any device just try slider.zip and if the animation isn't the right size extract slider_vgapatch.zip over the top of it.

launcher.zip is if you want a modded version of the launcher app to work with this.

btw, where did those extra 400 views come from lol..

the other day there was only like 20 each day i released a new one.
[Windows Mobile Development and Hacking General] LlamaV3:
that looks good, obvious things to change are:

QVGA compatible (just a case of dividing numbers by 2 I suspect.

Only slide when XY coordinate is within XY range of arrow.

Slideback

Updating (I had a brief look before I had to go into a meeting and it looked like no clock was enabled, is that not the reason why? I'll try and look later)

May not be too hard, that's some great work merging the two codebases so far.
[Windows Mobile Development and Hacking General] chrismrulz:
yeah the problem is that you can't enable the clock or anything. you can only do alphablending on the form's onpaint event apparently.

and redrawing the whole form would be horrible performance so we can't go there.

btw, this is what i'm working on to get the transparency to work on the arrowbutton image on mine:

add this to new()

AddHandler Me.SliderButton.Paint, AddressOf SliderButton_Paint

and then add this:

Sub SliderButton_Paint(ByVal sender As Object, ByVal e As PaintEventArgs)
Dim sbimage As Image = New Bitmap(GetAppPath() & backslashes & "GFX" & backslashes & "Res" & backslashes & "arrow.bmp")
Dim attr As New Imaging.ImageAttributes
attr.SetColorKey(Color.FromArgb(255, 0, 255), Color.FromArgb(255, 0, 255))
Dim rDest As Rectangle = Me.SliderButton.ClientRectangle
e.Graphics.DrawImage(sbimage, rDest, 0, 0, sbimage.Width, sbimage.Height, GraphicsUnit.Pixel, attr)
sbimage.Dispose()
e.Graphics.Dispose()
End Sub

apparently the setcolorkey is supposed to make it skip drawing the pixels of that color, not filling them with a solid color.

that code above should work.. but it doesn't..

i think it's something todo with how i'm parsing the image.

edit: got it to work by making a new inherited picturebox control.

the annoying thing is though.. it doesn't make it transparent to the control behind it, it makes the entire form transparent for that area..

so i had to make it paint the image behind it on the paintbackground event.

and now i've got to find a way to repeat that process every time the arrow button moves.. which i haven't been able to..

anyways, it's atleast transparent when it's in the starting position which is better. so i've uploaded a new version with it.
[Windows Mobile Development and Hacking General] chrismrulz:
i've found a use for that other alphablending project.

here's another app that creates the images and saves them to GFXOUT for use in my program. (edit: attachments removed. you can get it from the front page now.)

this way you can still choose use different wallpaper while it still doesn't actually need to do the alphablending in the actual app, which also means less resources.

i've made another version of the slider to use toplock.bmp instead of the smaller lock.bmp and top.bmp to make it compatible with this, but i'll fix the problems before i release it all.

the current problems are that the slideanis.bmp needs to be manually rejoined into one bitmap,

the slideanis.bmp and slide.bmp images are off by a bit,

and it can only be run on wm5+ vga devices atm.

the good thing though is it does everything else properly.

even if it's too tricky for other people atleast i'll be able to upload different wallpapers for it with ease.

edit: there werent actually any problems with the images being off by a bit, it was a simple problem in the actual slider app that i've fixed.

i also made it join the slideanis into one bitmap. everything works. you just run it and copy the GFXOUT directory it generates.

i've put this on the front page with a new slider version.
[Windows Mobile Development and Hacking General] chrismrulz:
just did a massive update.

i've fixed almost every single problem now.

the arrow button stays fully transparent, the app runs in fullscreen, and i've made a config creator to generate the alphablended images so you can change the wallpaper if you like.

the only major problem now is that there are trails of images when you drag the arrow button image which also makes it a bit laggy.
[Windows Mobile Development and Hacking General] LlamaV3:
wow, you've been busy.

I've written my own slider app, but an extremely simply version so that I can test buffering etc without having tonnes of your code around. I still for the life of me can't get it to work properly. everything in my code make sense but it isn't behaving as it should, I'm still gonna keep hacking away.

I wish someone who knew could pop into this thread and let me know how to do it.
[Windows Mobile Development and Hacking General] Beaumont:
Great thanx to author! Cool program!

I just want to know, can the slider line is plain on the today screen (not on the special full window)? It will be great for our HTC touch!
[Windows Mobile Development and Hacking General] LlamaV3:
Yes!!!!

I figured it out :D

Check out the attached exe chris (this is my bare bones test so it basically is just the code I need to buffer the graphics and is designed for my qvga orbit). But you should see that the moving bar doesn't leave a trail.

I'm leaving work now but if I get any time tonight I'll put it into your project. If you can update your code this evening to your latest then that should help me.

[edit, probably best to try this on your pocketpc, looks a bit odd on pc and seems slower. i'll look into performance, but on the pocketpc it's fine.]