Help...MMS account setting
| Tue, 2008-03-25 09:57 | |
|
Hi, I am developing an application to change the MMS account setting, for example, the application able to change the MMS account name, address, username, password according to different network operator in use. I created the code which able to read the simcard network operator (IMSI) and now proceeding to change the MMS account setting accordingly, anyone have sample application on how to change the MMS account? There are very limited information about changing MMS setting. Hope can get help soon. I need this urgently, thanks in advance. Regards, Adrian |
|






Forum posts: 41
Hi,
I found some function which able to set the MMS account address, " SetAddressL". However, i tried out the function but nothing is changed after running my code. What could be the problem?
Besides, I also wish to change the MMS account's username and password, are there any function which able to do so??
Hope some pro fren can provide me a helping hand.
Thanks in advance.
Regards,
Adrian
Forum posts: 41
Hi,
One question:
iIMSI.Copy(aSubscriberIdV1.iSubscriberId ); TBuf<100> buf1; TInt pos=5; buf1.Copy(iIMSI.Left(pos)); CMmsAccounts *mms = CMmsAccounts::NewLC(); RArray<TMmsAccountId> ids; CleanupClosePushL(ids); mms->GetMMSAccountsL(ids); CMmsSettings *settings = CMmsSettings::NewLC(); mms->LoadSettingsL(ids[0], *settings); if (buf1.CompareC(_L("52503"))==KErrNone){ settings->SetAddressL(_L("http://mmsgw:8002/")); mms->SetDefaultMMSAccountL(ids[0],_L("M1 mms")); settings->SetMaxDownloadSize(_L("No restrictions")); mms->SaveSettingsL(ids[0], *settings);}I already preset the M1 mms account in phone.I get error on the line SetMaxDownloadSize and SetDefaultMMSAccountL. Can anyone show me example on how to change it?
Thanks in advance.
Regards,
Adrian