Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    hsvpeachy is on a distinguished road

      0  

    Default Unanswered: Sencha Touch 2 + External URL

    Unanswered: Sencha Touch 2 + External URL


    Hi,
    is there some easy way to load external websites like google.com into a tabpanel?
    thx

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Using iframes is not recommended. Interactions like scrolling will not work within an iframe.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    hsvpeachy is on a distinguished road

      0  

    Default


    is there any other option?

  4. #4
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    563
    Vote Rating
    26
    Answers
    6
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    Wait for the Next beta of Touch 2.1.

    Beta 2 includes an option for native opening of a URL (in a new browser)
    However, the native packager does not support it yet. The bug-report about it not working confirms that it will be working in the next beta.

    From 2.1B3 you should be able to use Ext.device.Device.openURL()

    http://www.sencha.com/forum/showthread.php?236532
    Sven Tore Iversen

  5. #5
    Sencha User
    Join Date
    May 2012
    Posts
    24
    Vote Rating
    -6
    totalnotme can only hope to improve

      0  

    Default


    use phonegap api.

  6. #6
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


    any news ?

    On Android I have a blank page, on iOS, I cant go back to my app

    Should I use this ? http://docs.sencha.com/touch/2-1/#!/...method-openURL

    but how in this ?

    Code:
    items: [                            
                                {
                                    docked: 'top',
                                    xtype: 'titlebar',
                                    title: 'mail me'
                                },
                                {
                                    docked:'top',
                                    xtype: 'container',
                                    html: ['<div id="texte"><h2>- Mail me',
                                        '- <a href="mymail@gmail.com">mymail@gmail.com</a></h2></div>'].join("")
                                }
                            ]