HTC Stylus Sensor - Touch Diamond, MDA Compact IV Themes and Apps

So, the two people (Kai and some other guy) who figured out how to detect if the Stylus is in or out of the device didn't post about they did it. I Don't know if it's supposed to be a big secret or what. It's pretty simple:
HKEY_CURRENT_USER\ControlPanel\Keybd\StylusOutStatus
If it is 0, it's in. If it is 1, it's out.
I'll update the Sensors API shortly to give easy access to these events.

I've updated the Sensor SDK to give access and eventing to the Stylus State.
More info and download for the source to all the sensors available at my website.
I'll be writing an app launcher for when the Stylus is removed from the device. And of course, it will be free.

Thanks for the source code man.
This will also prove useful to start learning about developing some tools.

Koush said:
So, the two people (Kai and some other guy) who figured out how to detect if the Stylus is in or out of the device didn't post about they did it. I Don't know if it's supposed to be a big secret or what. It's pretty simple:
HKEY_CURRENT_USER\ControlPanel\Keybd\StylusOutStatus
If it is 0, it's in. If it is 1, it's out.
I'll update the Sensors API shortly to give easy access to these events.
Click to expand...
Click to collapse
Very usefull find my friend thankx

looking forward to it.
the questions I have are:
How small can you make this app? Will I be able to run it in the background without noticing a significant performace/battery hit?
How sophisticated can you make it? If I pull out the pen when in Notes or Word, it won't do anything, but if I pull the pen out at the Home screen it launches Word. Or when I put the stylus back while browsing it does nothing, but otherwise sends the phone into sleep mode.
Cheers again, look forward to it.

Did this just go away?

Koush said:
I've updated the Sensor SDK to give access and eventing to the Stylus State.
More info and download for the source to all the sensors available at my website.
I'll be writing an app launcher for when the Stylus is removed from the device. And of course, it will be free.
Click to expand...
Click to collapse
Hello Koush,
did you have time to develop this launcher with stilus out/in?
In my opinion this is a very interesting funtion.

i found out a new way to see if the stylous is in or out.. YOU LOOK AT THE BOTTOM RIGHT CORNER OF YOUR DIVICE.
why is this programm necesery? i mean.. come on...

ψυβερια said:
i found out a new way to see if the stylous is in or out.. YOU LOOK AT THE BOTTOM RIGHT CORNER OF YOUR DIVICE.
why is this programm necesery? i mean.. come on...
Click to expand...
Click to collapse
WTF??? you must be joking !!!

i am..............................

Related

Camera-based Motion Tracking

Hello everyone!
I'm new on this forum and I've only read TONS of useful information till now...Few days ago I bought an HTC Touch device and immediately I flashed its ROM with a new one found in this *** WONDERFUL *** site
Well, in the past I developed some (stupid) applications for Windows in several languages; then I discover the "pocket-pc" world and began to have to do with it! One night I was reading about a feature of a developement-version of a well known browser and WOOOOOOOW!!!! "You can perform several actions, like scrolling, panning, zooming...only by moving your phone!" The software use image-processing algorithms to recognize your gestures ...only using the built-in camera!!!! No accelometers needed...
Something like this: http://www.youtube.com/watch?v=I3pVaEVHpvI
Now, image-processing algorithms are not too difficult to implement...but how can I get access to the built-in camera on my Htc ?!? I tried to search all over the internet, and in this forum too...but I found only few things about HTCCameraAPI and many other programs and their dlls. I cannot believe there's no way to have access to the camera!!!
HELP please!!! this "project" could be very interesting!
One thing is sure - it _can_ be done, and it can work really good, even on weak hardware - look at this:
http://rivia.net/Fishopolis.aspx
I just tried the demo and i was amazed how well it worked on my wizard (especially considering its crappy camera), even in less than perfect lighting conditions (incadescent light). No overclocking required.
Also, from what i've seen WM7 is going to use the camera-based gestures too. So, anyone willing to beat M$ to it and develop a camera-based ftouchflo-like app?
I've looked at the libs, and I've even dabbled in the source, and this is my next project. Like I said, we know it can be done, it's just a matter of doing it. Obviously though, I've got to finish off PocketMelody etc. But it's my next move, once no one beats me to it . And personally, I hope someone does! It's not THAT hard.
Welcome to the forums gregnapola!
This website hepled me choose my very first PPC Phone 18 months ago and helped it become the best little device I own. It just keeps getting better and better with tools such as FTouchFlo, PocketMelody and Picture Flow, and I look forward to this feature onMY HTC Hermes!
Shows how much really can be done with this WM platform, all you need is developers with imagination and talent (and all the other things that go along with it like coffe and donations and and respect on the forums ).
Thanks guys.
maybe we would have some1 develop a program that automatically changes portrait mode into landscape by jus rotating the camera..hey u never kno..this is XDA-DEVELOPERS..
Sounds awesome and would definitly love to see this done. Just a quick question about it. Would it be a big battery drain to have this running all the time?
hebrewhammer said:
Sounds awesome and would definitly love to see this done. Just a quick question about it. Would it be a big battery drain to have this running all the time?
Click to expand...
Click to collapse
Considering that you're not rendering anything to the screen, it's at least safe to assume you'll be using A LOT less power than if you were walking around with your camera application on all day .
Thank you for your replies...
I've just installed the demo version of "Rivia Fishopolis" to see how well can it work but it doesn't run it because of an unknow security-error
Now, I found a lot of useful camera-based applications, but they'll come in the future - I'm talking about WM7 gesture-based control, NetFront 3.5 or EyeMobile Games by GestureTek...but all I really need is the way to capture frames by my Elf camera; code samples in any Visual Studio language with HTCCameraAPI, or any other lib...
any update?
I'd also love to substitute my D-Pad for a Camera-based Motion Tracking system
No Dev takes this challenge?
gregnapola said:
Thank you for your replies...
I've just installed the demo version of "Rivia Fishopolis" to see how well can it work but it doesn't run it because of an unknow security-error
Now, I found a lot of useful camera-based applications, but they'll come in the future - I'm talking about WM7 gesture-based control, NetFront 3.5 or EyeMobile Games by GestureTek...but all I really need is the way to capture frames by my Elf camera; code samples in any Visual Studio language with HTCCameraAPI, or any other lib...
Click to expand...
Click to collapse
I resolved your error assigning owner information (all). But camera feature seems to not work on my trinity...also the d-pad can't move the cursor...is there anyone with same problem?
thanks
Would it be possible to have it access the front camera too and switch of the LCD when you're talking on the phone? Something like what the iPhone does to save battery.
christiankirana said:
any update?
Click to expand...
Click to collapse
The only update is that my elf was stolen about a week ago...and so...I cannot do anything at all!!! So sad....
gregnapola said:
The only update is that my elf was stolen about a week ago...and so...I cannot do anything at all!!! So sad....
Click to expand...
Click to collapse
That's really stinks!! I hope you can get another one. Sorry to hear the news.
Chris
Im trying to use Fishopolis on my phone ( an HTC Wizard) but i keep on getting some kind of weird security error.
Any ideas why im getting that error and how to fix it?
doesn't seem to work with the camera on the Hermes...hmmm
Looks like we will have to wait until 2009 for WM7.
wouldn't it consume a lot more battery if camera is always on.
just my thought
I think this is a cool idea and I think I mentioned this somewhere else in this forum, but if this could be done, it would be cool if one could use the camera of there phone, link it via bluetooth and use it as a mouse for a laptop.
Just thinking outloud.
lol, some interesting ideas.
Docnas, refer to post by cf222111:
I resolved your error assigning owner information (all).
Click to expand...
Click to collapse
Mariner_heart, refer to post by thundershadow_14:
Considering that you're not rendering anything to the screen, it's at least safe to assume you'll be using A LOT less power than if you were walking around with your camera application on all day .
Click to expand...
Click to collapse

This is something that can benefit ALL HTC Touch Screen Devices

I have been trying to work on something that will enable some sort of Haptic feed back on my XV6800. The Haptic feed back is a feature that enables vibration to the screen when you press on the screen. Such as the Voyager.
I dont intend to try and make this just to work with the XV6800 but for ALL HTC Touch Screen Devices and if it can others too.
There is a feature on my phone and on many others that allows our phones to play a sound when the screen is taped. I thought of an idea of why not replace the sound with vibration?
There is already a CAB out there that changes the dial tone into a vibration feedback ( when you press the dial buttons ) but it doesnt do much for the rest of the applications or screen.
So far I have been working on this for a couple of days but havent had much time to put much effort into it.
I was hoping that some developers / hackers can help out the cause and help develope or create a feature that enables this on ALL HTC Touch Screen Devices.
If I do find a way to do this I'll post my findings here, but any help to make this a reality would be gladly appreciated.
I was just reading about this very thing HERE: http://www.immersion.com/vt/haptics-for-mobile.php
I was wondering if somebody was going to give it a try. Good luck with it, BOO
it has already been done, and someone posted it up on these forums a while ago, probably buried extremely deeply by now... i forgot the name but i just know it's out there and although it worked, i quickly worried about battery life/hardware issues, so i uninstalled. i'll try to find it for you
bootheresa said:
I was just reading about this very thing HERE: http://www.immersion.com/vt/haptics-for-mobile.php
I was wondering if somebody was going to give it a try. Good luck with it, BOO
Click to expand...
Click to collapse
Thank you. I am hoping that we can get this done.
I mean we are constantly trying to make our touch screen devices finger friendly. We enlarge buttons, the creation of Touch FLO and the Cube, enlarging menus and so on.
My theory is why not combine all these I deas with Haptic feedback and make it even more finger friendly and try to limit the use of the stylus. If made possible this would be able to work on any HTC Touch screen device or any WM Touch screen device out there.
This would also help users that have a hard time inputing anything into their phone. For example, some one trying to make a text message through t9 or even less then that just pressing on the screen to access a short cut with out having to pound their touch screen until it inputs that they are trying to press. This would help with that because it will acknowledge the input that was made.
Just an Idea
Azimuth21 said:
it has already been done, and someone posted it up on these forums a while ago, probably buried extremely deeply by now... i forgot the name but i just know it's out there and although it worked, i quickly worried about battery life/hardware issues, so i uninstalled. i'll try to find it for you
Click to expand...
Click to collapse
If this has been made possible for the entire touch screen and all applications including the standard OS please inform me of this find. I would gladly appreciate it.
yeah it was an application that ran in the background (maybe as a service, i don't remember), but every single tap created a vibrate feedback. argh i just looked around for it and i have no idea where to find it. it was in some thread, someone's reply had the app attached to it. something about how he knew someone who was working on it, and waited for that person's permission to post the app here on xda-dev. sigh.
Azimuth21 said:
yeah it was an application that ran in the background (maybe as a service, i don't remember), but every single tap created a vibrate feedback. argh i just looked around for it and i have no idea where to find it. it was in some thread, someone's reply had the app attached to it. something about how he knew someone who was working on it, and waited for that person's permission to post the app here on xda-dev. sigh.
Click to expand...
Click to collapse
Interesting. If it has been done already I wonder if we can replicate it and put it on this thread. That is if you dont find the link to the page or the program it self.
http://forum.xda-developers.com/showthread.php?t=354890&highlight=Vibrate&page=2
Around post #15. I do not know if it works or not..
appless03 said:
http://forum.xda-developers.com/showthread.php?t=354890&highlight=Vibrate&page=2
Around post #15. I do not know if it works or not..
Click to expand...
Click to collapse
Thanks this is a good find.
Ill see if i can make it available using another method. Because they reported that it worked on every other tap of the screen and that it runs the battery down faster too.
What I might try to do is have mine work but have the option to disable it ( like the way you do when you disable screen tap sounds) to save battery power.
[email protected]$ said:
Thanks this is a good find.
Ill see if i can make it available using another method. Because they reported that it worked on every other tap of the screen and that it runs the battery down faster.
What I might try to do is have mine work but have the option to disable it ( like the way you do when you disable screen tap sounds) to save battery power.
Click to expand...
Click to collapse
Hay [email protected]$
True like u said, i've tried it 2, but it do not respond to every fingertouch, if u can figur a way for an app that will respond 2 every touch even the small ones (where u don'nt need 2 hold for a sek before it regonise and verb.).. that will be really great
Cobra2 said:
Hay [email protected]$
True like u said, i've tried it 2, but it do not respond to every fingertouch, if u can figur a way for an app that will respond 2 every touch even the small ones (where u don'nt need 2 hold for a sek before it regonise and verb.).. that will be really great
Click to expand...
Click to collapse
So far I have planned some steps on ways to do it through the registry but it is not perfect. I am not an expert programmer but I can give it a shot, but it might take a while since I am not as great as the experts here in XDA.
But I'll do what I can. If I do find a solution I will post it here, but any help to make this project possible would be great.
I would be happy if my phone would just vibrate on keyboard input.
I am running this older vibro cab. Works very well however...
The vibration lasts aslong as your finger has contact on the screen. It would be better if it just gave a quick blip of vibro each touch maybe?
When you slide a cube etc it virbos the whole movement.
MM
MaxMotus said:
I am running this older vibro cab. Works very well however...
The vibration lasts aslong as your finger has contact on the screen. It would be better if it just gave a quick blip of vibro each touch maybe?
When you slide a cube etc it virbos the whole movement.
MM
Click to expand...
Click to collapse
Do you happen to have the CAB with you? Maybe I can find a way to change the effect this program does when you press the screen and lower the vibration feed back.
If I can do that then I can maybe create some registry settings to make the same effect but just replacing the sound that is emulated when you tap the screen. That way you can disable it or enable it when you want it. ( In case you need to save battery or something )
The length of the vibration should be shorter, other than that it's a really good tool.
wow i must be stupid. i just posted a thread about this yesterday. anyway, it'd be cool if we could figure out a way to just incorporate it into the registry, probly wouldn't use as much battary and stuff then.
This has been done already on this thread: http://forum.xda-developers.com/showthread.php?t=354890&page=2. On the second page, Kpyto posted a download link for it. I haven't tested it yet though so I can't tell you how well it works.
hows this coming along?
I tried the VOA program mentioned above, but i don't really like it - it's simply annoying by vibrating all the time when scrolling trough lists, or attempting to bring up a tap-and-hold context menu. Not to mention additional battery drain caused by the motor running for such long periods of time.
For me, much better screen tap confirmation is a very short vibra pulse - i often use Vibrate(50) as a confirmation in my mortscripts. That's only 50 milliseconds, but it' enough to be clearly felt, and since the motor is powered only for such short time, it causes almost no additional battery drain. I'd really love to see an application creating such confirmation instead of the screen tap sound.
I'd just like it to have customizable vibration time - since the minimal time needed to make vibration even noticeable can probably vary from device to device, and play nice with fTouchFlo - since both capture touchscreen events there are probably possible conflicts.
Good luck with the development. I hope you'll be able to realize this great idea
mr_deimos said:
I tried the VOA program mentioned above, but i don't really like it - it's simply annoying by vibrating all the time when scrolling trough lists, or attempting to bring up a tap-and-hold context menu. Not to mention additional battery drain caused by the motor running for such long periods of time.
For me, much better screen tap confirmation is a very short vibra pulse - i often use Vibrate(50) as a confirmation in my mortscripts. That's only 50 milliseconds, but it' enough to be clearly felt, and since the motor is powered only for such short time, it causes almost no additional battery drain. I'd really love to see an application creating such confirmation instead of the screen tap sound.
I'd just like it to have customizable vibration time - since the minimal time needed to make vibration even noticeable can probably vary from device to device, and play nice with fTouchFlo - since both capture touchscreen events there are probably possible conflicts.
Good luck with the development. I hope you'll be able to realize this great idea
Click to expand...
Click to collapse
Lets hope some one makes this. isn't there anyone on these forums with great programing skills?

[APP][UPDATED 2008-10-16] My sensor based application implementations

I am using the "ideas" section in the GSensor Apps thread as a guideline to write useful/useless applications. Instead of creating a thread for each small program I intend to reference the original idea/request here and display the application. Safes me from having to open a different thread
So here is the first one, based on this idea: Plane
Simple graphics, if you have better pictures, share them with me. I need top, bottom and side view of the plane. I can also use better sound files, I did not really look around for the best ones. And as usually improvements will be done and brought back here.
First improvement: used F22 picture from surur (see post below)
Usage: self-explaining
AH64d Lander
An other "Lunar Lander" clone, based on Apache Lander from the iPhone. Somebody did request this a while ago, so here is version 1, using C# and OpenGLES.
To start after a crash/landing, use options and the level you want to play. I fear however that the "Hard" level is almost impossible to play.
Options also allow you to use sound.
10-Sep-08: Fixed sound
Paper Airplane
A concept only application for the moment, but the goal is to replace the above "Airplane" with this OpenGL based application. For the moment it is only possible to look at the plane, sort of like a virtual hologram.
Usage:
Hold your PDA in landscape and turn it slowly around, tilting it over your head. You will be able to look at this paper plane from all sides.
Diamond Beer V2
A drinking tool, probably last update for a while.
Great idea! Looking forward to all the useful apps going to be posted here
Keep'em coming!
Thanx!
cgeboers said:
Simple graphics, if you have better pictures, share them with me. I need top, bottom and side view of the plane.
Click to expand...
Click to collapse
Surur
Great Idea your airplane!!
Surur: Your airplane is beautiful
great idea for the app list but..... why don't you make it on the wiki??
in this way also other peoples can add/update other sw& versions, and we will never stressed to follow day x day all the topics apps.
Also, i've read about the "cubes"
If you can do something with cubes, why don't do it for "Cubes app" like the iphone one?
SkizZO said:
great idea for the app list but..... why don't you make it on the wiki??
in this way also other peoples can add/update other sw& versions, and we will never stressed to follow day x day all the topics apps.
Also, i've read about the "cubes"
If you can do something with cubes, why don't do it for "Cubes app" like the iphone one?
Click to expand...
Click to collapse
I totally agree! You smart people with vast programming skills can't let the mac/iphone nerds have the lead in this area, right?
here is the example
http://www.youtube.com/watch?v=ugoq8M2XxVE
Wiki ?
SkizZO said:
great idea for the app list but..... why don't you make it on the wiki??
in this way also other peoples can add/update other sw& versions, and we will never stressed to follow day x day all the topics apps.
Also, i've read about the "cubes"
If you can do something with cubes, why don't do it for "Cubes app" like the iphone one?
Click to expand...
Click to collapse
Maybe a stupid question, but what do you mean with putting it on the Wiki ?
Nice plane images
Surur[/QUOTE]
Surur, thanks for the images, I will certainly incorporate them in the next version ! Could take a while, because I am going over the current apps again and try to improve them. It has been too long since I worked at the "Beer"
cgeboers said:
Maybe a stupid question, but what do you mean with putting it on the Wiki ?
Click to expand...
Click to collapse
look HERE
Anyone can modify it
Lander: when I turn on sound it quits
Airplane I really dont know what it can do except sound which is same all the time ...maybe my fault
Sound fixed
kultus said:
Lander: when I turn on sound it quits
Airplane I really dont know what it can do except sound which is same all the time ...maybe my fault
Click to expand...
Click to collapse
Fixed the sound and uploaded the new version.
As for Airplane it is based on a request from somebody to have the plane. I did not fulfil his request yet completely. Next version will change sounds when you "dive" the plane or change directions abruptly.
The main goal is to demo that you can turn your PDA (in landscape mode) around the axis and the plane will show different sides.
Also the sound will only play as long as you move the plane in the air.
I guess it is great if you want to fly a toy plane anywhere you like, but don't want to drag it around
If you don't like to play with toy planes, it is useless indeed, but hey who says that all programs here need to be useful for everybody

GScroll

Does anyone know about this ..looks like a cool app...ordering it right now
http://www.handango.com/catalog/Pro...&deviceId=2062&platformId=30&productId=239378
wow looks awsome, ill try the trial
looks neat - the question is how to enable/disable it without it interfering with the normal features of the phone...
basically a basic version of ftouchsl, ftouchsl has gestures though
xboxhaxorz said:
basically a basic version of ftouchsl, ftouchsl has gestures though
Click to expand...
Click to collapse
It's using the touch panel though- the capacitive part of the screen...not the main screen itself.
Ok, I bought the app, but the installer doesn't work on Vista, can anyone please provide me with a .cab for this? Thanks!
its in program files or the directory you saved it in. so im installing right now, well tell you what I think of it very soon!
might hsve been just the way my settings were but when I used this it did not seem one bit functional, I advise you to try the trial first. I uninstalled it slmost immediately. Just ststing mu experiences yours may be different
Wow, how secret is this. Need to register at Handango to download a trial that expires after 2 minutes, YES in words: TWO MINUTES.
And it comes as .msi file that requires .NET 3.5
Hell that's a challenge to try this thing out.
Hopefully it will not be considered as warez if I attach the cab here.
axelpix said:
Wow, how secret is this. Need to register at Handango to download a trial that expires after 2 minutes, YES in words: TWO MINUTES.
And it comes as .msi file that requires .NET 3.5
Hell that's a challenge to try this thing out.
Hopefully it will not be considered as warez if I attach the cab here.
Click to expand...
Click to collapse
Yes. It will be considered as Warez to attach here since Handango needs registration to download this file which is mandatory as per their policy. Removing the attachment from here and please refrain from re-attachment else its bansville
Its like XDA needing registration to post something in here
Hey
I just tested the app.
I think the scrolling is not that best, or I m even doing wrong.
But I like the feature to assign Applications to the Buttons.
So You have the 4 buttons ( home, back, call, end ), and
you can assign 4 Apps to its touchpanel.
So we can map a Taskmanager to a Button.
Maybe someone can test the scrolling, and tell his results
greets doena
I attached the trial .cab file for everyone (without windows, .NET, etc) to try...
For me the program works good. The scrolling feature will help a lot of us, who can't easily find the directional buttons...
I HAVE POSTED A WARNING JUST 2 POSTS ABOVE YOURS. IF ANYONE CANT UNDERSTAND WHAT IT MEANS PM ME AND I'LL EXPLAIN. DO NOT POST THE CAB FILES HERE, HANDANGO DOESNT NEED XDA TO ACT LIKE MIRRORS. NEXT ATTACHMENT HERE WILL SEND THIS THREAD TO CLOSURE AND NON OBEYING MEMBER TO BANSVILLE
doena said:
Hey
I think the scrolling is not that best, or I m even doing wrong.
Maybe someone can test the scrolling, and tell his results
Click to expand...
Click to collapse
Yes, the scrolling through G-Sensor is not the best experience in my opinion too. I tested this in TotalCommander and contacts list. It's too slow for me.
But the swipe scroll works quite fine. It's like a whole page down every swipe.
Yes. It will be considered as Warez to attach here since Handango needs registration to download this file which is mandatory as per their policy
Click to expand...
Click to collapse
Understood. Thanks and sorry!
It works fine for me, but it doesn't work for games (I tested it with Gstunt).... Maybe future releases will solve the problem...
I tried it for the 2 minutes it was worth. The scrolling is really just one movement up or down at a time...not really kinetic scrolling. It was a little tricky to get it on and off also (waiting to feel the vibration of it comin to life). I may buy it though...for the price I'll play with it...it does keep your figners off of the screen.
I played with the demo this morning instead of doing work.
Not bad with the scrolling, although it does not recognize 100% of the finger swipes. I couldn't get tap and tilt to work at all. And the slide over the center key was glitchy.
What I really would prefer is an app that will scroll up and down just by me tapping, but not clicking, the screen. It seems Gscroll could add that feature pretty easily.
The demo cab is available at the programmer's website, so it is neither "warez" nor is there any need to post it here. The website is www.mobilesrc.com.
Similar issues for me...
For the money, it's a reasonable piece of software, but useablility... it's not that good in my opinion. As mentioned above, it's far too slow. One 'swipe' moves one item in the list. It needs to be kinetic like a finger swipe on the screen. And it's not that responsive to touch. Sometimes it'll respond OK, other times it ignores my touch on the pad.
Great idea... needs a little more work
^is this guy for real, or what?
didn't he see the 2 posts from the mod in this thread?
well, look like the thread will be closing soon.

Slide to unlock - But not S2U(2)

I'm looking for a slide-to-unlock solution for my X1. It should NOT come with any additional features (as S2U2 unfortunately does). I don't need to lock it for incoming calls, my phone software does this by itself. I only need an app which will lock the device on wakeup so I have to slide to unlock. Nothing more and nothing less. The best thing would be a Today-plugin.
One more question: If such a software does not exist, how hard would it be to create one? I am an experienced programmer in VB, JavaScript and PHP, so I don't think I would have to learn a lot. The question is just whether the process of locking/unlocking the phone and capturing the wakup-event etc. is actually easy to program. I don't want to write more than 50 lines of code for this and it has to work very well with that. Do you think this is possible?
Firefall! said:
I'm looking for a slide-to-unlock solution for my X1. It should NOT come with any additional features (as S2U2 unfortunately does). I don't need to lock it for incoming calls, my phone software does this by itself. I only need an app which will lock the device on wakeup so I have to slide to unlock. Nothing more and nothing less. The best thing would be a Today-plugin.
One more question: If such a software does not exist, how hard would it be to create one? I am an experienced programmer in VB, JavaScript and PHP, so I don't think I would have to learn a lot. The question is just whether the process of locking/unlocking the phone and capturing the wakup-event etc. is actually easy to program. I don't want to write more than 50 lines of code for this and it has to work very well with that. Do you think this is possible?
Click to expand...
Click to collapse
As I don't know how screen slides are registered, I'm not 100% sure, but I can't imagine it'd need more than 100 lines.
Things you have to keep in mind that it has to be full-screen, always on top, locking hardware buttons as well etc.
If you manage to get this to work, I'd be very much obliged, as I'm looking for the exact same thing!
My advice: Make it semi-transparant and add an easy to modify image (png) that tells you to slide, which turns from red to green when you're set and then disappears.
I recommend making it fullscreen slide, the way lockmelite does, but then with the image added.
Nice to know that I'm not the only one looking for it
So you would propose a transparent fullscreen app? I would prefer using the Windows-lock, but I think once it's in, the only way to unlock is through the standard procedure. Can anyone confirm this? What other ways are there to lock the touchscreen? Is there a way to keep a transparent windows always on top? And an easy function to lock the hw-keys? Would you just set up a sort of hook and don't pass the keypress event? Is there a way to ensure that the event will not be passed on to other apps such as AEButtons? I really need some serious information on this before I start reading tutorials and organizing compilers etc.
simple screen lock that works
I came across this app: http://forum.xda-developers.com/showthread.php?t=419525
Works well, I had to set "on call unlolck" and switch of it's "slide to answer" function to prevent issues with my current ROM.
works a charm on my X1 using TouchIT 4.5 !
tried a few others out, but all had one or another issue. For more, search for "screen lock" in main forum search.
(edit) although free needs simple monthly renewal of registration keygen
Ctrl+A said:
I came across this app: http://forum.xda-developers.com/showthread.php?t=419525
Works well, I had to set "on call unlolck" and switch of it's "slide to answer" function to prevent issues with my current ROM.
works a charm on my X1 using TouchIT 4.5 !
tried a few others out, but all had one or another issue. For more, search for "screen lock" in main forum search.
(edit) although free needs simple monthly renewal of registration keygen
Click to expand...
Click to collapse
Yeah, first monthly registration sucks and I don't like the software. I've had it installed twice and I'm not satisfied (R2A ROM though). Performance is bad, many mismatches because of this. Application always comes in to protect, for example at boot - but it's completely useless because you can blast it away if you know enough to install it in the first place. deifnitely a no-go for me.
Firefall! said:
One more question: If such a software does not exist, how hard would it be to create one? I am an experienced programmer in VB, JavaScript and PHP, so I don't think I would have to learn a lot. The question is just whether the process of locking/unlocking the phone and capturing the wakup-event etc. is actually easy to program. I don't want to write more than 50 lines of code for this and it has to work very well with that. Do you think this is possible?
Click to expand...
Click to collapse
I think it might be alot harder then you imagine. Programming in PHP is very, very easy. The best option is probably try to find one of the eary s2u2 cabs. Maybe A_C has some tips for you
For Dev... MSDN may have the answer
If you are looking for examples of how to program the slide yourself, there's a good sample on codeproject:
http://www.codeproject.com/KB/mobile/IPhoneUI.aspx
It's written in C#.NET but if you can program VB.NET you should be able to read through and vaguely understand what's going on.
The sample is an iPhone clone UI, not just the slide-to-unlock bit and I think the sample is QVGA. Either way, its better than having to work it all out from scratch ;o)
I've been meaning to write something similar but unfortunately life isn't giving up the time at the moment. If I get around to it I'll post it on XDA for everyone else to enjoy!
Have you tried PocketShield?
http://www.pocketshield.net/download.htm
I liked it ..
fast rock said:
Have you tried PocketShield?
http://www.pocketshield.net/download.htm
I liked it ..
Click to expand...
Click to collapse
Damn, this program is nice!
I always have problems with S2U2 because it's slow, often incoming calls messes the screen so I'm not able to answer and sometimes the color depth of the screen changes to approx. 5 colors after unlocking and only a softreset helps.
PocketShield seems to be cut to the essential: locking and unlocking.
I'll try it a bit more
fast rock said:
Have you tried PocketShield?
http://www.pocketshield.net/download.htm
I liked it ..
Click to expand...
Click to collapse
Does it work well with X1 ?
It works very well ..
here's one that I REALLY like, nice and fast.
http://forum.xda-developers.com/showthread.php?t=478606
ChE84 said:
Does it work well with X1 ?
Click to expand...
Click to collapse
It does, but with not all of its features. PocketShield has 3 essential ways to unlock: light, slide and gestures.
X1 does not have a G-sensor, so gestures unlock won’t be available.
It does has a light sensor but apparently it is very difficult for 3rd apps to access it, so light unlock will neither be available.
Only “slide to unlock” will work. And due to this a special deal has been made for the Xperia community… You might be interested: http://www.pocketshield.net/Xperia
pckshd said:
It does, but with not all of its features. PocketShield has 3 essential ways to unlock: light, slide and gestures.
X1 does not have a G-sensor, so gestures unlock won’t be available.
It does has a light sensor but apparently it is very difficult for 3rd apps to access it, so light unlock will neither be available.
Only “slide to unlock” will work. And due to this a special deal has been made for the Xperia community… You might be interested: http://www.pocketshield.net/Xperia
Click to expand...
Click to collapse
I'm gonna check this out! Sounds good... Thanks!

Categories

Resources