Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
Danmanmayer Old
#1  
Guest
Thanks Meter
Posts: n/a
Default how to access the call and end call button

how do you access the call and end call buttons? Using the GAPI when i go for A and B it gets the buttons up top which sucks for programming a game... any ideas?
 
Climber104
Old
#2  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Apr 2005
Location: Roswell, GA
i also am interested it doing this, any one have any insight? Possibly C# code, or C++?
 
Danny-B-
Old
#3  
Danny-B-'s Avatar
Senior Member
Thanks Meter 119
Posts: 656
Join Date: May 2005
Location: Scotland
If it helps the button codes i get from Pikup button is "114" and Hangup is "115"
 
notrash_2004
Old
#4  
notrash_2004's Avatar
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2008
Default use game api gx.dll

Quote:
Originally Posted by Danny-B- View Post
If it helps the button codes i get from Pikup button is "114" and Hangup is "115"
hello

some keys on a wm device are always catched by the OS, see winuserm.h. To get these keys visible in your app you have to use the game api. Simply add gx.h to your c++ code and at the start of your app use GXOpenInput(). Before your app quits, use GXCloseInput. Aslong as your app runs in foreground, all keys will be delivered to your app. BTW: the phone keys are F1 and F2.

regards

josef

see also w*w.hjgode.de/dev/newsletter
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...