Discussion Board

Results 1 to 6 of 6

Threaded View

  1. #1
    Registered User
    Join Date
    Feb 2011

    [SOLVED] Displaying a login screen the first time app runs (but not subsequent times)


    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...

    switchDisplayable(null, getLoginScreen());
    // write post-action user code here
                usernameAccessCodeRecordStore = RecordStore.openRecordStore("usernameaccesscode", true);
                if (usernameAccessCodeRecordStore.getNumRecords() != 0)
                    switchDisplayable(null, getMainWindowList());
    catch (Exception ex)
    Last edited by Infms; 2013-02-05 at 19:52.

Similar Threads

  1. application runs more than one time problem??
    By ram4soft in forum Symbian
    Replies: 7
    Last Post: 2010-06-22, 17:59
  2. some time it works some times it not ?
    By Arunesh in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-08-09, 03:00
  3. Application runs only one time
    By afka in forum Mobile Java General
    Replies: 2
    Last Post: 2007-04-20, 13:49
  4. displaying customer login and logout time
    By chickenyd in forum Mobile Java General
    Replies: 4
    Last Post: 2006-06-04, 15:55
  5. Embedded application gives panic when runs for the second time
    By hesham.galal in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-01-02, 21:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts