Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2006

    Smile Can't download Nokia_UI_API_v1_0.zip ..Urgent!!!

    I am new to J2ME ..Plz help me download Nokia_UI_API_v1_0.zip as i want to make application to play vedio /audio ..URGENT

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    USA, CA

    Re: Can't download Nokia_UI_API_v1_0.zip ..Urgent!!!

    The UI API is part of all Nokia SDKs (S60 and Series 40), available here

    However, I am not sure if you need that API, or Mobile Media API (JSR-135). That API is used to play audio and video on devices. (There are sound playing capabilities in Nokia UI API, but after MIDP 2.0 and MMAPI was finalized you will be better off with those standard APIs instead of Nokia UI API. Of course if you are developing for a device capable only for MIDP1.0, then you might need to check the Nokia UI API...)

    Mobile Media API is available on most of the SDKs, I would recommend you to try the Prototype SDK 4.0 if you are not developing to any specific device


  3. #3
    Registered User
    Join Date
    Sep 2006

    Re: Can't download Nokia_UI_API_v1_0.zip ..Urgent!!!

    Thanks for your reply..but i am still in problem??

    I am using J2ME Wirless ToolKit 2.2 ..I created few applications and transferred it to Nokia 6020 phone and it worked..

    I tried to create a simple application to Play a *.mid or *.amr file ..and thus came across some sample app from internet .
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.media.Player;
    import javax.microedition.media.Manager;
    import javax.microedition.media.PlayerListener;
    import javax.microedition.media.Control;
    import com.nokia.mid.sound.Sound;
    public class PlayMID extends MIDlet implements CommandListener
    private Display dis;
    private Form frm;
    private Command cmd;

    public PlayMID()
    frm=new Form("Play MIDI");
    cmd=new Command("Play MID",Command.SCREEN,1);

    public void startApp()

    public void destroyApp(boolean unconditional)

    public void pauseApp()

    public void commandAction(Command c,Displayable d)
    frm.append("hold on...");
    Player musicPlayer = Manager.createPlayer(getClass().getResourceAsStream("/siren.mid"), "audio/midi");

    }catch(Exception e)

    When i run this file in KToolbar (Wireless Toolkit) ..then an Error is displayed

    C:\WTK22\apps\PlayMID\src\PlayMID.java:7: package com.nokia.mid.sound does not exist
    import com.nokia.mid.sound.Sound;
    1 error

    As per your advise i downloaded Nokia Prototype SDK 4.0(nptsdk_jme_v4_0.zip) and installed in my machine (F:\) [ Wireless Toolkit in C:\WTK22].

    but still same problem ..plz guide and help me out

Similar Threads

  1. Resume Download - Urgent Help needed
    By niteshw in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-09-29, 19:53
  2. Download Application and Technology
    By arizkohli in forum Symbian
    Replies: 0
    Last Post: 2003-06-27, 15:14

Posting Permissions

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