Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

refresh Panel contents on mobile camera success

I guess life would be boring if it was perfect.

Thank you again for your prompt assistance.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

refresh Panel contents on mobile camera success

Hi, can I just get confirmation that when the Cordova webview is operating, the target web page shows but there is still NO way of allowing the user to return to another app page. I'm talking about a totally web app running on e.g. an iPhone. This is a huge shortcoming, since it would seem to mean that the app has to be entirely reloaded. Hopefully someone has some kind of solution. Thanks.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

refresh Panel contents on mobile camera success

Hi Robert,

Please can you clarify your problem, specify steps to reproduce it.

And we will study it and will give answer.

Thanks & regards.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

refresh Panel contents on mobile camera success

Thanks very much, Illya.

When running my pure-web app (http://robertjay.app.appery.io/) on my iPhone, I’m attempting to display a URL from another site. From the page shown below...

http://screencast.com/t/HLqnN4QRy

... I select the Cordova WebView option (since I want the page to be displayed in my app, and the two other options display the page outside of the app).

The result is shown below:

http://screencast.com/t/EHbaGwQGPs

This is exactly what I want, except there appears to be no way for the user to see a button or link to get them back to one of my other pages. Their only option seems to be to reload the app.

To reproduce, do this:

  1. Load the app

  2. Choose current location

  3. Choose map from header

  4. Choose Cordova Webview

  5. Press show map

    The properties of the Cordova Webview option are shown below.

    http://screencast.com/t/UguLQvv7

    And the JavaScript for the show map click event is shown below:

    http://screencast.com/t/PrXAD3SI

    Thanks very much for your help.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

refresh Panel contents on mobile camera success

Hello!

Unfortunately you can't have button "Back" when you work with Cordova WebView.
But you can use InAppBrowser plugin with button "done"
prevar win = window.open("http://www.urbanmapping.com/demos/drilldown.html", '_blank', 'location=yes');/pre

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

refresh Panel contents on mobile camera success

OK... so I think you're saying that I must choose the last (not first) radio button as shown on my first image to have any kind of "done" button. But how do I add the "done" button you mention?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

refresh Panel contents on mobile camera success

Hi Robert,

This JavaScript code opens another browser with button "done" on your mobile device:prewindow.open("http://www.urbanmapping.com/demos/drilldown.html", '_blank', 'location=yes')/pre

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

refresh Panel contents on mobile camera success

The opened window does not have a "done" button that I can see. What do you think is going wrong?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

refresh Panel contents on mobile camera success

Hi Robert,

You can use:prewindow.open('http://www.example.com','_blank','location=yes','closebuttoncaption=back');/preFind more here:
http://cordova.apache.org/docs/en/2.9...

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

refresh Panel contents on mobile camera success

Still no luck, Katya. As I mentioned, my app is pure web (not native or hybrid iPhone) - could that be why the back button is not showing?

Return to “Issues”