[Tizen Application-dev] how to set User-Agent in Tizen Native Apps

Tung Nguyen nttung at tma.com.vn
Mon Oct 14 10:45:40 GMT 2013


Hi All,
 
I have write function to change value user agent, but setuserAgent function
not work
 
void TizenDemoForm::LoadUrl(void)
{
    Tizen::Base::String url(L"http://dev.bookmo.jp/magastore_api/index/ua");
    String userAgent = GetUserAgent();
    AppLog("%ls",userAgent.GetPointer() );
    userAgent.Append(L" ABCDDDDD");
    AppLog("%ls",userAgent.GetPointer() );
    SetUserAgent(userAgent);
    _web->LoadUrl(url);
 
 
}
 
Please help me about this?
 
Thanks,
Tung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20131014/b453bc8b/attachment-0001.html>


More information about the Application-dev mailing list