Pass Arguments for Phone - Mogul, XV6800 General

I am working with Customizing an App and i want to be able to map a button that will open phone app( which i have done) but i wanna be able to pass the argument that will dial a certain number when i press the button, sorta like a speed dial button on HTC HOME. The app has a place for the argument to be entered, but i dont know how to pass arguments. Does anyone know how this would work? Thanks In Advance For Any Help.
Mr. Simpkins

noone know?

Related

A better skin/program for phone and contacts?

My problem with my MDA Vario is mainly searching contacts. It's very fiddly normally and a copplete nightmare when driving. I really dont want to have to take the pen out just to make a call.
What are my options? Any better software/skinds around? Or is there an option i am missing that could make it easier?
Thanks
PS, i dont want to use vioce dialing because its completely crap on this model with its poor audio capabilities.
I'm pretty happy with voice dialing. I agree it is unsafe to find contacts while driving, but I find that if I enunciate distinctly both when recording and when finding, I get pretty close to 100% success with voice dialing.
i am also interested in an input method or a contact skin to make contacts easily browsable while driving ---
this would be one of the main reasons for keeping also a nokia 6630 besides the wizard.
The main fact is that they are to small to press with a finger, any way of making them larger?
Try this one
xplode said:
Try this one
Click to expand...
Click to collapse
Do you have a screenshot how this looks/works ?!
nm
Probably already mentionedbut I found this by accident.
If you press the 'Contacts' button, the contacts are listed alphabetically.
Assuming you want someone beginning with 'P', instead of trying to press the tiny 'p' button, simply scroll down by holding the down button, but keep it pushed like fast scrolling.
Keep it pressed and after a few seconds, a large pop up appears with the Letters in it, A,B,C etc.
Hold it until 'P' appears, let go, and you are at 'P'
Seect your contact and dial.
Sorry if this is old news.
voice dialling is the best answer cause i am driving about 10.000 km /month because of my business, holding down the down arrow is also hard to select a single contact, instead u can use smartskey to use the volume controller button act like page down.. 8)
DREAMBOXER said:
xplode said:
Try this one
Click to expand...
Click to collapse
Do you have a screenshot how this looks/works ?!
Click to expand...
Click to collapse
http://mytreo.net/archives/2006/04/new_speeddial_app_reviewed_on_a_treo_650.php

useful in contact manager - yet HTC support doesn't know enything about this.

Hello everyone,
I've discovered quite useful thing about contacts manager, but unfortunately don't know how to turn it on or off, it starts, let's say randomly.
Sometimes when (on today screen) i press right softkey which is by default assigned to 'contacts' and i get a list of names, i see something like a pop-up window with letter 'A' and by using the jogdial on the left side of the TyTN i can switch between the first letters of the names in contacts. Then i can select exact name without scrolling through all of the contacts in between A and f.e. G.
Unfortunately i don't know what is the cause of starting this feature, people at HTC support don't know nothing about it, and told me that it must be some kind of software glitch however I find it very useful, maybe someone else got the same thing? And someone does know how can it be turned on that it happens every time i want to find a contact? that would really be operating with one hand then
thanks in advance for opinions and advices
If it's what I think you mean, go to contacts.
For example, hold down down (on the dpad). It'll start scrolling the list for approx 5 seconds. After that, the large letter A will show up. Use the dpad to select appropriate contact start.
Otherwise use the sip to start typing your contact.
V
szturchen_pl said:
Hello everyone,
I've discovered quite useful thing about contacts manager, but unfortunately don't know how to turn it on or off, it starts, let's say randomly.
Sometimes when (on today screen) i press right softkey which is by default assigned to 'contacts' and i get a list of names, i see something like a pop-up window with letter 'A' and by using the jogdial on the left side of the TyTN i can switch between the first letters of the names in contacts. Then i can select exact name without scrolling through all of the contacts in between A and f.e. G.
Unfortunately i don't know what is the cause of starting this feature, people at HTC support don't know nothing about it, and told me that it must be some kind of software glitch however I find it very useful, maybe someone else got the same thing? And someone does know how can it be turned on that it happens every time i want to find a contact? that would really be operating with one hand then
thanks in advance for opinions and advices
Click to expand...
Click to collapse
It works on all variants of the Tytn, you just go to contacts, press and hold down on the d pad and in a couple of seconds the 'pop up window' appears with a large letter, it just makes it easier to scroll through the contacts without having to get the stylus out.
Thanks guys !!
That's the 'pop-up' that I meant. Pressing and holding d-pad works. However I occasionaly get it when using jog-dial. In my opinion that would be even better for operating TyTN with one hand. Any clues on this one?

Any application/script to "answer call"

Hi Guys,
I'm not a programmer and hope someone can assist. I'm looking for a shortcut, 1-line script, piece of code or something which will perorm the function of "answer call". I don't want the code to "make call" but specifically to "answer".
The reason is that I'm finding I keep dialling people by kistake because when the phoen app is open, the left button (what would hav ebeen green on a hard device) places a call as well as answers. I want to use MobileMagic or AEButtons or something to reprogram that button to ANSWER a call in the Phone app but not to disable its ability to DIAL a call. Maybe there's even a registry hack that will do this but I can't find it.
Any help would be greatly appreciated.
I'm bumping this to see if someone can give me some info. If it can't be done then could someone please let me know why? If I'm overlooking something simple then please point me in the right direction and believe that I have tried first...

Remap Softkeys?

Is it possible to remap our softkeys? I tried following directions I found on Hero and it didnt work. Was wondering if anyone was able to change lets say, the Search button to launch the Camera.
http://forum.xda-developers.com/showthread.php?t=695936
What happens when you LONG press your search button? Mine comes up with 3 different options from various apps i have installed, including voice search. So I would say yes, its def possible.
Handcent
Quick Settings
Voice Search
All 3 of those show up when you long press the search key. So I'm sure you can have it launch the camera, just have to know how to develop it
I wonder if it can maybe be altered with BetterCut.
LexusBrian400 said:
What happens when you LONG press your search button? Mine comes up with 3 different options from various apps i have installed, including voice search. So I would say yes, its def possible.
Handcent
Quick Settings
Voice Search
All 3 of those show up when you long press the search key. So I'm sure you can have it launch the camera, just have to know how to develop it
I wonder if it can maybe be altered with BetterCut.
Click to expand...
Click to collapse
I get 2 diff items when I long press search. Voice Search and Handcent. I tried following the guide listed above and it just made the Search key vibrate and do nothing. Unless I screwed up copy and paste, lol, I dont know. Has anyone successfully changed any of the soft keys?
droidkevlar said:
Is it possible to remap our softkeys? I tried following directions I found on Hero and it didnt work. Was wondering if anyone was able to change lets say, the Search button to launch the Camera.
http://forum.xda-developers.com/showthread.php?t=695936
Click to expand...
Click to collapse
Decad3nce [OP]
Senior Member
id totally ask this dude, if he came up with this than im sure hed know how to revamp for our phone, theres proably honestly little to change in process.lol i wish i knew how or id tell ya....

Handling the genius button press

We need to figure out a way to customize the genius button. It would be a great service to everyone, especially if it doesn't require root.
I looked at logCat, and I see that the button fires up the following intent:
Code:
{ flg=0x10000000 cmp=com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession }
I'm not quite sure how to create an intent handler for something that doesn't have an action or a category. I even created a test app that matches the intent above exactly, but only the stock genius app launches, and I'm not given an option to choose my default handler for the action. I don't think there is a key handler to intercept either. Any ideas
You know, I was thinking about this all morning (eventhough I don't have the device). Back in the day we remapped functions for certain keys (as g1 didn not have search key of any kind). Can someone go into /system/usr and look what's in there? I believe we are looking for keylayout folder. In that folder we should have some .kl files. They named different from device to device (using Cliq now and they are all named MorrisonXXXXX.kl). Look through those files and find genious button function. From there it should be very easy to change it to google search (or voice search) but substituting the function and pushing the file back in its location. I would have no problem doing it but as I said, I don't own the device myself.
Couple more option (highly unlikely to work):
Clear defaults in Genious app
Freeze Genious app
I don't see those working but who knows... we may be able to assign new default after doing this.
kl files
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
I don't mind the genius button, it actually works fairly well the more you use it. However, I don't like that it disables the search button.
It should be single press for search, long press for genius.
That would be perfect.
rjgii said:
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
Click to expand...
Click to collapse
Ok, I'm at work so I can't really do anything with this but I will look into into it later, when I get home. You are correct, it's in the glacier-keypad.kl. Unfortunately, it's set to the same thing as regular search i.e. In G1 we used to set it to SEARCH as well but it would bring up regular search.
I will try to PM GeniusDog (the guy who figured out how to remap keys) when I get home to see if he can give me some insight on this.
Did anyone try to freeze (disable) Genious app to see if it releases G key to regular search?
We should also contact ChiefzReloaded, he would know how to do it since they put CM on Slide which did have Genious on it to begin with.
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
If its helpful to anyone, holding down the menu button will bring out search keyboard. I really wish the would give us a option to chose from the voicesearch ¦,/
Sent from my HTC Glacier using XDA App
borodin1 said:
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
Click to expand...
Click to collapse
Hmm...what about mapping it to a function key (like on the G2) and then assign whatever action we want to that function key? I will try that out as soon as I get some free time.
Alright, so I tried modifying the key layout file on my G2 (vision-keypad.kl) just to test the process and I am not allowed to make any changes. Just get a "Read-only file system" response. I'm sure it would be the same for the MT4G. Anyone have ideas on what else to try? I really want to find a solution without rooting, but any solution would be a good start.
root
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
rjgii said:
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
Click to expand...
Click to collapse
Great. You will probably have to remount the system partition like this before you can write to it:
su
mount -o remount, rw /system
Oh how I hate that genius button..I would absolutely donate immediately for an app to remap it to search. That would be amazing.
Sent from my HTC Glacier using XDA App
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
I froze it last night. No response from the G button after that.
21productionz said:
I froze it last night. No response from the G button after that.
Click to expand...
Click to collapse
LOL...
They really mean "you" in the commercials!
You gotta customize everything..
Sent From The Moon... With a HTC Glacier
I updated my voice search in the market when I first got the phone, and for a time when I pushed the button is would actually give me the option to choose what app handled the action and I could choose voice search. However, after one time choosing the Genius button it never asked again. I wonder if there would be a way to continuously clear the Default so that it always asked.
borodin1 said:
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
Click to expand...
Click to collapse
I disabled dragon dictation and genius, and after holding the button for a couple seconds, my phone crashed and rebooted. Multiple taps on the button seemed to do the same thing. Leaving dragon dictation enabled and genius disabled seemed to be less prone to crashing.
This has been solved in this thread:
http://forum.xda-developers.com/showthread.php?t=836702

Categories

Resources