How to retrieve the Serial Number from the XDA - Windows Mobile Software Development

I would like to retrieve the serial number from the XDA Device and put it in the registry. Any Idea how to do this in eVB or C++ (better for me is eVB but c++ is OK as well)
It would be nice when the code would put it in the registry but not really necessary, more important is to know where to get the serial number.
Thanks!

I don't think it is available in electronic form from the xda.
I think the only way to get it, is to turn the xda over, and read it.
you can get the imei. which is usually a good unique identifier too.
using RIL_GetEquipmentInfo

I did have some success with the TAPI function lineGetGeneralInfo(), which certainly returns a valid O2 SubscriberID, and is quoted as being able to return the IMEI. Although I have never tried it. If you want some source code to get the O2 SubscriberID, drop me an email. I have seen lots of postings on other news groups about getting the IMEI, so it's certainly possible.
Ben

Related

How to obtain the XDA's SIM Phone Number

:? How can I obtain the XDA's SIM Phone Number ?
Cooperlegend said:
:? How can I obtain the XDA's SIM Phone Number ?
Click to expand...
Click to collapse
Goto Inbox, Tools, Options and Tap SMS.
call another mobile with the SIM inserted and see what number comes up?
If you have only one phone but 2 sims: send an SMS to the number of the other sim then swap sims and you should get "message from......"
Ben
You misunderstand me !
I did post this in the developers corner !?!?!
I meant how do I get the phone number from my XDA via code eVC into my program ?
Any ideas anyone ?
John
Although I havent tried it myself yet, the ExTapi function lineGetGeneralInfo should give you a structure with the subscribernumber.
Cheers!
/Christer
I haven't tried to do this on the XDA but have done something similar on other phones by using the AT+C command set. From memory if you send a AT+CNUM to the phone it should respond with the subscriber number.
Does anyone know how to do this on an XDA? I would guess you need to have the wireless modem facility and then connect via this.
Cheers, Malachi
Take a look at the tstril example at this site, modifying it you can send AT commands to the modem.
Could any body please send me the eVB code for obtaining the XDA's phone number.
:shock:
:lol:

Contacts / Edit before dialing a phone number

Hi everyone... I am new to the PPC world... being just recently swatch from my Treo600 to a new XDA2s, I am having a little difficulty getting used to the Microsoft way of doing things in PPC2003... I am just wondering is there anyone who can help me or point me to the right direction where I can get some external program that can help me from going insane... here's my problem... I usually keep a huge contact list with all my customer, supplier, co-worker, family and friends contact all in my PDA... so the usual way for me to make a phone call is to search it from the contact list... but here's my problem, I travel alot with my job and depending on my current location, I have to edit the number in my contact before I dial the number... in my old palm, I can simply edit the number before I dial that number (there's a funtion on my palm that allows you to edit before call... so it allows me to edit the number without physically changing the number in my contact list)... I am just wondering can PPC do that? Or is there any program in PPC that will allow me to do that? As far as I can see... in PPC, as soon as I have search for a contact and then I click on his or her number with my stylist... it will automatically dial... I can not edit it before I dial... the only way I can edit it before I dial is to physically edit the contacts... which is very annoying as I sync my contacts with my exchange server, I don't wanna to have to have all my contact get mess up with different area code and dialling code from different country... anyone know how can I solve this problem? Thanks for your help in advance... I very much appriciate all of your advice in advance... Peter
I think the most straightforwards solution here is to store all of your numbers in the international dialling format; that way, wherever you are, your device will place the call correctly
For example - if I had a contact in Glasgow, UK, it would be stored as +44141xxxxxxx (+44 for UK, 141 for Glasgow and the remaining seven digits as the local number)
In my experience whenever I have been abroad, any calls to any of my stored numbers are placed correctly first time by either my SmartPhone or PPC.
If you're problem is regarding a slightly different issue then please expand on your problem by detailing what you mean by "modifying" your contact before you dial.
My problem is a little bit more complicated I think... I already has most number stored in the international dialing format... but my problem is that, depending on my location, I have to dial a certian set of numbers in front of the phone number to be dial in order for me to save on long distance and roaming... for example, while I am roaming in Mainland China if I want to dial home in Hong Kong with my mobile... normally, I will dial 0085226****88 but that will cost me like USD2 per minute... but if I dial with a prefix of 17909 (hence I will type in: 179090085226****88) then my per minute charge will now be something like USD0.10 per minute... which is a huge saving especially when I make roaming and long distance call all the time... the same thing in Hong Kong, if I dial 1666 before I dial long distance, I will get a much higher savings over regular long distance... my problem is that I can not possibly store all of these information for all the locations that I am going to be in, each places that I am going to be in, have a different sets of number... so is there any intellegent way to add additional numbers in front of the number stored in the contacts before it is being dialed in pocket pc? I know on my old palm... I can solve this problem in two ways... 1) I can set a certain dialing prefix before the system dial any number (normally I leave that blank, as I prefer edit before dial function)... I can use this prefix function but it will require me to change the prefix when I am at a different location but it is a workable solutions... is there something like that in PPC? 2) The second way to solve this was the edit before dialing function on the palm... I just click on the number, it allows me to edit the number temporary before it is automatically paste onto the phone software and before the phone dials it...
Anyway, I know this is very complicated and it is a very rare issues thats probably just affecting me or a very small number of users... but it will be great if there's some simple solutions to this... but I think this problem is mainly due to the lack of flexiblilty in the contact list rather then the function of the phone itself! :O) Anyway, thank you very much for your help and suggestions again... very much appriciate it :O) Peter
Try if this works
http://www.handango.com/Platform ... sp?productId=152403
Can you please post the link again? It doesn't work :O) Thanks for your help :O) What kind of program is it? :O)
here's the link
[url]http://www.handango.com/Plat...Type=2&catalog=0&sectionId=0&productId=152403
[/url]
you got it all wrong
... if you ask me: your approach is wrong. Here are the basics. Windows XP, for instance and Outlook, that is the source of the contacts (and phone numbers and other details that are entered), stores phone numbers in this 'international' format:
country code (MS has a list of countries and codes of its own)
are code (another, separate field) and
number
If you respect the fields provided by Outlook then you get a number generated by Outlook that looks like this:
+381 (064) 6185250
THIS is the 'correct' international format recognised by Microsoft Phone Dialer (well not actually MS but Active Voice, but that is a completely different issue)
My point is that +448704364673 is NOT a correct international phormat, because MS cannot differentiate between the international country code and long distance (area code) and therefore the phone dialer cannot parse the numbers correctly.
NOW, how to get the system to know WHERE you are and should it use the area code when dialing or you are in the area your friend is, or you want to call a toll free number that is in 'another' area, or you are dialing a client abroad etc. Well, there is the 'Dialing Rules' settings! THERE you create a profile (home, office, abroad etc.) and provide the area code for the dialer to differentiate...
This is all well with the Windows XP/Outlook 2002+ I know well, BUT when it comes to PPC... sorry, I have the same problem...>
FACTS:
fact no. 1: Outlook separates phone numbers in groups of>
country code
long distance code (area code)
number
fact no. 2: phone numbers entered this way are stored in a format>
+381 (064) 6185250
fact no. 2: Microsoft Phone Dialer recognises this number and dials correctly
via a voice modem... (headset or speaker/mike required)
Question: what hapens when contacts entered this way into Outlook are sunchronized with the
Pocket PC (Windows Mobile 5.0)?
Answer : all contact's numbers are entered into the Contacts list in the 'correct' format.
(the same format with the bracket, as is noted in PC Outlook)
My findings: the problem arrises when you use your mobile capable Pocket PC
(i.e. the super cool Qtek 9000) and try to dial someone on to his mobile or office phone that are on another
area code...
the Pocket PC, or Windows Mobile 'Phone dialer' dials EXACTLY
as the number is entered in the above mentioned format
(the mobile operator recognises the + at the beggining of the number, but
does not understand the spaces and the brackets!!! and offcourse
the mobile operator returns an error voice message that a wrong number has been dialed!
What am I to do?
Can I find/download/install a proper phone dialer (i.e. MS Phone Dialer) that comes with Windows?
Phone Dialer 1.5
Developed for Microsoft by Active Voice
http://www.activevoice.com/dialer
bottom line is that CISCO systems aquired this Phone Dialer in 2001 and Active Voice discontinued developing/supporting whit app. (link on the Active Voice site is outdated and no support on MS site, as well)
(please do not post solutions as: "you should reformat your number entries etc. because I have 800+ contacts and counting...)
P.S. what I gathered is that this is not device related it is just OS and app related. I had the same problem with my previous Nokia phone... (I did not solve. Actually I thought I will solve with this device...)
I've set the Dialing Rules with my country code and area code (Mobile etc.) So, I don't have a clue what am I doung wrong

WM6.1 Caller ID issue

Hey folks,
I've searched the forum and Googled this issue, and I haven't seen it in quite this way, so I'm going to just ask it. And maybe this is is just a misunderstanding of how Caller ID works on the Excalibur, so please correct me if I am wrong:
My Caller ID works fine for those numbers that are in my Contact List, or course. By this, I mean I see both name and phone number. But for unknown numbers, I see just the number and no name. Which is annoying, to say the least.
I have noticed this more since I had to restore my Contacts a couple weeks ago, although I don't think that has anything to do with it. I see no Phone setting that affects this.
Okay, so the question is, is this the natural state of affairs for Caller ID in wm6.1? If the number is not in your contacts, you don't get full Caller ID? Or am I missing a setting or a registry entry or something?
DF
darkfire62 said:
Hey folks,
I've searched the forum and Googled this issue, and I haven't seen it in quite this way, so I'm going to just ask it. And maybe this is is just a misunderstanding of how Caller ID works on the Excalibur, so please correct me if I am wrong:
My Caller ID works fine for those numbers that are in my Contact List, or course. By this, I mean I see both name and phone number. But for unknown numbers, I see just the number and no name. Which is annoying, to say the least.
I have noticed this more since I had to restore my Contacts a couple weeks ago, although I don't think that has anything to do with it. I see no Phone setting that affects this.
Okay, so the question is, is this the natural state of affairs for Caller ID in wm6.1? If the number is not in your contacts, you don't get full Caller ID? Or am I missing a setting or a registry entry or something?
DF
Click to expand...
Click to collapse
How does the phone know more than the number of the caller if not in contacts???
I was thinking of the way my landline phone (yes, I still have one of those, but I may be canning it soon) gets its Caller ID information. Verizon just sends it down the line to the phone. I thought T-Mobile did the same thing, the service just sends the necessary info down the line to the phone, but I thought that was a given (Caller ID) with wireless phone service. Maybe I'm mistaken, which maybe someone could clarify for me?
Now to me, what I'm getting seems like "partial" Caller ID, the number without the name? Or maybe I'm just totally confused on it all, been a rough week...
I have yet to see Caller ID show a name on a cell phone if it's not in your contacts. Verizon included.
I didn't mean Verizon's wireless service, I meant their landline service.
Never mind, went over to T-Mobile, that's the way it's sent down, number only. Thanks.
darkfire62 said:
Hey folks,
I've searched the forum and Googled this issue, and I haven't seen it in quite this way, so I'm going to just ask it. And maybe this is is just a misunderstanding of how Caller ID works on the Excalibur, so please correct me if I am wrong:
My Caller ID works fine for those numbers that are in my Contact List, or course. By this, I mean I see both name and phone number. But for unknown numbers, I see just the number and no name. Which is annoying, to say the least.
I have noticed this more since I had to restore my Contacts a couple weeks ago, although I don't think that has anything to do with it. I see no Phone setting that affects this.
Okay, so the question is, is this the natural state of affairs for Caller ID in wm6.1? If the number is not in your contacts, you don't get full Caller ID? Or am I missing a setting or a registry entry or something?
DF
Click to expand...
Click to collapse
I thought I was having that Problem..
but im now having the problem with the Pictures not coming up.
tdavis75 said:
I have yet to see Caller ID show a name on a cell phone if it's not in your contacts. Verizon included.
Click to expand...
Click to collapse
In Canada Rogers offers this service. They call it Name Display
^^^^^^^^^^^yup dont forget fido too lol

Device Unique ID

Hi, my phone was stolen, but i forgot to write down the imei, the only thing i have is the device unique id: 10 digits with letters.
Is there any way that i can retrieve the imei?
Cheers
It should be on the box if you still have it.
sometimes its logged with your carrier. If you call them up they might be able to access it.

Display Phone Keypad for Carrier Message Options

I've come to a little problem with some changes my carrier did with the way I review my line account information. It all starts by typing *222# to display the information, which a couple of weeks ago was fine, it returned a message with all the information, Account balance, Remaining minutes, etc... 'cause it's a prepaid line. The my carrier (Uff!) in Colombia, took the decision to change the system, and now instead of showing directly the information, now shows a menu with some options. Of course each option is related to a function, the first one would be to review the account information which is the one I need to check my remaining minutes in the account. The problem is... with Windows Phone (currently updated to version 7.10.8107) when you get that type of carrier messages, there's no way to display the keypad to send the number option and receive the information I'm looking for.
Now the tricky part, is there a way, through the Registry to enable the keypad when the carrier sends that message? Otherwise I'm screwed... If anyone knows how to bypass the fact that the system disables the keypad option in the options bar, would be really appreciated.
Thanks in advance to anyone that helps.
One thing you might be able to do is save the contact (*222#) in your address book, then put commas after it (press-and-hold on the keys to access additional keys) and add the numbers after it. That way, the phone will dial the initial number, wait (I think it waits one second per comma?) and then dial the number. No idea if this will work with a GSM shortcode (what you're using), though.
Thanks, I'll try and tell if it worked... (hope)
Sent from my SGH-i917 Windows Phone (7.10.8107) using Board Express
By the way, this really belongs in Q&A. The simple litus test dividing line is generally "Are you offering something" (Dev and/or hacking) or "are you just asking for something" (general or Q&A)

Categories

Resources