Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User nagkumar's Avatar
    Join Date
    Nov 2005
    Posts
    158
    On of the quick and porting application we are doing, we used forms approach to quickly build the app.

    However, one issue we see if a screen has more than one option says Login, Register as options, user is able to quickly choose login and before the screen changes to login form, the user could again choose register.

    Is there a good way to avoid showing of other options, when one of the option is in the progress state.. due to low power of CPU's transition is taking some time..

    Hope some one must have faced such issue may have some good solution to the same..

    Regards,
    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com

  2. #2
    Registered User nagkumar's Avatar
    Join Date
    Nov 2005
    Posts
    158
    One option is remove all options once we know that the choosen option has to do the transition..

    However, on exception cases, the transition may not happen.. so looking for some thing more better and scalable one.

  3. #3
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    As you suggest, the way is to use a strict event/state model for your code, and to exit the previous state completely before entering the next one.

    In a situation where entering a state is a lengthy process, then what you really have is an additional state. The events that exit this state might be "success" (causes transition to next state) and "fail" (causes return to previous state). The objective is, never to have a state transtition that takes any significant time.

    Cheers,
    Graham.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved