- This topic has 38 replies, 5 voices, and was last updated 9 years, 10 months ago by support-michael.
-
AuthorPosts
-
Paul_paulParticipantHi 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?
Brandon BatieMemberHi,
I will check into this, can you let me know what device you are on?
Thanks,
Paul_paulParticipantit’s a Nexus 7 with Android v.5 Thanks
Paul_paulParticipantAny progress with this problem yet?
Brandon BatieMemberHi,
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,
Paul_paulParticipantHi, 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)
Brandon BatieMemberHi,
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-caDoes it appear to be working other than that message?
Paul_paulParticipantyes apart from the go to URL’s it seems to be working fine.
Paul_paulParticipantTried using new phoneui.js file again error messages now gone. Original problem still persists, below are results. Anymore suggestions?
Brandon BatieMemberHi,
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
Paul_paulParticipantok 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.
Paul_paulParticipantHave 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.
Brandon BatieMemberHi,
Try see if that helps:
var ref = window.open(‘http://genuitec.com’, ‘_blank’, ‘location=yes,toolbar=yes, toolbarposition=top’);
Paul_paulParticipantSorry it still doesn’t work, is this a terminal error?
Brandon BatieMemberHi,
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
-
AuthorPosts