×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 37

Thread: splash screen

  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    splash screen

    i used the follwing code to show an splashscreen
    http://wiki.forum.nokia.com/index.ph...implementation
    now how can i close my splashscreen to open my application
    thank u

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: splash screen

    Delete the CSimpleSplashScreen object?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Super Contributor
    Join Date
    Sep 2007
    Posts
    1,005

    Re: splash screen

    use timer to active other view

  4. #4
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    Re: splash screen

    Quote Originally Posted by oracle3 View Post
    use timer to active other view
    can u show me some code
    thank u

  5. #5
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    Re: splash screen

    Quote Originally Posted by ltomuta View Post
    Delete the CSimpleSplashScreen object?
    ya i deleted the splashscreen object but still it's viewing in the background of my application.

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: splash screen

    Show us your Timer Implementation .

  7. #7
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    Re: splash screen

    i don't know how to implement a timer that's y iam asking how can i implement the timer and how can i destroy the splashsrenn object
    thank u

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: splash screen

    Oops no timer. But the example clearly says
    To use CSimpleSplashScreen, just construct it in your application user interface class and start a timer, and when the timer expires, just destroy the splash screen and start your application normal start screen.
    Anyways for timer implementation refer to
    http://wiki.forum.nokia.com/index.ph...implementation

  9. #9
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    Re: splash screen

    so how can i create object to cexampletimer calss
    i added this cpp and .h file to my project
    in constructor we have a pramameter with type MExampleTimerNotify.
    so wht value should i pass it to this parameter

  10. #10
    Super Contributor
    Join Date
    Jul 2007
    Posts
    596

    Re: splash screen

    Quote Originally Posted by arumilli View Post
    so how can i create object to cexampletimer calss
    i added this cpp and .h file to my project
    in constructor we have a pramameter with type MExampleTimerNotify.
    so wht value should i pass it to this parameter
    It will better if u implement timer classes already there

    like CTimer,CPeriodic,CHeartBeat.......etc.



    Thanks

  11. #11
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: splash screen

    CPeriodic is the simplest way out.

    Start a periodic timer at constructl, say for 2-3 seconds (your desired time) and then after the timer expires, it will call back the function you had specified while starting periodic time, and at this function simply change the view

    search for CPeriodic in wiki for easy lines of code.
    you can also search for splash in wiki
    Amit Kankani
    Nokia Developer Champion

  12. #12
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    112

    Re: splash screen

    actually in my apllication 1st it will search for net after tht my aplication was lanched in between i need a splash screen.
    but i don't know how much time it will search for net

  13. #13
    Super Contributor
    Join Date
    Jul 2007
    Posts
    596

    Re: splash screen

    Quote Originally Posted by arumilli View Post
    actually in my apllication 1st it will search for net after tht my aplication was lanched in between i need a splash screen.
    but i don't know how much time it will search for net
    search for net???? what does it mean.

    Do u want to connect some server or url....

    Thanks

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: splash screen

    Quote Originally Posted by arumilli View Post
    actually in my apllication 1st it will search for net after tht my aplication was lanched in between i need a splash screen.
    but i don't know how much time it will search for net
    Then you can simply close your splash-screen after you made/failed the connection.
    Of course you can still cap it via using a separate timer.

  15. #15
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: splash screen

    well then you can do this:

    once connected to net and you get the first response, then do a viewChange

    also you can show a progress bar in the splash somewhere, by counting number of bytes received / total number of bytes (can be got from the first header say 200 OK) .... use your creativity here
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. 6300 splash screen problem
    By damien_a in forum Mobile Java General
    Replies: 2
    Last Post: 2008-03-24, 06:11
  2. Full screen splash screen
    By jitendrachhajed in forum Symbian
    Replies: 1
    Last Post: 2005-07-11, 08:01
  3. Splash screen
    By samarth_shroff in forum Mobile Java General
    Replies: 2
    Last Post: 2005-06-22, 07:57
  4. Long startup time, splash screen
    By raimohanska in forum Mobile Java General
    Replies: 0
    Last Post: 2004-02-09, 15:49
  5. splash screen doesnt show??? why?
    By lingtze1 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-06-10, 08:00

Posting Permissions

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