HTC Nav Sensor (Scroll sensor) SDK - Touch Diamond, MDA Compact IV General

With the help of Scott, I figured out how to get the Navigational Sensor readings and updated the SDK.
Updated code and executables at this link:
http://www.koushikdutta.com/2008/07/htc-touch-diamond-nav-sensor-sdk.html

Do you know how to access the whole area as a touch panel...?

Related

Control LED

Hi,
I tried to use the LED from my App. Using the Standard "LED API" from WM, I was unable to light up the leds.. Someone know if there is an API like the G-Sensor API posted here?
C.

[Q] Can Galaxy sense the footprint of your finger? [= pressure enabled apps]

Can anyone test whether Galaxy S software / hardware wise can detect the area touched by your finger? If this is possible then pressure related applications would also be possible. Imagine invoking a right click just by tapping your finger in a different way (so as to cover a greater surface) - the music / drawing apps / or GPS scroll speed in such programs or other (e.g. the greater the "pressure" the quicker the scrolling).
Any ideas?
i highly doubt that this is possible and it is definitely not supported by the android api...
edit: i just looked into the api reference and saw that android does support pressure for touch events. i have no idea however if the galaxy s does support this. i think i will try it ...
edit2: sorry but i have to disappoint you, i always get the value 0.15686275 for the motion-event's pressure...but at least the galaxy s supports 5 finger multitouch while the htc devices can't even track 2 fingers right: http://www.youtube.com/watch?v=hVlsRCMltDg & http://www.youtube.com/watch?v=KRCDRXYJBCY
afaik this is only possible with resistive screens that report back the pressure, not with capacitive screens.
bommel0815 said:
afaik this is only possible with resistive screens that report back the pressure, not with capacitive screens.
Click to expand...
Click to collapse
nje, looks like it will be possible with capacitive screens as well soon: http://www.intomobile.com/2009/12/3...touchscreens-with-multi-touch-coming-in-2010/
edit: okay to be precise ... it will be possible on a capacitive touch enabled screen

[Q] Notification LED

Hello everyone,
writing from Italy, where this smartphone should arrive in these days. I already pre-ordered it, but I'd like to know if there is any kind of notification led on board (like the one that Nokia 5800 XM has - sorry for this link but it's my phone at the moment and I find the notification light very comfortable) or if perhaps there is a way to access the softkey buttons so that I can command them to light on if any notification is available.
Thanks in advance and have a good evening
In a nutshell, no notification light and no application for the button lights yet.
Thanks well, do anyone know the object I shall refere to access those lights? I really hope they are objects and not just "part of the screen"...
If I recall correctly, someone did actually mod the softkey buttons on the Galaxy S for notification purposes. If it was done there, why not on the 2X?
Edit:
There it was: http://forum.xda-developers.com/showthread.php?t=772672
Now all we need is CWM and a custom kernel with this thing implemented.
What I can say from inspecting the service manual so far is some bad news sadly:
All leds connect to the same source.
This means, the LEDs cannot be illuminated individually, only together.
I'll dig into it some more. Maybe I can find out something more.
Edit: Alright, here's some more.
The power source for the LEDs is realized by the LXW and/or FBW outputs of the MAX8907C which seems to be a power IC for the platform (it provides possibly all major voltage flavors inside the assembly)
The device is controlled via one of the I²C buses of the AP20 chip (PWR_I2C_SDA and PWR_I2C_SCL) but sadly, I couldn't get a hold of any datasheet for this chip, so further progress is work for those who can dig deep enough into the OS and kernel to control the appropriate outputs.
What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?
Well, since the "Hidden Menu" has an option for dimming the light on those buttons, shouldn't it be posible to use the same functionality to make notification light out of it?
This "Hidden Menu" must be some apk or something?
tiwiz said:
What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?
Click to expand...
Click to collapse
Nexus S is a completely different platform. I think starting from scratch would be just as hard than tweaking the Nexus S code.
Searching the APK of the Hidden Menu could be more promising.
I'll start digging as soon as I get my phone... it's taking ages to arrive here in Italy ::facepalm::
http://www.planete-android.com/2011/03/22/led-de-notification-pour-le-nexus-s/
USE OF CAPACITIVE BUTONS

[Q] This Captivate has a gyro or not?

I've read that the Captivate/GalaxyS has a "six-axis" accelerometer but no gyroscope. Is this six-axis device sufficient to emulate the gyroscope? My application needs acceleration with reference to some point outside the phone (aka, TYPE_LINEAR_ACCELERATION). Is this possible on a Captivate?
My Cappy is running SlimICS 3.3 and lists six sensors:
1. SMB380 3-axis accelerometer
2. MS3C 3-axis Magnetic field Sensor
3. CM Hacked Orientation Censor from CM Team
4/5. GP2A Light/Proximity sensors
6. Rotation Vector Sensor 2 from CyanogenMod Project
#3 and #6 look like they might help, if they can tell me which direction is down. I don't mind having to calibrate from a stable position first. Are #3 and #6 hardware sensors or some emulated thing or some wrapper on the other three axes for #1?

[Q] Compass with wrong orientation in Maps

Hi guys,
this is my problem/question: in Google Maps i have the orientation of the blu arrow (that indicates my position) that is the opposite of my real orientation. So i think: s**t ! Samsung has badly mounted my compass! .. So i have install GPS Status &Toolbox but here the orientation is correct! I have also calibrated all the sensors.. So what is the problem?
Thanks, Carlo. (sorry for my english)
while in google maps with the wrong orientation, have you tried moving the phone quickly in a figure of 8 motion in front of you?
that often seems to reset the orientation and fix compass issues for me

Categories

Resources