Post Reply

how to determine an XDA environment

10th April 2003, 01:37 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
22 posts
Join Date:Joined: Apr 2003
Hi ,

I have a similar question as my neighbour,
but in another context:

I want do detemine from my Pocket PC-Application (written in eMbedded C++),
if it is runnung on an XDA or not.
(If it is not runnung on an XDA, I want to disable the phone-part of my application).

Perhaps anyone knows ?

Bye

Franz
10th April 2003, 04:21 PM   |  #2  
Senior Member
Thanks Meter: 2
 
375 posts
Join Date:Joined: Mar 2003
I think the TAPI function phoneInitializeEx would do the trick. It will return the number of available phone devices.

It won't be able to tell an XDA from any other Pocket PC with a phone extension, but you probably don't want to do that anyway?
11th April 2003, 09:33 AM   |  #3  
Member
Thanks Meter: 0
 
48 posts
Join Date:Joined: Mar 2003
There are 2 things you can do.

If you want to know if you are runnung on an XDA then use lineGetGeneralInfo to get Model and Manufacturer.

For my XDA the Manufacturer comes up as HTC and the Model as Wallaby.

When you use lineGetGeneralInfo I have found that the phone needs to be on otherwise the call fails.

As an alternative you could use lineGetRadioPresence to see if there is a radio.

Both of there methods are in documented in ppc3sdkr.chm that comes with the PocketPC 2002 SDK.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Upgrading, Modifying and Unlocking by ThreadRank