Results 1 to 5 of 5

Thread: Webview with backbutton on sencha for iOS/Android

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
      0  

    Default Answered: Webview with backbutton on sencha for iOS/Android

    Hello,

    I would like to have a "webview" in my sencha application on iOS/Android.

    When the user click on a link inside the app, I would like to open a panel that load the external page and act as a webview.

    And I will have a back button to go back to the previous page.

    I dont want to exit the application.

    1)I tried doing it using ajax, but the display get weird and we cannot navigate inside.

    2) I tried iframe but it does not look so good and I have issue with scroling ?

    Someone has an idea ?

    Cheers
    Loic

  2. I finnaly use a phonegap plugin, childbrowser. It works great after few tweaks

  3. #2
    Sencha Premium User mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    693
    Answers
    21
    Vote Rating
    13
      0  

    Default

    you could load the other website in a iframe but i did not know if you like to do that ;-)

  4. #3
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    Scrolling and such may not be great in an <iframe>
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #4
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
      0  

    Default

    I spent quite some time with iframe and panel.

    scrolling is not correct, html is not process correctly as well.


    I think the only way to do it is to add this functionnality to sencha.

    For now i think i ll just open in safari..

  6. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
      0  

    Default

    I finnaly use a phonegap plugin, childbrowser. It works great after few tweaks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •