Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Polarfuchs
Old
#1  
Senior Member - OP
Thanks Meter 41
Posts: 770
Join Date: Apr 2008
Default Desire optical Pad = front camera?

Hi,

in the German connect magazine I read about the optical sensor wich replaces the track ball.

They wrote it is a camera and works like an optical mouse.

Then I thought: Can this "camera" be used as a front camera for video telephoning ?

And that is literally my question.
32Gb Nexus 7 - grouper
unlocked-rooted-JDQ39-4.2.2
-------
HTC Touch Cruise with Windows Mobile 6.1
 
coolbho3000
Old
#2  
Elite Recognized Developer
Thanks Meter 669
Posts: 884
Join Date: Dec 2008
All optical mice/trackpads are cameras: http://hackaday.com/2009/06/05/ds-optical-mouse-camera/

I doubt you will be able to do anything further than what is displayed in that video above.
Galaxy Nexus (GSM)
Control your Android phone's CPU! SetCPU for Root Users
Follow me on Twitter!

Like my work? Buy SetCPU on the market or buy me some [insert drink here].
 
Polarfuchs
Old
#3  
Senior Member - OP
Thanks Meter 41
Posts: 770
Join Date: Apr 2008
thx.
So not really a good idea, because it is either low-res or working like makro-focus.
32Gb Nexus 7 - grouper
unlocked-rooted-JDQ39-4.2.2
-------
HTC Touch Cruise with Windows Mobile 6.1
 
ChaosOfChris
Old
#4  
ChaosOfChris's Avatar
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Mar 2010
Location: Lidköping
It should be noted that the "only" way you could use as a camera is though hacking the hardware (as he had done in the video).

There is no way (or: I would be really surprised if there where) to access the "camera" from within the Android-system.. Just as your computer doesn't care if it the mouse you plug in is optical or uses a "ball" (x-/y-sensors etc) Android just gets the data from the sensor in the same way as if it was a trackball (as in n1, Hero etc).
 
irkan
Old
#5  
irkan's Avatar
Senior Member
Thanks Meter 42
Posts: 707
Join Date: Nov 2009
Location: Muscat

 
DONATE TO ME
Quote:
Originally Posted by Polarfuchs View Post
Hi,

in the German connect magazine I read about the optical sensor wich replaces the track ball.

They wrote it is a camera and works like an optical mouse.

Then I thought: Can this "camera" be used as a front camera for video telephoning ?

And that is literally my question.
good idea, i actually thought about it once before (using an optical mouse as a cam). but then i figured out that whats inside the optical mouse is a crappy camera, very low resolution, that only sense wither there is something covering it or not, and the direction of that thing if it is moving.

so the answer is, even if someone managed to hack it and used it for video call, the other person will only see a shape of dark pixels (your face) moving
 
gogol
Old
#6  
gogol's Avatar
Senior Member
Thanks Meter 129
Posts: 3,329
Join Date: May 2005
But, will it work like D-Pad?

For example, on Opera Mini, I can use it to navigate the screen ... or cant I?
Galaxy Nexus (Official yakju build): Android 4.1.2 "yakju" stock ROM, stock recovery, rooted ... fastboot unlocked
 
Polarfuchs
Old
#7  
Senior Member - OP
Thanks Meter 41
Posts: 770
Join Date: Apr 2008
@gogol
I think it only works like trackball, so you have to scroll many times over the sensor. You can't keep it going like a pressed button I think.
32Gb Nexus 7 - grouper
unlocked-rooted-JDQ39-4.2.2
-------
HTC Touch Cruise with Windows Mobile 6.1
 
vegetaleb
Old
#8  
vegetaleb's Avatar
Senior Member
Thanks Meter 502
Posts: 4,246
Join Date: Feb 2010
Location: Beirut
So we could even not touch it to swap from a page to another if it works like a mouse's laser right?
If our finger is about 1-2mm above it it will read movements
 
farnsbarns
Old
#9  
farnsbarns's Avatar
Senior Member
Thanks Meter 287
Posts: 474
Join Date: Mar 2009
Quote:
Originally Posted by vegetaleb View Post
So we could even not touch it to swap from a page to another if it works like a mouse's laser right?
If our finger is about 1-2mm above it it will read movements
Now that is a very good question. I should imagine that if this were the case it would be very irritating as accidental scrolling would occur a lot. Now I reckon they wont want this so I suspect they have taken measures to prevent it. Perhaps the area around the lens has a capacitance sensor so that it only works if you are actually touching it.

I should have mine soon so I will do some experiments but this probably indicates an interesting little hardware quirk.
 
ChaosOfChris
Old
#10  
ChaosOfChris's Avatar
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Mar 2010
Location: Lidköping
In theory you could lower the sensitivity(/how close the finger need to be to the sensor) by dimming the IR-light (But if it's dimmed too low you'll get a lot of lag instead).
Add to that the fairly small sensor (compared to an optical mouse) and the result would be that the finger needs to (almost) touch the surface/button to make the sensor react..

IMO it's most likely that HTC has tought of the problems with "false readings" etc, and compensated for it..

I doubt that it uses a capacitance sensor, as that would make it unusable with gloves etc.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more