private void loadSDK ()
{
browser = new BrowserComponent();
String indexFile = MiscUtilities.loadTextFile("index.html");
browser.setPage(indexFile, null);
browser.addWebEventListener("onLoad", new ActionListener<ActionEvent> ()
{
public void actionPerformed(ActionEvent evt)
{
libLoaded = true;
}
});
browser.reload();
}
public boolean randomKeyPair ()
{
BrowserComponent.JSRef ref = this.browser.executeAndWait("callback.onSuccess(getRandomKeypair())");
return false;
}
--
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 https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/59a5e691-bc09-4a9d-bc34-53f012811f35%40googlegroups.com.