Related
Having written StylusLock I wanted an additional lock/unlock method. Although StylusLock works great, I wanted some extra features:
* to have it possible to lock and unlock "one handed". The StylusLock approach cannot be done "one handed", e.g. on a bike.
* Also some people do not like to operate with the StylusLock (always).
* The combination with this new CapacitiveFingerLock and existing StylusLock will suit more people.
* And sometimes people will use the Stylus, so they will get the right behaviour depended on the usage pattern
* Still the goal is to let it consume almost no CPU and battery and KISS to operate
I discovered with StylusLock that when the TouchPanel and Hardware keys are locked, still the Zoom function works in e.g. Opera.
You can try yourself, using StylusLock:
1. Start Opera
2. Lock the Touch Diamond or Touch Pro with StylusLock
3. TouchPanel and all hardware keys are locked
4. Try to Zoom in/Zoom out in Opera, this still works with the NavWheel
5. Also the Ok button seems to react
I figured out via Scott Seligman and Koushik Dutta how to programmatically access the Capacative Touchpads. You can read also more here: [REF]Capacitive touchpad apps
So this idea is implemented in CapacativeFingerLock. But I am not using the NavWheel idea, but just uses the Capacative hardware area for locking/unlocking. The idea is again simple and clever. When you softly touch the area where the hardware keys are located (so do not press the keys, just gently touch them), the up/down and position area can be detected. I programmed that when the same area is touched gently 3 times within a second (without touching another area), the lock status is toggled.
I made a proof of concept program (just copy the exe inside the zip file attachment to your phone and just execute it), which shows how it is going to work. Just play around with softly touching the hardware panel, to see what happens.
If am working on integrating CapacativeFingerLock with StylusLock, to have a working "real locking" application. The Proof of Concept program just shows that it is possible.
Reserved for future use
Another one for future use.
very nice concept....now i noticed you posted a link of this thread in the wheel to unlock thread...would there be a way to possibly implement a config tool that lets you choose say, touch 3 times softly, or run your finger around the circle?
Malik05 said:
very nice concept....now i noticed you posted a link of this thread in the wheel to unlock thread...would there be a way to possibly implement a config tool that lets you choose say, touch 3 times softly, or run your finger around the circle?
Click to expand...
Click to collapse
In principle this can be done. But because the NavWheel is also used for other purposes (Zoom In/Out), I have chosen not to use the NavWheel, but the 3 times gently touching. In this way there is no interference with other existing applications.
I'll try that, it seems like no one cares aboyt the capacitive touch pad, it seems like an amazing thing that we've got that is so neglected. I hope to give some positive feedback later, but first I have some rom flashing to play with!
Thanks for the work, there must be so many possible implementations for this, I hope this is just the beginning of something much bigger.
How about a simple tap to launch app?
i went ahead and installed it, and it works very well...Will there be a (pretty) GUI to show that it was unlocked?
Also the diamond does have multi touch on that pad area, which enables a "trace" of the movement of your touch
http://www.youtube.com/watch?v=f3Owgcos_KY
Since the nav sensor wont be so ideal, how about sliding your finger from the top of the pad to the bottom (lets say, place your finger on the back button, and gently moving it down to initiate unlock, with a GUI on the screen following your movement, as you go closer to the bottom, the color changes from lets say, red, to green...with incremental color changes in between)
Instead of 3 taps, why not a swipe between the home and back keys, which seems much more natural.
Surur
surur said:
Instead of 3 taps, why not a swipe between the home and back keys, which seems much more natural.
Surur
Click to expand...
Click to collapse
I imagine it is just harder to implement for a proof of concept.
Personally I think there are enough ways to lock the diamond, whether you swipe the screen or 1cm below it is not a revolution, but if swiping the capacitive touch pad could be made to launch desired apps from selected gestures, that would be a revolution, like dynamo3 or hibernate or even standby. I think a lot of people here would want that over another locking solution. Good will intended!
Just tried it.
This is very cool very very cool
Thanks for time invested in such a cool development.
surur said:
Instead of 3 taps, why not a swipe between the home and back keys, which seems much more natural.
Surur
Click to expand...
Click to collapse
Swiping is not so easy one handed. Touching gently 3 times is much easier one handed, holding your Touch Diamond or Touch Pro firmly and touching with your thumb.
However, I can imagine other sort of applications which can use the swiping for other sort of operations. Both are possible with the programming API I made.
uniqueboy said:
I imagine it is just harder to implement for a proof of concept.
Personally I think there are enough ways to lock the diamond, whether you swipe the screen or 1cm below it is not a revolution, but if swiping the capacitive touch pad could be made to launch desired apps from selected gestures, that would be a revolution, like dynamo3 or hibernate or even standby. I think a lot of people here would want that over another locking solution. Good will intended!
Click to expand...
Click to collapse
I am going to share the source code. I have written it in C#. And others can get ideas and take over some of the source code for their own application. At the end we profit all of it.
ZuinigeRijder said:
I am going to share the source code. I have written it in C#. And others can get ideas and take over some of the source code for their own application. At the end we profit all of it.
Click to expand...
Click to collapse
I like your style, that is the the kind of development attitude that keeps here!
ZuinigeRijder said:
Swiping is not so easy one handed. Touching gently 3 times is much easier one handed, holding your Touch Diamond or Touch Pro firmly and touching with your thumb.
However, I can imagine other sort of applications which can use the swiping for other sort of operations. Both are possible with the programming API I made.
Click to expand...
Click to collapse
If you are open to other ideas, I would love the area from the back to home key to be a scroll bar when the device is in landscape mode. Grabbing the narrow on-screen scroll bar can be tricky, and the Touch Pro lacks the scroll wheel of the HTC Kaiser.
Surur
Have been looking into this myself as well. The only code I found was managed C#. Do you think we can use this in our native C code? Looks promising though!
ZuinigeRijder said:
Having written StylusLock I wanted an additional lock/unlock method. Although StylusLock works great, I wanted some extra features:
* to have it possible to lock and unlock "one handed". The StylusLock approach cannot be done "one handed", e.g. on a bike.
* Also some people do not like to operate with the StylusLock (always).
* The combination with this new CapacitiveFingerLock and existing StylusLock will suit more people.
* And sometimes people will use the Stylus, so they will get the right behaviour depended on the usage pattern
* Still the goal is to let it consume almost no CPU and battery and KISS to operate
I discovered with StylusLock that when the TouchPanel and Hardware keys are locked, still the Zoom function works in e.g. Opera.
You can try yourself, using StylusLock:
1. Start Opera
2. Lock the Touch Diamond or Touch Pro with StylusLock
3. TouchPanel and all hardware keys are locked
4. Try to Zoom in/Zoom out in Opera, this still works with the NavWheel
5. Also the Ok button seems to react
I figured out via Scott Seligman and Koushik Dutta how to programmatically access the Capacative Touchpads. You can read also more here: [REF]Capacitive touchpad apps
So this idea is implemented in CapacativeFingerLock. But I am not using the NavWheel idea, but just uses the Capacative hardware area for locking/unlocking. The idea is again simple and clever. When you softly touch the area where the hardware keys are located (so do not press the keys, just gently touch them), the up/down and position area can be detected. I programmed that when the same area is touched gently 3 times within a second (without touching another area), the lock status is toggled.
I made a proof of concept program (just copy the exe inside the zip file attachment to your phone and just execute it), which shows how it is going to work. Just play around with softly touching the hardware panel, to see what happens.
If am working on integrating CapacativeFingerLock with StylusLock, to have a working "real locking" application. The Proof of Concept program just shows that it is possible.
Click to expand...
Click to collapse
A while ago I posted about the Windows Messages received by the form for capacitive touch events. Is that what you ended up using to figure out where on panel is being touched? Mind posting some code so I can add it to the Sensors assembly?
Great idea. Defienetly it will be my way of locking device. StylusLock works nice but can't be operated by one hand so its useless for me. SensorLock uses battery and i've drop my phone already unlocking it.
surur said:
If you are open to other ideas, I would love the area from the back to home key to be a scroll bar when the device is in landscape mode. Grabbing the narrow on-screen scroll bar can be tricky, and the Touch Pro lacks the scroll wheel of the HTC Kaiser.
Surur
Click to expand...
Click to collapse
This can be surely done, programmatically. But I do not know if you can control the scrolling of other applications. The latter seems to me difficult?
Anyway, when a lot of applications are going to use gestures using the capacative areas, there will be going conflicts (different programs reacting differently on different gestures).
For the locking application I want to made, I see also some different gestures possibilities:
- 3 taps for locking/unlocking
- swipe left to right for Power off
- swipe right to left for starting a configured application
And I am sure I can come up with other gestures and actions....
drvdijk said:
Have been looking into this myself as well. The only code I found was managed C#. Do you think we can use this in our native C code? Looks promising though!
Click to expand...
Click to collapse
Actually I started with C++ and had also a working Proof Of Concept. However, because I am new to Windows Mobile Programming, I also wanted to use C# as next project. I have developed programs in a lot of languages (also in C++ and C#), but I like C# more. And I wanted to do this now for Windows Mobile, to get experience with this. Note that the C# sample is using only .NET 2.0, so you do not need .NET 3.5.
You can find a C++ sensortest program, which was available on Scott's weblog:
http://scottandmichelle.net/scott/cestuff/sensortest.zip
ZuinigeRijder said:
This can be surely done, programmatically. But I do not know if you can control the scrolling of other applications. The latter seems to me difficult?
Click to expand...
Click to collapse
I dont know if you can manipulate the scroll bar of another application directly (though this would be ideal) but at the least maybe a page down keystroke could be sent to the active window.
Surur
I was wondering if anyone can help..........
I have been looking for a decent screen lock for sometime, something a bit like the iphone, where you have to slide your finger across the screen to unlock it.
i have searched for this, and it has come to no avail. So i wanted to be pointed in the right direction.
thanks
S2U2
here you'll find it:
http://forum.xda-developers.com/showthread.php?t=412418
thanks it's installed and working fine
Just want to know:
can anyone of u use his elf just with the finger? like the iphone?
i always have to do everything with my fingernail.
Yeah, paying attention to how I use it, you're right I always use my nail to get to the smaller objects, even the Start Menu, and keyboard. The only place I use my whole thumb is when scrolling the TF2D menu.
mhh yeah. but i mean if you are able to use your finger :> because it seems like the touch has some kind of problem with the complete finger. i have to push the screen very hard until it recognizes that im touching
@freaksey ... have a look here:
http://forum.xda-developers.com/showthread.php?t=360564&highlight=touch+pressure+threshold
for info on changing what pressure you need to register a touch. i found that helped.
re tiny buttons ... the two main things i did to make mine more finger friendly (i hate having to use stylus on something called Touch) are
- install RandomAccess.exe ... the Contacts app from Touch Dual ... much better than the (awful) one that came on early Elfs (if yours is recent, it may have this anyway)
- install better keyboards. there's lots about, user preference dictates which is best. i've currently got Gullum's Diamond keyboard which is nice.
yeah yeah i know :> i have this already on 80866... i just want to know if this problem with "whole thumb pressing" exsits only for me. the sensebility is already awesome, the only prob is that everything just works when i touch the screen with my nail and not when i do this with my thumb.
That would probably because your nail is recognized by the screen at the distinct location it is hitting it and the phone knows what you want to click on, but your fat fingers may hit a few different 'touch' areas and the phone is unsure which of those was to be accessed so it ignores the entry.... my only presumption.
You guys are right. I never noticed before that using the pad of my thumb or even finger does not work very well. I also out of habbit use my finger nail. I implemented the sensitivity tweaks about 6 months ago and noticed a dramatic improvement with the amount of pressure I had to implement to use my device but it still works best using finger nail rather than the pads of your fingers or thumbs. I have to make several attempts using much more pressure to use the pads of my fingers or thumbs. It's too bad really but not that big of a hassle now since I am use to using my finger and thumb nails and with the sensitivity tweaks it works really well.
I've got the onxy rom at the moment but before i just downloaded a different keyboard and can use it fine with my fingers.
Im using the Touch Of HD Rom and I have no problem getting around my device every day without getting the stylus!
Somtimes i forget the stylus is even there
100th Post ^_^
since diamond/fuze has the Capacitive sensor (i'll call it CAPSEN from now on) ...and a seperate touch screen...
why not combine to have multi touch.....maybe you already heard this from me or someone else..but i thought i bring it up anyway...
just like the "PINCH" from iphone....
but 1 finger on the touch screen...and 1 finger on the CAPSEN....doing the PINCH...should zoom out...and zoom in...
On a Picture....
Browser...
Notes...
any other app that has zoom function
and use it as an APP LAUNCHER....for instance...
TOUCH and HOLD the Centre button with the thumb...and swipe UP on the touch screen...brings up dialer?? app launcher?? Voice command??
maybe not just app...but shortcut for Tools...such as
copy/cut/paste/
back/forward (browser)
next/previoius(media)
this is all i can think of now...cuz i'm sleepy so I will come up with a bigger list when i'm awake and fresh....
peace
SolidKundi
+1
thought about the same just a day ago
Nice idea, I know there has been talk of multi touch on just the screen, but that is very complicated since if you touch two points on the screen it will actually read the midpoint of the two spots.
Your idea would work like holding a shortcut combo ie: Ctrl + C = Cut
But on the phone we could touch the end call button and the screen and as you move it would zoom out......and enless other ideas!
GScroll uses the touch pad on the bottom and you can assign stuff, but not with the screen....I bet that wouldn't be to hard for the programmer to figure out......
noellenchris said:
Nice idea, I know there has been talk of multi touch on just the screen, but that is very complicated since if you touch two points on the screen it will actually read the midpoint of the two spots.
Your idea would work like holding a shortcut combo ie: Ctrl + C = Cut
But on the phone we could touch the end call button and the screen and as you move it would zoom out......and enless other ideas!
GScroll uses the touch pad on the bottom and you can assign stuff, but not with the screen....I bet that wouldn't be to hard for the programmer to figure out......
Click to expand...
Click to collapse
There should be more apps that take advantage of the pad at the bottom just sumthing simple like scroling clockwise and anticlockwise round the ok button to zoom in n out like you can on the txt msg screen would be a gr8 improvement
+1
Was thinking about this too..
What's on my mind was touching the panel to simulate "Shift" and "Ctrl" keys. Hence to be used together with the keyboard to provide functions like "Copy/Cut/Paste" (Ctrl+C/X/V), "Select All" (Ctrl+A), and also to capitalize a letter with the "Shift" function...
If it could be done, i'm sure it will be household program on every Diamond... hmm...
mmm Good Idea!!
!!!!!!!!!
but yah...also i just remembered ..that the CAP sensor is also multitouch.??? ...i remember seeing a youtube vid about that...
if thats the case..we can do so much...like the pinch effect right on the cap sensor....or swipe with two fingers....ahhh the endless features this will give us...every other phone will bow down.....
even touchdiamond2
solidkundi said:
but yah...also i just remembered ..that the CAP sensor is also multitouch.??? ...i remember seeing a youtube vid about that...
if thats the case..we can do so much...like the pinch effect right on the cap sensor....or swipe with two fingers....ahhh the endless features this will give us...every other phone will bow down.....
even touchdiamond2
Click to expand...
Click to collapse
Indeed, just zoom with two fingers at the mulititouch panel! That's great!
It should be possible to make this app, because they have that kind of application on the blackstone too! (they made an application that makes the bottom panel like a zoom bar, just like the topaz)
I'd donate if it someone makes this application!
[ElCondor] said:
Indeed, just zoom with two fingers at the mulititouch panel! That's great!
It should be possible to make this app, because they have that kind of application on the blackstone too! (they made an application that makes the bottom panel like a zoom bar, just like the topaz)
I'd donate if it someone makes this application!
Click to expand...
Click to collapse
I say the same thing..
multitouch for diamond I think is possibile..like this app nobody thought could exist [sorry 4 english]
I was think about it 2 months ago. Not multitouch the captive + screen, But multitouch on captive only (there is video that the captive sensor on diamond was multitouchable ).
I was interested with this idea, but I can't find any sample code for captive sensor (I found some accelerometer sample code), Is there any good reverences/sample code about how to get captive sensor signal/messages with C++?
( I was interested to code it, but not promises to create it )
i wish this actually goess throughhhhh but....we need more support from the rest of the forum users....i guess i have to make this TItle more appealing..hehe
amarullz said:
I was think about it 2 months ago. Not multitouch the captive + screen, But multitouch on captive only (there is video that the captive sensor on diamond was multitouchable ).
I was interested with this idea, but I can't find any sample code for captive sensor (I found some accelerometer sample code), Is there any good reverences/sample code about how to get captive sensor signal/messages with C++?
( I was interested to code it, but not promises to create it )
Click to expand...
Click to collapse
Actually TouchLockPro uses the NavSensor and is written in C++. You can couple commands to capacitive swipes, 8 in total. Also I did make the source code available on sourceforge.
sounds good...I can only do photoshop....i'll try to help anyway i can......
i really would love to have Multitouch on my Diamond.
This will be groundbreaking.....even diamond 2 can't touch this..i think....anyways..
@ZuinigeRijder ---thanx
ZuinigeRijder said:
Actually TouchLockPro uses the NavSensor and is written in C++. You can couple commands to capacitive swipes, 8 in total. Also I did make the source code available on sourceforge.
Click to expand...
Click to collapse
Ok hanks... I will check it...
any (good) news?
I'd love to help
I would love to help but.....
I don't know any programing or any photoshop, can someone teach me something? I really want to help the community but I don't know how
multi touch not really multi touch
I might be wrong but i was thinking that the diamond doesn't actually have multi touch, it's more like having 4 touchpads that all work at the same time. The left part with the home and the dial button, the wheel, the center button, the right section with the back and end call buttons. That may explain why the touch interface is so slow...
The fingerprint scanner is really cool and useful for some people, but I personally don't really care to have a security measure like that. That said, I prefer using the scanner as the unlocker instead of the screen unlocker.
Not sure how many people would actually want this as an option, but would it be feasible to add the option for any swipe to be accepted?
Uhm. That's what it does now. You slide your finger and it unlocks.
If you want it to do it without registering fingerprints, no you cannot do this and you wouldn't want it to, as it'd unlocked whenever something brushed against it.
I don't need the added security either, but I also prefer the fingerprint reader to unlock. The only downside is that if I need my gf to do something for me on my phone she has to use the unlock code, but that's no big deal.
I wish the phone would turn on when you swipe. that power button is damn hard to push. why is is recessed in?
perdurabo2 said:
Uhm. That's what it does now. You slide your finger and it unlocks.
If you want it to do it without registering fingerprints, no you cannot do this and you wouldn't want it to, as it'd unlocked whenever something brushed against it.
Click to expand...
Click to collapse
I meant it to be a mod type option. I know it's not an option from the factory.
It wouldn't unlock every time something brushed against it because it would still require a press of the button. I honestly don't know the tech that goes into a fingerprint scanner, but it's not just a pressure sensor, so it wouldn't work with just anything touching it. It doesn't even respond if it's through cloth like a shirt, so I'd argue that the screen is more likely to unlock the phone accidentally than the fingerprint swipe would be.
I'm assuming this could be a fairly complex mod, so it's probably not worth the effort it would take. Still figured it would be worth throwing out there for anyone who might be able and willing to give it a try.
Thanks for the responses so far.
waltah! said:
I don't need the added security either, but I also prefer the fingerprint reader to unlock. The only downside is that if I need my gf to do something for me on my phone she has to use the unlock code, but that's no big deal.
Click to expand...
Click to collapse
When you setup the fingerprint scanner it has you enroll your right index and your left index. Why not enroll your right index and your GF's right index?
Hah, this thread brought an idea - imagine if the fingerprint sensor could be used as a touchpad - you'd just swipe down to scroll down a browser for instance
9mmBullet said:
Hah, this thread brought an idea - imagine if the fingerprint sensor could be used as a touchpad - you'd just swipe down to scroll down a browser for instance
Click to expand...
Click to collapse
Thats what I thought the OP was going to be about when I saw the title. If there was a mod for that I'd isntall it instantly.
Thats if I get the Atrix of course.
Use a launcher like Any Cut to start com.authentec...NavigationConfiguration.
Emulation: trackball. Rotation: eALT180. NAV Mode: Enable.
Have fun.
New life in an old thread...thx for ealt180 tip!
Sent from my CM7'd, oc'd/uv'd (M)Atrix 3.5G
secretlevel said:
Use a launcher like Any Cut to start com.authentec...NavigationConfiguration.
Emulation: trackball. Rotation: eALT180. NAV Mode: Enable.
Have fun.
Click to expand...
Click to collapse
Nice tip, thanks a lot.
Gesendet von meinem MB860 mit Tapatalk
can someone guide me a little? tried to do it but failed right away. already installed anycut, found the app on Activity, selected it but then what? cause it auto closes after i open it.
fixed!
old android 1.6 and earlier had by default screen unlock by just pressing a button (g1 has menu button). android still has that function but its disabled, perhaps it can be assigned to the "trackball"?