×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    19

    does nokia handset support standard Canvas class

    I develop a game for nokia s40 handset.
    it build success, and when i run it use following script

    C:\java\j2sdk1.4.2_04\bin\java -classpath "C:\java\j2me\n40\Nokia_Series_40_MIDP_Concept_SDK_Beta_0_3\tools\emulator;C:\java\j2me\n40\Nokia_Series_40_MIDP_Concept_SDK_Beta_0_3\tools\emulator.jar" -Demulator.home="C:\java\j2me\n40\Nokia_Series_40_MIDP_Concept_SDK_Beta_0_3" com.nokia.phone.sdk.Emulator -jad "C:\UniJa21\apps\%DEMO%\bin\%DEMO%.jad"


    after a game loaded, i click launch on the emulator, it shows an alert on the console as following:
    ALERT: No such method setFullScreenMode.

    what's the reason, and how can i deal with it

    thank for you attention and hope you give a hand

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    Yes, Nokia phones support standard Canvas (as all other MIDP compatible phone), but you target a MIDP 1.0 device and use MIDP 2.0 API.
    I recommend to use MIDP 1.0 API (and Nokia API if you need full screen), beacause there are not too many S40-MIDP 2.0 device on the market yet.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    after a game loaded, i click launch on the emulator, it shows an alert on the console as following:
    ALERT: No such method setFullScreenMode.

    what's the reason, and how can i deal with it


    It looks like you are using MIDP 2.0 methods on MIDP 1.0 device/emulator

Posting Permissions

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