×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    7

    hold 5 seconds then continue

    Hi,

    I know this is a simple question but all I want to do is create delay so that I can show screen with say a picture,keep that screen up for say 5 seconds then automaticaly show the next screen without the user having to press a button.. is there a time or something function that could help me..? timmer for x amount of seconds and then it continous..

    If someone can help me it would be greatly apreciated!

    Thnx
    Tertius

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    23

    Re: hold 5 seconds then continue

    Yep there indeed is.

    1. RTimer
    2. CTimer
    3. CPeriodic (probably your best bet!)

    Are all your friend (I hoping that you don't need realtime timing guarantees though )

  3. #3
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: hold 5 seconds then continue

    void CMyContainer::MyDelay()
    {
    RTimer timer;
    TRequestStatus timerStatus;
    timer.CreateLocal();





    timer.After(timerStatus,5000000); // wait 5 second
    User::WaitForRequest(timerStatus); // wait for request to complete

    timer.Close();
    }

    try this function and see how it works for the dealy

    Regards,
    Mateen maldar

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    7

    Re: hold 5 seconds then continue

    Hi,I am trying your solution but it gives me the following error..


    C:\WTK22\apps\CueSportAttune\src\poolNew.java:692: '(' expected
    void CMyContainer::MyDelay() {
    ^
    1 error


    Any ideas?

  5. #5
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: hold 5 seconds then continue

    The above code is of Symbian C++, and would not work for your Java app.
    Please check this link for an example to display splash screens
    http://developer.sonyericsson.com/ge...do?docId=66108

    Hope this helps!

    Regards
    Gopal

  6. #6
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: hold 5 seconds then continue

    hi,

    Sorry my mistake didn't know that ur working on java as u didn't mentioned anything in ur post abt the langauge ur coding in.

    Regards,
    Mateen Maldar

Similar Threads

  1. Application source unknown. Continue? why?
    By harishanker.kannan in forum Mobile Java General
    Replies: 4
    Last Post: 2007-04-12, 07:01
  2. Operation of network stack while GPRS is on hold
    By jkirma in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-02-06, 06:31
  3. Which series does the Pc Connectivity SDK hold out?
    By zhaoguiyu in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2004-03-05, 20:06
  4. Replies: 1
    Last Post: 2002-12-16, 12:33
  5. HttpConnection.getResponseC ode() return 100 (continue) in nokia emulators
    By fredgauchet in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-11-05, 13:50

Posting Permissions

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