Displaying form on codition

13 views
Skip to first unread message

beats...@gmail.com

unread,
Jul 6, 2016, 12:51:00 AM7/6/16
to CodenameOne Discussions
Hi,
I am developing a application in codename one that required a user to login.
I created a login form and a main form.
I want to add a functionality that if the user is already logged in. main form will show.
The function check if the app has a preference token of username with some value.
it open main form 
if the token does not have a value the login form will appear.

i need help to know how to open forms designed in GUI Builder
to be called in code.

If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA:IDEA
Desktop OS:Ubuntu
Simulator:Default
Device:ANDROID

Shai Almog

unread,
Jul 6, 2016, 1:40:54 AM7/6/16
to CodenameOne Discussions, beats...@gmail.com
Reply all
Reply to author
Forward
0 new messages