Hi all,
void CNeworkInformation::CallMap(TUint acellid,TUint aareacode,const TDes& countrycode,const TDes& networkid,const TDes& shortname)
{
RBuf8 uri8;
uri8.CleanupClosePushL();
uri8.Create(1000);
RBuf8 uri;
uri.CleanupClosePushL();
uri.Create(1000);
uri8.Copy(_L8("http://www.google.com/glm/mmap"));
uri.AppendNum(BinaryStringToInt(countrycode));
uri.AppendNum(BinaryStringToInt(networkid));
TBuf<20> cellid;
cellid.AppendNum(acellid);
uri.AppendNum(BinaryStringToInt(cellid));
TBuf<20> areacode;
areacode.AppendNum(aareacode);
uri.AppendNum(BinaryStringToInt(areacode));
TBuf<20> shortcid;
shortcid.AppendNum(0);
uri.AppendNum(BinaryStringToInt(shortcid));
iClientEngine->IssueHTTPPostL(uri8,KAccept,uri);
}
i have written this code for getting llong and lat uging cellid,mcc,mnc,shortname
but iam getting error 501 and 505
same thing worked with windows mobile and android and i want to do for symbain c++
i am using content type _LIT8(KAccept, "application/binary"); for this b'coz android and windows mobile usind dataInputstream
plz help me

Reply With Quote

