Discussion Board

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

Thread: splash screen

  1. #1
    Regular Contributor arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Delete the CSimpleSplashScreen object?

  3. #3
    Super Contributor oracle3's Avatar
    Join Date
    Sep 2007
    Posts
    1,005
    use timer to active other view

  4. #4
    Regular Contributor arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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 arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Show us your Timer Implementation .

  7. #7
    Regular Contributor arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    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 arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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 kishore84's Avatar
    Join Date
    Jul 2007
    Posts
    596
    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 amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    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 arumilli's Avatar
    Join Date
    Apr 2008
    Posts
    112
    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 kishore84's Avatar
    Join Date
    Jul 2007
    Posts
    596
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,747
    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 amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    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

Page 1 of 3 123 LastLast

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 C++
    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
  •  
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