Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User damien_a's Avatar
    Join Date
    Jan 2008
    Posts
    8
    Hello,

    My application is working perfect in the S40 emulator and on my nokia 5310. but i tested it on the 6300 and it stopped at my splash screen.

    Code:
    protected void startApp()
    	{       
    		// show Splash Screen
    		display.setCurrent(new SplashCanvas());
    		
    		// view time: 3000ms
    		try	
    		{
    			Thread.sleep(3000);
    		}
    		catch(Exception ex){}
    		finally
    		{
    			browser = new MenuBrowser();
    			browser.setCommandListener(this);
    			display.setCurrent(browser);
    		}
    	}
    this is my code for the splash screen. i know it is not useful but i don't want to compute something in the background. It's just for a better look. SplashCanvas (inherited from canvas) is an class which loads a image ressource and display it.
    On the 6300 the display is not changed after 3000ms

    best regards

  2. #2
    Registered User Red Falcon's Avatar
    Join Date
    Feb 2008
    Location
    Russia, Samara
    Posts
    47
    I see no problems in code. Maybe problem in SplashCanvas?.. Try to use breakpoints

  3. #3
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi there,

    Try to debug the code.check the image properties means right click then go to properties and check the pixel depth.Try to load the PNG-8 extension images.check the name with a bit accuracy.

    if there is any exception then try to find and caught it.

    You must bt getting the null pointer exception.

    check all these things.
    enjoyeee.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Problem with E90 and secondary screen
    By Tatanka.nbr1 in forum Symbian C++
    Replies: 5
    Last Post: 2008-06-27, 10:01
  2. Splash Screen problem
    By damien_a in forum Mobile Java General
    Replies: 2
    Last Post: 2008-03-10, 07:03
  3. Problem knowing mesh position in screen coordinates
    By idiezc in forum Mobile Java General
    Replies: 0
    Last Post: 2007-05-30, 17:50
  4. Splash screen on AknViewAppUi
    By vmakinen in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-03-24, 19:15
  5. Replies: 0
    Last Post: 2003-09-22, 07: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