Create new internet access point
| Fri, 2008-05-16 10:11 | |
|
Hi, I am trying to create a new internet access point, here is what I wrote: TInt error;I did create a new internet access point in the phone. But I am not able to change the proxy_port and gateway address, the rest is alright. |
|






Forum posts: 44
I added the a proxy record into the existing code..however, the proxy address and port stil remains 0.0.0.0 .....How come?
TUint32 iProxyId; TUint32 iGprsId; CCommsDbTableView* proxyTable = db->OpenTableLC(TPtrC(PROXIES)); User::LeaveIfError( proxyTable->InsertRecord(iProxyId) ); proxyTable->WriteUintL(TPtrC(PROXY_ISP),iGprsId); proxyTable->WriteTextL(TPtrC(PROXY_SERVICE_TYPE), TPtrC(OUTGOING_GPRS)); proxyTable->WriteBoolL(TPtrC(PROXY_USE_PROXY_SERVER), ETrue); proxyTable->WriteLongTextL(TPtrC(PROXY_SERVER_NAME), _L("10.12.1.2")); proxyTable->WriteTextL(TPtrC(PROXY_PROTOCOL_NAME), _L("http")); proxyTable->WriteUintL(TPtrC(PROXY_PORT_NUMBER),80); error = proxyTable->PutRecordChanges(EFalse,EFalse); CleanupStack::PopAndDestroy(proxyTable);Any help pls...need this in urgent.....thanks in advance
Forum posts: 62
Why don't you use the APEngine? It is much easier to create an access point that way than tweaking manually the CommsDb.