APP Idea: "Volume UP" key as "Talk"/Answer call ? - Android Software Development

Hey everyone,
I have an HTC Incredible with no hardware talk/end buttons. The other day, it was snowing and I had gloves on. I COULD NOT Answer a phone call because I could not use the touch screen...
Here is my Idea:
Small background service that treats the Volume Up key as "Answer call" when a call is comming in ? That way, one could use the hardware buttons without taking gloves off !!!
In the Windows' world, I would have tried to make a script or VBasic exe for something simple like this, but I am lost in the Linux/Android world, I wouldnt know where to start. Is there anyone that would take on the (seemingly simple) app for me / others ?
(Example for developers, something like:
on keypress 123 {if exist [window(incomming_call)=true] then "answer_call" | else "volume_up"}
^ This is just a random idea with NO actual programming behind it)
Any support from others ? Does this sound like a good idea ?
(This thread might be somewhat related if anyone posts auto-answering information that the user is requesting : http://forum.xda-developers.com/showthread.php?p=10518374#post10518374 )
Thanks !

Related

Switch to Speake Mode when slide open the keyboard

Dear All,
This is my first post at the forum. All my other questions have been answered via the search function, so I'm very gladfull that all of you know this awsome machine so well.
Actually I do have a rather challenging question you everyone who is reading this forum.
When I'm talking to somebody on the telephone, normally keeping it to my ear. Now I would like to open my agenda en start writing in it to schedule an appointment. I would the system to switch to handsfree mode as soon as I slide open my keyboard? Is there a way to do this?
Did somebody maybe found an upgrade for this?
For instance, I know that when you open the Nokia 9300 while calling it will transfer to the speaker function?
Well, maybe someone can help me solve my little issue.
Thanks in advance.
Regards,
Jort.
Thats a very good question. I had never thought of that, but it would be nice, although not essential as switching to speaker is fairly quick and easy to do. If there was a reg hack or util to do it, it would use it for sure.
I know what you mean, i use it most of the theme this way. i bod a Bluetooth headset for this problem. but if there is a way. It wil make me happy
Have not seen a hack for this - just hold down the call button as you slide the keyboard open - that will do it
thats just like the lg V on verizon
good question !!
if we can find this will be a good hack to add to your device.

App to stop accidental touch answer

I don't know if anybody else has this problem with their diamond... but I was sitting at my desk the other day, with my diamond on the desk in it's case.
Then i heard voices, I thought I was going mad at first but I think I've found a small design flaw with the case that's provided... There's a piece of elasticated fabric inside the case which stops the phone from dropping out the other end. This was pressing on my screen exactly in the right place to answer a call. I didn't touch it and the phone was screen-up in it's case on my desk.
The question has been posed before, "How can I disable the incoming call notification on the screen?". And so far, as far as I can tell, it's not been answered. So here I am, determined to do something about it.
If anybody has any ideas regarding this... including in the development of some software to solve the problem, please post them here. I am a software developer myself and I intend to write an application to solve this problem and share it with you all.
My initial ideas are:
Find the notification/message/service responsible for popping up the Incoming Call window
or... Subclass the Incoming Call window when it appears to disable the answer button
er... that's about it so far actually.
So guys any help would be great
Regards
John
optionj said:
And so far, as far as I can tell, it's not been answered.
Click to expand...
Click to collapse
LOL
Uhum: http://forum.xda-developers.com/showthread.php?t=425650
http://forum.xda-developers.com/showthread.php?t=422871
http://forum.xda-developers.com/showthread.php?t=444215&highlight=answer
I don't know if you are looking for that I'm thinking of, but search the Forum for
[APP][Oct 11th, 2008] Answerkeys Disabler (v0.5.1)
I think that is what you are looking for!
Works fine on my device (MDA Compact IV) with original ROM.
And of course touchlockpro...
Are you telling me I spent all that time writing this thread and there's already an application.... ..... .. . .... damn.
Thanks for the reply though guys, I'll check those out.

[Q]/[REQ]silence/vibrate to ring via sms

Saw yesterdays American dad episode when Stan was searching for his phone which he had lost,and he had set it to vibrate mode and therefore he could not call the phone... his wife "said" something smart
"why cant you just invent like a code, you dial the phone and enter the code and it switches to another profile" something like that...
Now a phone-call couldn't be possible, but how about via a text-message?
I'm not a programmer so i don't know the limitations of the API(?) in the TD but it should be possible i.e scan a (incoming) text-message for a specific code and then call a function to switch profile / turn up the volume
well well, just an idea thrown out
to all programmers and chefs @ XDA - just love the work you're doing!
Remote Tracker
You mean an application like Remote Tracker?
You could ask someone with knowledge of that app to help you out, or maybe it already exists!
http://forum.xda-developers.com/showthread.php?t=394203
already exists. smsRunner
hello !
@fnotsje
thank for the tip about remote tracker, but I already have it in subscribed threads, maybe going to the first page a little more often is something I'll have to work on
@bbobeckyj
thank you for the tip, will check it out
*note to self - search a few times extra when in middle of the night*

Compleate noob development help with cool idea for an app.

Ok so i have a cool idea for an app but have no clue how to impliment it into code. I have started to work on the ui part of the code, not that hard. I am now at the point where i need to know how to controll hardware like the LED's, the screen,and the microphone. I have no idea how to conrol these various parts of the phone. The app i am try to make in theory would be like the old motorola razr v3 mod (Check it out here) where the phone's screens' would flash along with the keypad and leds to the beat of any vibrations to hit the microphone, there were several different patterns that would give different effects, it was pretty cool. So i would like to do the same with the screen, track ball, keys, and the led at the top of the phone. With multiply styles of flash patterns some with color coordinated and some just plane white lights. If i can get some help with this that would be great, i am new to code all around ik very basic html witch is not verry helpful, though it is similar to the xml. If you think this app is a good idea and even remotly cool please help if you can. By the way the app would be call Club Droid.
Thanks Much
this isn't the right forum to be posting this in. reported
Make a new thread in the development section buddy

need help coding app

Ok so I've never coded in java before its all new to me and i am trying to make an app that would do the same as this (check it out here) old Motorola razr mod, the led's and screens would flash in a pattern when music was played or any vibration into the microphone. I thought this idea could make a cool app for android, so i have begun coding it, and i have pretty much got the interface setup, but when it comes to making the slider i added actually do anything i have no idea and i have no idea how to make buttons actually preform an action, also i have no idea how to go about controlling hardware on the phone like the microphone and various lights to flash. Is there any way anyone can help or give some tips i appreciate any input. Thus far my layout consist of a spinner to chose the different patterns for the lights to flash, then the start button, then a slider to choose how sensitive the microphone is to incoming vibrations. They do nothing yet cause i am not quite sure where to go from here. If you feel you can contribute any knowledge my way i will be grateful, the only coding i have done is minor html stuff although not much different than the xml code involved i have no idea what to do for the java part. Please Help.
Thank you much!
You'll need to use the required APIs detailed here: http://developer.android.com/reference/android/media/AudioRecord.html , I'm not sure you can actually control the sensitivity in Android as I haven't written any apps using the hardware as you want to. And this should help you out with the the backlight: http://developer.android.com/reference/android/os/PowerManager.html
So basically what you would need to do is set up an intent reciever that is listening to the mic, and when theres any input activate the brightness of the display.
For more detailed help I'd have to actually start coding to be of more help. Hope this helps.
Regards,
Akshay

Categories

Resources