static final String STORAGE = "nstV3";
public void start() {
if (current != null) {
current.show();
return;
}
hi = new Form("Test");
hi.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
hi.setScrollableY(true);
hi.show();
Label l = new Label("Start");
hi.add(l);
l = new Label("Delete Storage");
hi.add(l);
Storage.getInstance().deleteStorageFile(STORAGE);
l = new Label("[Done]");
hi.add(l);
}
This used to work before the most recent updates for UWP apps (i.e. the
latest CN1 updates, not sure if there has been a Windows update as well
that might have affected this).
Works OK on other platforms.
--
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 [email protected].
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/7889274d-14f4-4057-aa0c-a7cab04e5658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.