At 11:56 PM 12/1/2004, you wrote:
Hi,
Iam using the Tungsten T3 PDA .
My application receives the data through the Bluetooth port and
  based on the received commands it should launch the corresponding
  applications.
It is able to launch all the applications , but unable to launch
 the Calculator application only .
Instead of Calculator application it is launching the  "HotSync"
  application everytime.
The below procedure i followed inorder to launch the Calculator
  application .

  EventType Event;
  Event.eType = keyDownEvent;
  Event.data.keyDown.chr = vchrCalc;
  Event.data.keyDown.modifiers = commandKeyMask;
  EvtAddEventToQueue (&Event);

If there any PDA Preferance settings to be changed to launch the
  Calc application?
If there is any other method to follow please let me know .
Your suggestions are always welcome.

vchrCalc should be renamed to "vchrFavorites". On most PalmOne devices, the "calc" button is replaced by a star button that launches a user-set application.


If you really want to start the calculator, just do a SysUIAppSwitch to the 'calc' application.


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to