C#: Finding out the current GSM provider - Windows Mobile Development and Hacking General

Hello,
I'm programming a C# application which uses the GPRS connection. I need to find a way to figure out which GSM provider is being used at the moment. I just need to know if the PDA is in Germany or outside.
Any idea?
Bye,
MD

there is all sorts of interesting stuff here http://www.opennetcf.org/CategoryView.aspx?category=Home
including a service provder example somewhere

You can try P/Invoking the RIL API function RIL_GetCurrentOperator. It is defined as follows:
Code:
HRESULT RIL_GetCurrentOpertator(HANDLE hRIL, DWORD dwFormat);
See http://xda-developers.com/RIL for more information.

at+cops? zeigt das gerade gewählte Netz an
at+cops=? zeigt eine Liste der aktuell verfügbaren Netze an, etwa so:
+COPS: (2,"D2 PRIVAT",,26202),(3,"D1-TELEKOM",,26201),,(0,1,3,4) ,(0,2),
Click to expand...
Click to collapse

Related

O2 Germany autokonfig software für 2003

Ich benötige eine SW die auf WM2003 meine O2 Settings automatisch einstellt. bzw eine Wap Software. Sonst läuft alles prima. :shock:
Bitte, bitte, versucht doch alle Englisch zu sprechen...
This is an English-language forum, so I must ask you to please speak English...
Re: Bitte, bitte, versucht doch alle Englisch zu sprechen...
Peter Poelman said:
This is an English-language forum, so I must ask you to please speak English...
Click to expand...
Click to collapse
He asked for a Autoconfig tool for his XDA I running WM2003 at O2 - Germany.
A lot of the German users here are some kind of posers (not all, of course) - they tell what they get working and so on, but no one would give a hint or sth. to some1....
Try installing GPRS (WAP) manually by the Settings you can find on the O2 Homepage. This worked fine for me. GPRS Internet should be the same, but for Reasons (O2 WAP Flatrate) i just installed GPRS Wap. Just fine to browse WWW with flat
Sorry for the German now, but i don't think it would be very interesting for anyone outside Germany how to set up o2 Germany GPRS...
Netzbetreiber: o2 Germany (VIAG Interkom)
Anschrift: O2 Germany GmbH, D-80992 München, Georg Brauchle Ring 23-25
O2 Germany GmbH, D-90345 Nürnberg, Kundenbetreuung
Telefon: 089-24420
Hotline: 01805-624357 (= 01805-o2HELP)
Telefax: 089-12544539
WWW: http://www.o2online.de
E-Mail : [email protected] (bzw. auf der Homepage)
GSM-Frequenz: 1800 MHz ( D1 Roaming: 900 MHz)
SMS-Zentralnummer: +49 1760000443 oder 433
Netzbetreiber Code: 262 07
WAP CSD Einstellungen:
Zugangsnummer: +4917946927 (0179-GOWAP)
Benutzername: [email protected]
Passwort: o2
Startseite: http://wap.o2online.de
Verbindungstyp: kontinuierlich
Verbindungssicherheit: aus
Übertragungsart: Daten
Authentifizierungstyp: Normal
Datenruftyp: ISDN / digital
Port-Nummer: 9201
IP-Adresse: 193.096.115.033
Konfiguration Automatisch: Anrufen unter der 01792255927
WAP GPRS Einstellungen:
APN: wap.viaginterkom.de
WAP-Gateway: 195.182.114.53
Alle anderen Daten wie bei CSD
Kein Benutzername/Passworttd>
Internet CSD Einstellungen:
Nummer: +49179464638
Benutzername: [email protected]
Passwort: internet
Datentyp: ISDN
Internet GPRS Einstellungen:
APN: internet
1. DNS: 198.182.96.28
2. DNS: 195.182.96.61
Benutzername: -
Passwort: -
Einwahlnummer: **99***1#
IP-Adresse: dynamisch
IP-Header Komprimierung: nein
Step by Step manual for o2, vodafone, t-mobile, e-plus germany is here:
http://www.ppc-phones.de/index.php?in=print.php&site=konfigurationen/phoneedition/mda2_wap.htm

Rel: German Input for WM6

For those who have no problem with english but prefer german input:
This Cab changes the following to german:
- Softkeyboard (including help)
- Word-Completion
- Spell check
- Auto correction
- Transcriber (optional)
The rest of the Rom stays english!!!
Details in the readme:
Code:
ZakMcRofl's German Input for WM6 (May 2007)
===========================================
Über dieses Cab / About this Cab
================================
Dieses Cab wurde von mir erstellt, da es momentan kein deutschsprachiges WM6-Rom für den HTC Trinity gibt.
Grundsätzlich sollte es auch für andere Roms und Geräte funktionieren, entwickelt wurde es aber für
LVSW_Trinity_WM6_v2.x.x.x (WM6 für Trinity, erstellt von LVSW)
Dieses Cab stellt im WM6-Rom folgende Aspekte auf deutsch um:
- Softkeyboard (inklusive Hilfe)
- Wörter-Vervollständigung
- Rechtschreibprüfung
- Autokorrektur
- Transcriber (optional)
This Cab was created by me because there is no german WM6-Rom for HTC Trinity devices.
It should work for other WM6 Roms and devices but it was developed for
LVSW_Trinity_WM6_v2.x.x.x (WM6 for Trinity, created by LVSW)
This Cab changes the following to german:
- Softkeyboard (including help)
- Word-Completion
- Spell check
- Auto correction
- Transcriber (optional)
Installation
============
- Für Roms, bei denen es noch nicht vorhanden ist, muss zuerst sipchange installiert werden:
http://www.pdagold.com/software/detail.asp?s=1312
Bei LVSW ist es dabei.
- "German Input for WM6 by ZakMcRofl.cab" aufs Gerät kopieren und ausführen
- Gerät wird automatisch neugestartet
- Unter "Settings -> System -> Regional Settings" auf Germany stellen
- (optional) "German Transcriber by ZakMcRofl.cab" aufs Gerät kopieren und ausführen (braucht etwa 1 MB)
- For Roms that don't include it, sipchange has to be installed
http://www.pdagold.com/software/detail.asp?s=1312
Its included in the LVSW Rom
- Copy "German Input for WM6 by ZakMcRofl.cab" to the device and run it
- Device is reset automatically
- Under "Settings -> System -> Regional Settings" switch to Germany
- (optional) Copy "German Transcriber by ZakMcRofl.cab" to the device and run it (requires about 1 MB)
Unterstützung / Support
=======================
Ich habe einen Thread im XDA-Developers Forum eröffnet,
in dem ihr eure Fragen und Anregungen posten könnt. Bitte in englisch!
http://forum.xda-developers.com/showthread.php?p=1249910
Diskussionen auf deutsch bitte hier:
http://www.ppc-welt-community.info/community/showthread.php?p=877539
I opened a thread on the XDA-Developers Forum where you can post your questions
and suggestions. English only please!
http://forum.xda-developers.com/showthread.php?p=1249910
Discussion in german here:
http://www.ppc-welt-community.info/community/showthread.php?p=877539
Danksagung /Credits
=====================
Ein herzliches Dankeschön an
- ovosleep fürs dumpen seines WM6 Roms womit er dies alles erst ermöglicht
- LVSW und mun_rus für die ersten WM6 Roms für Trinity
- Bepe für die deutschen Sprachdateien
- querschlaeger für die Idee und die Inspiration
- alle die ich hier vergessen habe - sorry
Credits fly out to
- ovosleep for dumping his WM6 rom and making all of this possible
- LVSW and mun_rus for putting so much work into the first WM6 Roms for Trinity
- Bepe for the german language files
- querschlaeger for the idea and inspiration
- everyone else I forgot here - sorry
uploaded...
Apparently there isn't that much interest in localized input.
I realize this has been done before by others but as far as I know nobody did it for the (german) softkeyboard.
If anyone is interested in how to do this for a different language, let me know.
I´m interesteing in traslation in spanish the rom wm6, do you help me?, sorry for my english
This release only changes the keyboard and dictionary, not the entire Rom.
In both cases you'll need certain files from a different spanish WM6 Rom (WM5 might also work). Translating a complete Rom is a ****load of work and unless you have Rom cooking experience I would adwise against it.
@ZakMcRofl
can you make a italian version too
could you make cab the spanish language?
I can look into it but understand that this will only be a translation of the input. Also I don't even know what kind of keyboard spain and italy has but I guess I can find out.
Maybe I'll do one other language as example and release a quick guide for others.
unfortunately it doesn't really work on my universal - the onscreen keyboard is there but it is invisible.
nice
works it too with hermes wm 6?
It should work on Hermes as well, depending on which Rom you use.
ZakMcRofl said:
Maybe I'll do one other language as example and release a quick guide for others.
Click to expand...
Click to collapse
Really looking for a tutorial to do a French one maybe we could discuss about it ?
1) Extract CAB
2) Get the required file from a French WM6 (or emulator image)
3) Adjust registry settings I make in the CAB to your image
4) Make your own CAB
You realize this is ONLY for the input methods (transcriber, softkeyboard, dictionary), not the entire Rom.
nice, thx!
Installed ROM on ETEN X500 with english WM6 ROM. Works fine - great effort, Zak!
Best wishes.
Hello,
this is a good beginning. Thank you, but for me I am searching for a german rom, because I want to write my WM5 backup back and therefor I need the same registry-sittings and indexes. Otherwise I must register all my programs twice.
Is it possible in the next future or is there no interest.
Thx
pjuppes
Not working for Dell Axim x51v with WM6 RTM rom
Hi there,
the appl. unfortunately is not working for my Dell X51v. I downloaded and installed sipchange and then the German Input file. I can select the German keyboard, but tapping on the Keyboard button does not activate a "visible" keyboard. But something seems to be there, for if i tap on the "invisible" keyboard space, for instance in "contacts", all contacts with a certain letter are chosen- I guess it must have been the letter I tapped on the certain space of this keyboard, even though I couldn't see a thing. I am not sure how to sort this, but maybe you have an idea. I read something somewhere that I have to replace a certain file in my Windows folder. Do you guys know how to solve this? Help would be very much appreciated. Thank you.
Does ist also work with the Black-Touch?
Regards
gersh
Great work, thanks
I've managed it to modify it to my phone skin (black) and thought, maybe someone is happy if I share my work
Notice: Works fine on my MDA Compact 2. I have uninstalled this keyboard first. Then reinstalled it using the cab above without restarting after that. Now copy the zipped .dll into \Windows, overwrite the existing one. Soft-Reset and it works. Don't know if this way must be exactly followed.
ps: sry for my english
To ZakMcRofl, thanks a lot for this.

Error 0x80072f78 (GERMAN)

Hallo Zusammen,
ich habe folgendes Problem. Ich habe mir gestern das B&B 4.1 ROM aufgespielt. Läuft alles auch wunderbar bis auf meine O2 WAP FLAT.
Habe alle Proxy eingestellt sowie auch in der Reg AllowLSP sowie UAProf laut den Anleitungen in diversen Foren geändert. NICHTS tut sich.
Mit dem alten Rom von O2 lief alles problemlos. Ich kann aber per USB Verbindung mit dem Handy surfen nur nicht über GPRS… dann kommt der Fehler:
0x80072f78
Zugangspunkt wap.viaginterkom.de
Proxy: 195.182.114.52
Was kann ich noch machen?
i cant help you but i can transalte to english so others might find a solution:
(ich kann dir nicht helfen, aber ich kann dein post nach englisch übersetzen)
he wrote:
i have following problem: yesterday, i flashed B&B 4.1 ROM to my device. everything is working great except for my O2 WAP FLAT.
i set all proxies and also set AllowLSP and UAProf in registry according to manuals i found in various forums. NOTHING happens.
with the old O2 ROM everything worked without problems. I can access the internet using a USB connection but not via GPRS...if i try i get this error: 0x80072f78
access point wap.viaginterkom.de
proxy: 195.182.114.52
what else can i do?
Thx...
But nothing work's.....
DAMM IT
soardiac said:
i cant help you but i can transalte to english so others might find a solution:
(ich kann dir nicht helfen, aber ich kann dein post nach englisch übersetzen)
he wrote:
i have following problem: yesterday, i flashed B&B 4.1 ROM to my device. everything is working great except for my O2 WAP FLAT.
i set all proxies and also set AllowLSP and UAProf in registry according to manuals i found in various forums. NOTHING happens.
with the old O2 ROM everything worked without problems. I can access the internet using a USB connection but not via GPRS...if i try i get this error: 0x80072f78
access point wap.viaginterkom.de
proxy: 195.182.114.52
what else can i do?
Click to expand...
Click to collapse
1. Open Internet Explorer.
2. On the Tools menu, click Internet Options.
3. Click the Connections tab, and then click LAN Settings.
4. In the Local Area Network (LAN) Settings dialog box, click to select the Automatically detect settings check box, and then click OK.
5. Quit Internet Explorer.
6. Click Start, click Run, type cmd, and then click OK.
7. Type the following commands. Press ENTER after each command.
a. proxycfg -d
b. net stop wuauserv
c. net start wuauserv
d. exit

Problem with Navigon 7.4.2/.3 and GNS TrafficBox FM9BT-C

Hello everybody!
I`ve got a problem to get TMC Information with Navigon (v 7.4.2 an 7.4.3) and the GNS TrafficBox FM9BT-C.
The Connection between my Leo and the TMC Receiver is no problem.
But when I start Navigon, I'm getting no data with TMC Information and the special TMC icon/symbol is missing too.
I think that the Problem is perhaps the wrong configuration in the "UserSettings.xml".
So here is my configuration:
<Settings>
<Product>MN</Product>
<Version>7.0</Version>
<GPS>
<Type>1</Type>
<GPSPort>4</GPSPort>
<Baudrate>57600</Baudrate>
<DRVPrefix>COM</DRVPrefix>
</GPS>
<TMC>
<RadioStationScan>0</RadioStationScan>
<AutoRecalculation>0</AutoRecalculation>
<PreferPay>0</PreferPay>
<TMCPort>2</TMCPort>
<TMCBaudrate>38400</TMCBaudrate>
<DRVPrefix>COM</DRVPrefix>
</TMC>
Click to expand...
Click to collapse
Can anybody help and tell me the wrong Configuration? Or is there an other(general) problem with TMC and the Leo (i.e. Hypergps)?
I'll be happy about every hint!
Hi,
at the moment i have no Navi installed on my device, but i was in contact with the GNS Support.
I had an older Version of GNS GPRS Device and i asked me how to connect the device with my HD2!
After sending an Email to the support i received this german Email:
Sehr geehrter Herr ***,
danke für Ihre Anfrage. Hier eine kurze allgemeine Anleitung zur Einrichtung der GNS TrafficBoxPlus-FM9BT-C auf einem PDA mit WM5.x/6.x:
- Auf dem PDA in Start - Einstellungen - System - GPS: alles deaktivieren
- Softreset des PDA
- GNS TrafficBoxPlus-FM9BT-C mit Strom versorgen (blaue LED blinkt)
- Bluetooth-Manager starten
- Registerkarte Modus: Bluetooth einschalten
- Registerkarte Geräte: Neue Partnerschaft
- FM9-BT-C auswählen; "Weiter" drücken
- Als Zugangsschlüssel "0000" (viermal Null) eingeben, "Weiter" drücken
- Haken für "Serieller Anschluss" setzen, "Fertig" drücken
- Registerkarte COM-Anschlüsse: "Neuer ausgehenden Port" auswählen, FM9BT-C auswählen, "Weiter" drücken
- Anschluss COM-Port-Nummer auswählen, sichere Verbindung deaktivieren (Häkchen raus), "Fertig" drücken
(Wenn der ausgewählte COM-Port vom System schon belegt ist, kommt eine Fehlermeldung, dann einen freien COM-Port wählen)
- Bluetooth-Manager über (OK) verlassen.
- Den ausgehenden Bluetooth-COM-Port in der Navigationssoftware als TMC-Anschluss angeben mit einer Datenübertragungsrate von 38400 Baud, GNS-Protokoll.
- Die Bluetooth-Verbindung wird von einem Windows Mobile 5.0/6.0 PDA erst aufgebaut, wenn eine Anwendung den eingerichteten ausgehenden Bluetooth-Com-Port anfordert.
- Wenn eine Bluetooth-Datenverbindung erfolgreich vom PDA zur GNS TrafficBoxPlus-FM9BT-C aufgebaut ist, leuchtet die blaue LED in der GNS TrafficBoxPlus-FM9BT-C konstant blau auf.
- Wenn der eingerichtete ausgehende Bluetooth-Com-Port nicht in der verwendeten Navigationssoftware anwählbar ist, muss die Navigationssoftware neu installiert werden.
Mit freundlichen Grüßen
***
Click to expand...
Click to collapse
Maybe its helpful for you.
Thanks for this hint, but I'am sorry to say that this is not the solution for my problem :-(
Basti1986 said:
Hello everybody!
I`ve got a problem to get TMC Information with Navigon (v 7.4.2 an 7.4.3) and the GNS TrafficBox FM9BT-C.
The Connection between my Leo and the TMC Receiver is no problem.
But when I start Navigon, I'm getting no data with TMC Information and the special TMC icon/symbol is missing too.
I think that the Problem is perhaps the wrong configuration in the "UserSettings.xml".
I'll be happy about every hint!
Click to expand...
Click to collapse
Hi Basti,
First of all, MN 7.4.2 & 7.4.3 are no PDA versions
The FM9BT-C works with MN 7.4.0 or 7.3.x PDA on the HD2. One minor flaw: The Widcomm Bluetooth Stack wants to reconnect the FM9BT after launching MN|7 (see attachment). This is a common glitch with almost every PDA/Smartphone using Widcomm/Broadcom BT Stack 1.9.x
If you insist on using 7.4.2 or 7.4.3 enter
<GPS>
<Type>2</Type>
in your usersettings.xml; explanation:
0 = GPS only, no TMC receiver
1 = combined GPS/TMC receiver
2 = GPS + external TMC
<TMCPort>2</TMCPort> looks O.K. if that is the port that the Widcomm BT stack picked for your FM9BT. If not, choose the proper COM port (I have the FM9BT-C on COM2 on my HD2 too).
Try to change <DRVPrefix>COM</DRVPrefix> to <DRVPrefix>RDS</DRVPrefix> in <TMC> section (not <GPS>!)
If everything fails use a port splitter like Franson GpsGate to remap your COM port. But afaik GpsGate fails on devices with Widcomm BT Stack. Nevertheless you should give it a try.
Please report back if anything helped.
Hy,
i don't get any Connection with my HD2 und the FM9BT-C...
<GPS>
<Type>2</Type>
<GPSPort>4</GPSPort>
<TMCPort>2</TMCPort>
<Baudrate>4800</Baudrate>
<DRVPrefix></DRVPrefix>
</GPS>
<TMC>
<RadioStationScan>0</RadioStationScan>
<AutoRecalculation>0</AutoRecalculation>
<PreferPay>1</PreferPay>
<TMCPort>2</TMCPort>
<TMCBaudrate>38400</TMCBaudrate>
<DRVPrefix>COM</DRVPrefix>
</TMC>
Click to expand...
Click to collapse
Can U told me what i must change? (i have tested COM and RDS)
The message in your Picture i don't receive.
Greets
My settings for HTC HD2 + FM9BT-C in MN 7.3.6 PDA (should be the same for 7.4.0 PDA):
Code:
<TMC>
<RadioStationScan>0</RadioStationScan>
<AutoRecalculation>1</AutoRecalculation>
<PreferPay>0</PreferPay>
<TMCPort>2</TMCPort>
<TMCBaudrate>38400</TMCBaudrate>
<DRVPrefix>COM</DRVPrefix>
</TMC>
<GPS>
<Type>2</Type>
<GPSPort>4</GPSPort>
<TMCPort />
<Baudrate>4800</Baudrate>
<DRVPrefix>COM</DRVPrefix>
<BluetoothDevice>
<Name />
<Address></Address>
</BluetoothDevice>
</GPS>

[Q] Send sms during data connection

Hi,
I have the problem thats my data connection turned on, I can not send sms. I tested several ROMs and have always the same problem. My question is this a problem of adjustment or may be a problem from the provider?
best regards
Bong87 said:
Hi,
I have the problem thats my data connection turned on, I can not send sms. I tested several ROMs and have always the same problem. My question is this a problem of adjustment or may be a problem from the provider?
best regards
Click to expand...
Click to collapse
I have the Data Connection always on and can send SMS without any problems.
I am using my Manila Sencity ROM.
Ah ein Landsmann. Ok hatte eigentlich gehofft das es eventuell ein Bug seitens des S200 ist. Dürfte ich dich eventuell nach deinen SMS/Gprs Einstellungen fragen?
Ah, a compatriot. I was hoping that it be a bug of the S200. Could I possibly ask you for your SMS / GPRS settings?
Bong87 said:
Ah ein Landsmann. Ok hatte eigentlich gehofft das es eventuell ein Bug seitens des S200 ist. Dürfte ich dich eventuell nach deinen SMS/Gprs Einstellungen fragen?
Click to expand...
Click to collapse
Ja, ich verwende O2 NetzClub SIM Karte, die Einstellungen habe ich automatisch erkennen lassen. Die SMS Einstellungen würden auch automatisch erkannt. Noch was, wir sind in einem Englischen Forum und man muss immer in Englisch schreiben, oder eine Englische Übersetzung hinzugügen.
Yes, i am using the O2 NetzClub SIM Card, the Settings wore set automatically. The settings for the SMS wore also automatically set. Please, write in English because we are on the English Forum, or add a English translation.
Ah ok I might have guessed, my fault. When we wrote in English its enough. I use the automatic configuration too and your Manila version 1.0 with a Mobilcom T-mobile Card. Any idea what the problem can be?
EDIT: Ah think I have now found the solution. In the SMS settings, there is the option: "SMS via" GPRS, GPRS preferred, GSM and GSM preferred (I don't know its called exactly like this in a english rom). I set it on GSM. Currently it seems that's could been the solution.
Bong87 said:
Ah ok I might have guessed, my fault. When we wrote in English its enough. I use the automatic configuration too and your Manila version 1.0 with a Mobilcom T-mobile Card. Any idea what the problem can be?
EDIT: Ah think I have now found the solution. In the SMS settings, there is the option: "SMS via" GPRS, GPRS preferred, GSM and GSM preferred (I don't know its called exactly like this in a english rom). I set it on GSM. Currently it seems that's could been the solution.
Click to expand...
Click to collapse
O.K. I am glad that you found the solution.

Categories

Resources