change Button LEDs - Touch Diamond, MDA Compact IV Themes and Apps

Hi there,
can anyone explain me how to get access to the control of the "Button LEDs"?
I know there must be a way because in Android those LEDs are glowing for example when you touch a button. At WM they only glow if you PRESS a button or touch the scroll wheel.
Thank you in advance

+1 here, that would be a nice option too

OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers

shirreer said:
OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers
Click to expand...
Click to collapse
That would be a first step. The default settings (light up all LEDs on button press or on scroll wheel touch) is just stupid.
The next step could be something like use the sensors on the buttons as extra buttons or use the LEDs as indicatiors for diffrent stuff. The scroll wheel for example seems to have 3 or more diffrent LEDs as Backlight. This could be used to indicate the battery status.

shirreer said:
OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers
Click to expand...
Click to collapse
Customizable options for the so the lights can follow your touch when scrolling ?
Not practical but it would look good

But how could we interact with the sensors?
I dont think they land somewhere in the message queue of windows mobil. I think we have to rewrite the driver which is responsible for them. But maybe I'm wrong, because I don't have a lot of experience with the windows Mobil API. I prefer managed code like C#.

As far as I understand, the center of the dpad is the only part of the hardware that has the capability of sensing when you touch it. The only way you are gonna get the other buttons to respond is with a button press unless you modify the hardware.

try the latest version of xdandroid. if u thouch for example the back key, it glows.
so, no. every button has a sensor on it

Just so we're all on the same page, the entire area below the screen is a touchpad, it is sensitive to touch & motion - there is an app that implements this very nicely as both a touchpad and touch launcher/Task Mgr. My xsense app already interacts with button lights to show several events (i.e. stylus out, volume profiles).

freaksey said:
try the latest version of xdandroid. if u thouch for example the back key, it glows.
so, no. every button has a sensor on it
Click to expand...
Click to collapse
shirreer said:
Just so we're all on the same page, the entire area below the screen is a touchpad, it is sensitive to touch & motion - there is an app that implements this very nicely as both a touchpad and touch launcher/Task Mgr. My xsense app already interacts with button lights to show several events (i.e. stylus out, volume profiles).
Click to expand...
Click to collapse
OK Sorry! I have the cdma diamond on sprint so I didn't know the other versions(gsm) had touch sensative buttons! My d-pad is that way but the others are not. Forgive my ignorance.

Y'all should check this app out; I'm not in league with the developer, but I recognize his talent on this one. Its an amazing app that does all of the above and more - and there's a trial version:
http://mobilesrc.com/gscroll2.aspx

this app looks nice.
Is anyone out their who can explain me how to catch the events of button-touch area?

freaksey said:
this app looks nice.
Is anyone out their who can explain me how to catch the events of button-touch area?
Click to expand...
Click to collapse
Google for Koushik's sensors.dll library; it comes with sample apps etc...

in his libary is only a event for the rotation of the scroll wheel...

touch lock pro
As I know, app called "Touch lock pro" can do some settings with the ring LED's, so this can be the way

Related

Wizard Keyboard Lighting

is there a way to have the Keyboard Light come on when the device is opened?
I find it aggrevating that I must press a key first!
I second that
I third it.
I fourth it....
yeah thats pretty god damn true actualyl when your in cinema and trying to txt when u open it you have to press two buttons, (a letter to lite it up) then another to delete that letter before u can start to reply, gay !
who is the one!
does anyone have ideas heres a thought
it should be triggered with the screen rotation
Haha, this is one of the most annoying things about the wizard.
I hate that "feature" and I also hate that the backlight goes out after a second or two on the keyboard if you don't push a key.
Lol, I second that one too!
I'm sure it would be possible to make an application that simulated keypresses on the slide out keyboard, but only whilst it was open (could be detected by looking is the screen was in landscape mode or portrait mode)
Should be simple enough to make, but i've not learnt enough at university yet to tackle such a problem, maybe next summer
it should not be triggered by app simulating keypress with screen rotation or upon opening it should be executed in same manner as screen rotation.
brins0: have you tried simulating a keypress by using the onscreen keyboard? Doesn't work.
The keyboard backlight is not stimulated by non hardware keypresses (at least on the Hermes)
V
jeffbar1 said:
it should not be triggered by app simulating keypress with screen rotation or upon opening it should be executed in same manner as screen rotation.
Click to expand...
Click to collapse
Actually, looking into it further, there arn't actually any keys you could "press" that wouldn't result in an action on-screen. You may be able to trick the hardware into thinking you pressed a key (by possibly creating a virtual hardware key (if that is even possible)), which would make the keys light up.
Are the keyboard lights controlled by the hardware itself, or does Windows have some mention in the lighting status?
The keyboard backlight timer is all hardware controlled.
This means there is no way to change it's crappy 5 second time out, and no way to control it from within software.
Yes, it sucks. That is one of my few complaints about this device. The backlight on the keyboard DEFINATELY needs to be configurable.
vijay555 said:
brins0: have you tried simulating a keypress by using the onscreen keyboard? Doesn't work.
The keyboard backlight is not stimulated by non hardware keypresses (at least on the Hermes)
V
Click to expand...
Click to collapse
I understand what you mean, but I think you mis-understand what i'm suggesting. The drivers for the keyboard should have something similar to a key status. If you make the status for a peticular key "pressed" or whatever, it's effectively fooling the driver into thinking the key has been pressed, hence the keys would illuminate. (I don't fully understand how the hardware works, not being an expert in this feild, and considering each new model differs (sometimes quite heavilly))
GldRush98 said:
The keyboard backlight timer is all hardware controlled.
This means there is no way to change it's crappy 5 second time out, and no way to control it from within software.
Yes, it sucks. That is one of my few complaints about this device. The backlight on the keyboard DEFINATELY needs to be configurable.
Click to expand...
Click to collapse
Yeah, I gathered this was the case...
I wonder if a physical modification of the hardware would allow it to be changed... Any volunteers
Elsewise, it is impossible...
brins0 said:
Yeah, I gathered this was the case...
I wonder if a physical modification of the hardware would allow it to be changed... Any volunteers
Elsewise, it is impossible...
Click to expand...
Click to collapse
Any electrical diagrams of the keyboards interface? lol
Why not just have it trigger upon landscape activation?
I too would like to see the keyboard light come on when landscape is activated, and stay on until landscape is de-activated
h00ligan said:
Why not just have it trigger upon landscape activation?
Click to expand...
Click to collapse
This is what we are suggesting, but this is not possible as the keyboard lights are controlled by the hardware, not by windows, so we can't really trigger them in such a way.
Unless you are willing to physically modify your hardware, it is NOT possible to make the keyboard lights activate upon sliding the keyboard open, and most likely never will be with this device, and most likely others too...
Hmm.
I know it's a stretch, but hit the delete key?
Or hit a menu key twice.

X1 Manual now online!

X1 manual is now online.
At first I was alarmed - no button for switching UI orientation between portrait and landscape! But then I looked a little more and I see you can assign a button to perform that function.
Otherwise reasonably obvious WinMo stuff...
The attached zip needs the file extension to .rar in order to extract it - its the manual for your viewing pleasure.
But then I looked a little more and I see you can assign a button to perform that function.
Click to expand...
Click to collapse
can u tell me where did you find that in the manual?
*edit*
I've found it.
NZtechfreak said:
At first I was alarmed - no button for switching UI orientation between portrait and landscape! But then I looked a little more and I see you can assign a button to perform that function.
Click to expand...
Click to collapse
Oh hooray... You can do the same thing on a Tilt. That's quite disappointing, that a phone of this caliber can't even set something up where you can rotate the screen out of the box, you need to remap one of the buttons to do it.
Black93300ZX said:
Oh hooray... You can do the same thing on a Tilt. That's quite disappointing, that a phone of this caliber can't even set something up where you can rotate the screen out of the box, you need to remap one of the buttons to do it.
Click to expand...
Click to collapse
That is called customization. lol...
samy.3660 said:
That is called customization. lol...
Click to expand...
Click to collapse
Exactly, so screen rotation isn't standard, it needs to be customized on a phone that's almost into the triple digits of cost (USD). That's not called customization, that's called pathetic.
yep, pathetic
nap007 said:
yep, pathetic
Click to expand...
Click to collapse
Why is this pathetic? They have given you a way to customise a button for this purpose. If you want it, its there, if you don't need it, it doesn't get in your way.
I think you just want to have that dedicated button to justify your purpose. Now THAT is pathetic.
^ so you joined here
now ask yourself, why did Samsung, HTC Apple and even Nokia give accelerometers to their device (which some people even found they're annoying)? why not just a customizable button like you said?
now ask yourself is there any reasonable reason why SE put away the button that was supposed to be screen orientation button?
and the damn on screen keyboard, gosh, I'm speechless...
What is the light sensor for?? Maybe it can act as a function to rotate the screen(like what it did for n82).... but this is not seen in the video demostration.
@nap007, I've been lurking here for some time already, but joined in just to reply to your comment.
Adding a feature as a marketing gimmick is one thing. The accelerometer is not really that useful in its current implementation. I do applaud SE's decision to make the screen rotation customisable to any softkey, as opposed to having a dedicated button of limited use.
nap007 said:
^ so you joined here
now ask yourself, why did Samsung, HTC Apple and even Nokia give accelerometers to their device (which some people even found they're annoying)? why not just a customizable button like you said?
now ask yourself is there any reasonable reason why SE put away the button that was supposed to be screen orientation button?
and the damn on screen keyboard, gosh, I'm speechless...
Click to expand...
Click to collapse
You ALSO been here ONLY for a couple of weeks. People here are inerested in the Xperia, and looking for info or help.
If you think is pathetic, what is your decision? Are you getting something else? I don't understand why you hang around here, instead to welcome new people and contribute, you discharge your personal frustrations.
.
gvino said:
What is the light sensor for?? Maybe it can act as a function to rotate the screen(like what it did for n82).... but this is not seen in the video demostration.
Click to expand...
Click to collapse
Welcome gvino you are in right place.
Xperia has 4 lcd lights one in every corner. You can set each one to alert you for up to 12 different event.
That's cool. Very nice touch from SE.
Pinguino1 said:
You ALSO been here ONLY for a couple of weeks. People here are inerested in the Xperia, and looking for info or help.
If you think is pathetic, what is your decision? Are you getting something else? I don't understand why you hang around here, instead to welcome new people and contribute, you discharge your personal frustrations.
.
Click to expand...
Click to collapse
funny how you didn't say anything to BLACK93300ZX, as I was only agreed with him
I didnt know it had a built in stylus...Excellent!
The problem as I see it is that the actual button is gone; which button are we supposed to assign our custom request to? Panels? Call end? There are no frigging buttons to assign anything to!
bloob said:
@nap007, I've been lurking here for some time already, but joined in just to reply to your comment.
Adding a feature as a marketing gimmick is one thing. The accelerometer is not really that useful in its current implementation. I do applaud SE's decision to make the screen rotation customisable to any softkey, as opposed to having a dedicated button of limited use.
Click to expand...
Click to collapse
mkent_barbados said:
The problem as I see it is that the actual button is gone; which button are we supposed to assign our custom request to? Panels? Call end? There are no frigging buttons to assign anything to!
Click to expand...
Click to collapse
Exactly! There should be a specific key that one could program for this. Customization is good, but a specific button should be there.
In the latest prototype models there was usually a Funciton Key mentioned on the left side of the device. Maybe this manual does not mention that 'cos it was written before that decision or something? It does say "This is a DRAFT publication". Let's hope that this is the case.
As shown in the manual, there are 2 softkeys, labelled as Selection Keys, immediately below the screen, one on the left and other on the right. As far as I can see, these softkeys are not specifically assigned to any particular functions.
One could say that these softkeys could correspond to options show on screen immediately above, but you could just press the options on the screen anyway, so quite redundant in this premise.
Thus, these 2 softkeys can be permanently assigned to function as the screen rotation button, if you so desire. SE may well even default one of these softkeys to be the screen rotation button for production units.
The manual we have now is not yet complete, and we'll have to see the production one to see for sure.
I really don't see what's the problem and fuss here.
nap007 said:
funny how you didn't say anything to BLACK93300ZX, as I was only agreed with him
Click to expand...
Click to collapse
Ok nap007, is your opinion and you have the right to it. But don't tell me to go after everyone on this site. Friends?
I got news about the FCC TEST REPORT.
the USA version was approved and the 3G bands is 1900.
AT&T people should be happy.
https://fjallfoss.fcc.gov/prod/oet/forms/blobs/retrieve.cgi?attachment_id=1011331&native_or_pdf=pdf
bloob said:
As shown in the manual, there are 2 softkeys, labelled as Selection Keys, immediately below the screen, one on the left and other on the right. As far as I can see, these softkeys are not specifically assigned to any particular functions.
One could say that these softkeys could correspond to options show on screen immediately above, but you could just press the options on the screen anyway, so quite redundant in this premise.
Thus, these 2 softkeys can be permanently assigned to function as the screen rotation button, if you so desire. SE may well even default one of these softkeys to be the screen rotation button for production units.
The manual we have now is not yet complete, and we'll have to see the production one to see for sure.
I really don't see what's the problem and fuss here.
Click to expand...
Click to collapse
YEAH, I am sure I saw a youtube video where the person very clearly puts the finger at the bottom to rotate the screen. At the time I thought if was a touch on the screen, now I believe it was the left soft key.
Yes, that video is of Magnus himself doing a demo for journalists. He did press the left-side softkey to rotate the screen, because someone asked him whether you could rotate the screen without opening the keyboard. Well, there you have it.

wake power on using capactivite buttons?

on my diamond i could disable the key lock and wake the device with a button press, is anything like that possible with the touch hd's capacitive buttons? it seems like a good solution as only fingers would be able to turn the device on. looked around and wasnt able to find a thread on the topic (other than shake to wake and the strange angling of the power button)
If I remember well it was Sensorlock or similar lock replacement that had an "issue" not being able to lock the hardware buttons. So I am 100% sure (as I tried it but dunno which one) that there is an alternative lock app that would fit your needs. Hopefully that "issue" is not fixed in the latest releases of the particular app
darfri said:
If I remember well it was Sensorlock or similar lock replacement that had an "issue" not being able to lock the hardware buttons. So I am 100% sure (as I tried it but dunno which one) that there is an alternative lock app that would fit your needs. Hopefully that "issue" is not fixed in the latest releases of the particular app
Click to expand...
Click to collapse
Not exactly what you are looking for, but have you tried LockMeLite, pocketshield or s2u2?
Those buttons are not capacitive imho. I can operate them with fingers/stylus/stick of wood ...
Anyways, would be nice to have such a thing.
Infestor said:
Those buttons are not capacitive imho. I can operate them with fingers/stylus/stick of wood ...
Anyways, would be nice to have such a thing.
Click to expand...
Click to collapse
Oops... I am using rss to read xda and thats why I didn't notice that this is a BLACKSTONE thread... Touch Pro has those hardkeys capacitive (to determine the position of finger +(!) two "real" buttons under the 4butoon field to "fulfill" the press command... dmn... it is morning. My english is stuck! Happy Eastern!

[APP REQUEST] MULTI TOUCH ON DIAMOND's Capacitive sensor {Need Developers}

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...

App Request : Enable keypad backlight while screen is on

For any devs out there...
Would it or is it possible to develop an app that will keep the backlight on for the keypad ? i.e. On while the screen is on and go off when the screen goes off ?
In the dark its very annoying when using the Hero and having to fumble for the right key to press - Home, Back, Search etc.
i second that
well erm just press any key and the light will go on dude, you dont need an app for this
So you fumble and hit Home or even power off (to sleep) the screen when you only wanted to hit search or back.
Flicking the scroll wheel is the only way to light up the keys and not press the wrong one by mistake, but that tends to highlight a button, link etc... and sometimes if you hit the ball too hard, you select a screen element.
Still a pain and TBH not like any handset I used before. Backlight time out was always linked to screen time out.
You dont need to hit any key, just move the scroll wheel even slightly and lights come up. And it does need decent amount of pressure to press the scroll button, you wont accidentally press it.
er, yer, I know... but I don't want too
lets just say "even if it doesnt make sense to some people, WE want it!"
btw, there is one app "dark keys" that keeps the backlights of the keypads off all the time. this was made for the white G1. maybe it can simply be rewritten to make the reverse happen?
joemax said:
For any devs out there...
Would it or is it possible to develop an app that will keep the backlight on for the keypad ? i.e. On while the screen is on and go off when the screen goes off ?
In the dark its very annoying when using the Hero and having to fumble for the right key to press - Home, Back, Search etc.
Click to expand...
Click to collapse
+1
i'm beeing annoyed by the keys not being lit as well ...
Glad I'm not the only one
Yeah, I want it too. Thanks for bringing this up!
I think it's good idea, btw it looks cool at night. I want it too
Good idea. +1
So which dev is gong to earn a couple of $$, ££, €€ by writing this for each copy sold then ??
From what I can tell of the API docs (http://developer.android.com/reference/android/os/PowerManager.html, the SDK only allows for the keyboard backlight to be on in FULL_WAKE_LOCK state, meaning the screen will have to be full brightness.
So I don't think this request can be achieved by a pure SDK app.
How come it lights up at any screen brightness on the Hero ?
Surely its also a hardware call and not just an OS call ? These would be independent of Android and particular to each manufactures handset, else they would all be the same.
Not questioning you, but it would seem strange that its not addressable separately to the screen ???
joemax said:
How come it lights up at any screen brightness on the Hero ?
Surely its also a hardware call and not just an OS call ? These would be independent of Android and particular to each manufactures handset, else they would all be the same.
Not questioning you, but it would seem strange that its not addressable separately to the screen ???
Click to expand...
Click to collapse
I'm by no means an Android SDK expert, just posting what I found in a quick search round the docs. Happy to be proven wrong!
Lee
Of course - wasn't criticising at all
Might be able to dabble in the /sys/class/leds/ folder.
I'll take a look when I get in.
Not a dev though. Lol.
soulehmoo said:
Might be able to dabble in the /sys/class/leds/ folder.
I'll take a look when I get in.
Not a dev though. Lol.
Click to expand...
Click to collapse
Correct.
echoing a value to:
/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/button-backlight/brightness
through adb shell turns on the backlight.
I think an SDK app could be created as a service with a broadcast receiver listening for the power state changing that just writes a positive value to the file above.
Loads of similar examples here: http://forum.xda-developers.com/showthread.php?t=565015
I'll take this on, just about got it working.
Wicked thx
You are stars (especially fullerlee)
Don't make it too expensive though

Categories

Resources