Hybrid View

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    Howe123 is on a distinguished road

      0  

    Default Unanswered: Open google play in "Iframe"

    Unanswered: Open google play in "Iframe"


    Hi All,

    I have to integrate an external link(http://apps.blutrumpet.com/products/...51a7e/featured) into my sencha app. I used an "iframe" to load the external link page in a panel and it works well, the external page can be loaded as wish. And in the external page it has a "INSTALL APP" button which will call the google play app or open an google play link on the android device. It works on my device, when I access my app page though the mobile browser.

    Here is the external page.
    QQ20130121132546.png

    But when I packaged it as an native app and install it into my device, the "INSTALL APP" button on the external page(show out in an "iframe") unfortunately it does not work. When I click this button, the below information will show out.

    Webpage not available

    The webpage at market://details? id=com.priceline.android.negotiator&referrer=utm_source%3DBlutrumpet%26utm_medium%3Db688717e-782b-42f3-85ad-9e09a4351f24%26utm_term%3DBluTrumpet%26utm_campaign%3DMABLUTRUMPET||ANDROID%26utm_content%3DAD-X might be temporarily down or it may have moved permanently to a new web address.

    Suggestions:

    Make sure you have a data connection Reload this webpage later Check the address you entered
    Does anyone meet this problem? How to fix it?

    Thanks so much.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,791
    Answers
    3465
    Vote Rating
    833
    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


    I would stay away from iframes. Interactions won't work like scrolling.
    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
    Dec 2012
    Posts
    2
    Vote Rating
    0
    slimlams is on a distinguished road

      0  

    Default


    Ok for staying away from iframes... Any alternatives ?

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    The only way to do this is to wrap your app in phonegap and use the childbrowser plugin.

  5. #5
    Sencha User
    Join Date
    Dec 2012
    Posts
    2
    Vote Rating
    0
    slimlams is on a distinguished road

      0  

    Default


    Thanks for the answer. But my problem is that I'm working on Windows 7 and I need to package my apps for iOS devices (which is not possible with Phonegap on Windows).

    For now I am able to scroll horizontally using the code below but not vertically.

    Code:
    html : '<div style="-webkit-overflow-scrolling:touch; overflow:auto; "><iframe width="100%" height="100%" src="http://www.mywwebsite.com"></iframe></div>'
    When I scroll vertically the whole app scrolls down... Any idea?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi