(I really have a J2ME programming of Chinese characteristics ... -_-!)
/ *** Sample Code of http connection via cmwap * @Author clapton_xpathotmails * AssumeT you gonna connect to http://www.yourdomain.com/yourdir/your.file*/
String CMCC_Proxy = "http://10.0.0.172:80/"; // This is China Mobile's agent
HTTPConnection C = NULL; C = (httpConnection) Connector.Open (CMCC_Proxy "YourDir / Your.File"); C.SetRequestProperty ("x-online-host", "www.yourdomain.com"); // This is the key Location
// DEAL with connectionis = c.openinputstream ();
// ............ The same is the same.