I'm trying to display a login screen the first time my app runs, but not for all subsequent times the app is launched (assuming the correct login credentials were provided the first time).
What would be the best way to do this using NetBeans Visual Midlet creator? I've tried using the switchDisplayable() method but I'm not having much luck.
Thanks in advance.
I managed to solve it...
// write post-action user code here
usernameAccessCodeRecordStore = RecordStore.openRecordStore("usernameaccesscode", true);
if (usernameAccessCodeRecordStore.getNumRecords() != 0)
catch (Exception ex)