×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2006
    Location
    India
    Posts
    22

    I am getting error when compiling

    hi every one,

    I am really new to this platform I am using this j2me to create a an application that will turn off the backlight when the application started .I had started with an example after going trhough the e-book ok j2me and I had created a .jar file and .jad file for getting the date and its working fine on the mobile phone .Now I want to go to my module ie,to turnoff back light
    when i wrote the code MyClass extends MIDlet........
    In startApp(){
    // i used this function
    DeviceControl.setLights(0,0);
    .....}
    I had imported all the pakages that are needed but the issue is when compiling i am getting an error that package doesnot exist at
    com.nokia.mid.ui.DeviceControl;

    any one please helpme out

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: I am getting error when compiling

    Hi anil_b,

    The Nokia UI API (nokiaui.zip or classes.zip-check inside) is not declared in your classpath. I do not know which SDK you're using but Nokia ones do include it. Give them a try - http://www.forum.nokia.com/main/0,6566,033_3-1,00.html

    Depending on the IDE you're using you can also convert them to jar files and include the jars into your classpath.

    BR

Similar Threads

  1. Compiling .cpp-files separately
    By sk-o in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-06-04, 09:35
  2. HELP!: Error compiling ....
    By SpaceCowboy in forum Mobile Java General
    Replies: 0
    Last Post: 2003-08-19, 16:21
  3. Problem compiling BIOexample & BIOcontrol
    By tianlye in forum Symbian
    Replies: 1
    Last Post: 2003-02-18, 18:31
  4. Problems with AKNEXEDITOR.APP compiling using VC6++
    By fgozman in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-11-01, 07:13
  5. Compiling Chinese unicode for 7650/7210
    By damien12345 in forum Mobile Java General
    Replies: 1
    Last Post: 1970-01-01, 02: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
  •