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
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    434
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Using iframes is not recommended. Interactions like scrolling will not work within an iframe.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost 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
    336
    Vote Rating
    14
    Answers
    5
    svenna will become famous soon enough svenna will become famous soon enough

      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
    150
    Vote Rating
    7
    huberte is on a distinguished road

      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("")
                                }
                            ]

  7. #7
    Sencha User
    Join Date
    Jul 2012
    Posts
    150
    Vote Rating
    7
    huberte is on a distinguished road

      0  

    Default


    Please Is there any news on this ? On do I manage url in a packed application ?

    Noone's answering, neither here : http://www.sencha.com/forum/showthre...app-etc./page2

  8. #8
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    336
    Vote Rating
    14
    Answers
    5
    svenna will become famous soon enough svenna will become famous soon enough

      0  

    Default


    In Native iOS it's already working when using Touch 2.1 and Cmd 3, however for Android/other the only solution is still PhoneGap
    Sven Tore Iversen

  9. #9
    Sencha User
    Join Date
    Jul 2012
    Posts
    150
    Vote Rating
    7
    huberte is on a distinguished road

      0  

    Default


    Thanks! :-)

    May you have an example with open url in iOS?

    Will my app be slow down with phone gap in Android ?

  10. #10
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    1
    ingej@giantleap.no is on a distinguished road

      1  

    Default release date for android version of Ext.device.Device.openUrl using sencha cmd

    release date for android version of Ext.device.Device.openUrl using sencha cmd


    Can you please come up with a release date for when the Ext.device.Device.openUrl will work for android devices (using sencha cmd)? I have read all the posts on sencha forum/stack overflow and really none of them are working for android apk's...

    Quite the job getting sencha.cmd working at all. Would be a waste throwing it all away if I have to migrate to phonegap.
    inge johnsen