BrowserComponent delete loading msg

22 views
Skip to first unread message

Fuad Nassar

unread,
Nov 19, 2018, 1:18:41 PM11/19/18
to CodenameOne Discussions
IDE: NetBeans
Device Android 4.4 kitkat

    BrowserComponent bc = new BrowserComponent();
        bc.setPage("<h1 style=\"color: #5e9ca0;\">hello <span style=\"color: #2b2301;\"> word</span>  ^^</h1>", null);
        gui_Container.add(bc);

hi,
i work with BrowserComponent  to show above html code but when send app to android device i get this msg 

46451743_1428998483903169_1353467374631649280_n.jpg


is there way to remove it?


Steve Hannah

unread,
Nov 19, 2018, 1:44:01 PM11/19/18
to codenameone...@googlegroups.com
You should be able to get rid of this by calling
 CN.setProperty("WebLoadingHidden", "true")

Some time before creating the browser component.  E.g. in your app's init() method.

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-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fc2ac3ef-7c11-416c-9ace-c04794b58eb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Steve Hannah
Software Developer
Codename One

Fuad Nassar

unread,
Nov 19, 2018, 2:05:23 PM11/19/18
to CodenameOne Discussions
thank you it works ^^
  *i have simple idea to develop codename one you can make it and get more money
the idea is building app which can connect to codename one website
this is very useful for downloading apps more faster from the dashboard

Shai Almog

unread,
Nov 20, 2018, 12:42:32 AM11/20/18
to CodenameOne Discussions
Reply all
Reply to author
Forward
Message has been deleted
0 new messages