Remove All Ads from XDA

how to determine an XDA environment

22 posts
Thanks Meter: 1
By xgadkob, Junior Member on 10th April 2003, 02:37 PM
Post Reply Email Thread
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 ?


10th April 2003, 05:21 PM |#2  
Senior Member
Thanks Meter: 2
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, 10:33 AM |#3  
Thanks Meter: 0
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

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes