facebook

Migration to ME – Android "go to URL"

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 39 total)
  • Author
    Posts
  • #353221 Reply

    Paul_paul
    Participant

    Hi Support,
    I have built my app in M1 for Android devices and have successfully migrated it to ME to build but there is a problem. I have several ‘go to url’s” for which I have used the Native Only Popup(Address bar, Toolbar) option, which has worked fine up to now in your app Build Centre.
    When the app is built with MyEclipse and phonegap no controls are showing in the completed build. Can you assist please?

    #353232 Reply

    Hi,

    I will check into this, can you let me know what device you are on?

    Thanks,

    #353234 Reply

    Paul_paul
    Participant

    it’s a Nexus 7 with Android v.5 Thanks

    #353251 Reply

    Paul_paul
    Participant

    Any progress with this problem yet?

    #353252 Reply

    Hi,

    Can you try the phoneui file posted here and see if it solves the issue. Its got a few modifications to it and is only experimental at this time.

    http://www.genuitec.com/support-genuitec/viewtopic.php?p=28482#p28482

    Make sure you back up your original phoneui.js file before hand.

    Thanks,

    #353253 Reply

    Paul_paul
    Participant

    Hi, I already tried it earlier today and now get the following error when I go to URL

    Application Error
    net::ERR_CACHE_MISS (http://go to URL address)

    #353254 Reply

    Hi,

    It appears that the error is an issue with Chrome, not with your app:
    http://stackoverflow.com/questions/26408931/bizarre-error-in-chrome-developer-console-failed-to-load-resource-neterr-ca

    Does it appear to be working other than that message?

    #353257 Reply

    Paul_paul
    Participant

    yes apart from the go to URL’s it seems to be working fine.

    #353259 Reply

    Paul_paul
    Participant

    Tried using new phoneui.js file again error messages now gone. Original problem still persists, below are results. Anymore suggestions?

    #353270 Reply

    Hi,

    I would try using the Run Javascript instead of the goto url commands. This will give you a lot more control over the newer InAppBrowser plugin that ME uses compared to the ChildBrowser in MobiOne.

    For example in the Run Javascript you can use a command like:

    var ref = window.open(‘http://genuitec.com, ‘_blank’, ‘location=yes’);

    Other advantages are you can even open URL in hidden state, this can be used as a preload, so when you do show it there is not waiting for the page to load, its already opened.

    More details and features can be found here: http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser

    #353271 Reply

    Paul_paul
    Participant

    ok I changed all the ‘goto urls’ to ‘run javascript’ at first nothing happened as the ‘ was missing after the url. I fixed that and it worked but I am still not getting the ‘done’ button or controls. Should I be using the new phoneui.js or the old one.

    #353275 Reply

    Paul_paul
    Participant

    Have tried a completely new app with the new phoneui.js and the js statement instead of ‘go to url ‘ and guess what? works fine but still does not show the controls. I am obviously doing something wrong, anymore ideas, I cannot be the only one with this problem.
    We are getting closer and closer to the end of life for MobiOne but there still appears to be many bugs in the migration to ME.

    #353279 Reply

    Hi,

    Try see if that helps:

    var ref = window.open(‘http://genuitec.com’, ‘_blank’, ‘location=yes,toolbar=yes, toolbarposition=top’);

    #353280 Reply

    Paul_paul
    Participant

    Sorry it still doesn’t work, is this a terminal error?

    #353290 Reply

    Hi,

    Thats odd. Can you create a new small project that recreates the error and send it to me either attach it here or via email.

    Thanks

Viewing 15 posts - 1 through 15 (of 39 total)
Reply To: Migration to ME – Android "go to URL"

You must be logged in to post in the forum log in