Skip to Content
avatar image
Former Member

webView: User-Agent incompability

Hi gurus,

I'm developing an iPhone application that invoke a web app SAP Business Server Page using the component webView (loadRequest method).

The error message: "<htmlb:content>: (*) This browser is not supported: for Design2003 the Interner Explorer as of 5.50 and the Mozila as of 1.75 are supported"

PS: Everything ok acessing this SAP BSP web app through Safari of iPhone's Simulator.

In short, i try change programmatically the webView's User-Agent to the same used in Safari of iPhone's Simulator ("Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16"), with properties and methods of webView's header using NSMutableDictionary and NSMutableURLRequest.

Do you have any idea to help me?

Tks a lot!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jul 30, 2010 at 02:06 PM

    Hi Luis,

    I ont have iPhone but it seems like xHTML compliance problem. So you have to make your BSP page xHTML compliant.

    You can refer to [this blog|http://bit.ly/dc5uZS]

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 30, 2010 at 08:05 PM

    did you try in your Service Data Interactive Options GUI Link setting to Yes and your GUI Configuration Button parameter ~USERAGENTCHECK set to 0?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2010 at 12:39 PM

    Erhan,

    I will see the BSP's output.

    Greg,

    Can you provide more datails about your approach?

    Tks for all.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 08, 2010 at 11:23 PM

    Gurus,

    Using design classic in BSP my problem was solved.

    Tks a lot for all.

    Add comment
    10|10000 characters needed characters exceeded