Hi,I have two questions about WebBrowser component.Device - Android API 7.1. When page are being loaded there is a "Loading" dialog appears till the page is completely loaded including images. It could take a long time.Is there any settings to disable waiting and allow user to interact with browser while images are being loaded for example?
2. Scenario. WebBrowser content set by setPage(). User clicks on any link and goes to the new internet page. When user goes back I use setPage() again to set the right content.When I do this there is no "Loading" dialog showed, just blank white container. If I wait few seconds the content appears.How to let user know that some process is running in background and he should wait for a while?
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/950ac92c-4d71-4fc2-8b4b-47aa5e714a0b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/99dde85d-3419-4380-8c06-8258b0f5410c%40googlegroups.com.
On Tue, Oct 29, 2013 at 1:45 AM, State Thirteen <rusla...@gmail.com> wrote:
Hi,I have two questions about WebBrowser component.Device - Android API 7.1. When page are being loaded there is a "Loading" dialog appears till the page is completely loaded including images. It could take a long time.Is there any settings to disable waiting and allow user to interact with browser while images are being loaded for example?Try calling:Display.getInstance().setProperty("WebLoadingHidden", "true");
before you load the page.
2. Scenario. WebBrowser content set by setPage(). User clicks on any link and goes to the new internet page. When user goes back I use setPage() again to set the right content.When I do this there is no "Loading" dialog showed, just blank white container. If I wait few seconds the content appears.How to let user know that some process is running in background and he should wait for a while?You could show a progress indicator when you call setPage() and then hide it in the onLoad() callback ... (I think that is still fired when you use setPage()).Steve
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/950ac92c-4d71-4fc2-8b4b-47aa5e714a0b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.