SIP for J2ME API

Anyone out there ever get the SIP for J2ME API (JSR-180) working on an actual device, like a PDA ?
I can get it to run with the nokia emulator but other then that it's been pretty much useless to me.
Would the full blown JAIN SIP API be better for high end PDA usage ?
TIA
Anoop

Hi Anoop,
Did you get the SIP application working on device. I am trying to run Wtk2.5 "GoSip" App on the device but didn't succeed but was able to run on emulator. While running on emulator I started the SIP server from File->Utilities and entered the local machine name as a proxy host and it ran successfully on emulator. Can you tell me what server to use, which proxy host to enter and what all other changes do I need to do while running the same example on the device. Or were u able to run any SIP application on device? Please help.
Regards,
Pankaj Hotwani.

Similar Messages

  • Where's the API docs for J2ME?

    I'm a long time J2SE programmer wanting to get into J2ME> One of the first things I tried to do is find Sun's javadoc for J2ME, but I can't find it anywhere. How can I find them? Also, are there any good learning trails for learning the basics of the J2ME windowing system and such?

    http://java.sun.com/j2me/docs/index.html
    or you can search in
    http://jcp.org/en/home/index
    by JSR
    http://java.sun.com/j2me/index.jsp

  • How to implement VoIP over SIP in J2ME

    Hi All,
    This is kapil from India and i want to implement VoIP over SIP in j2me.Any help will be appreciated.
    I know about SIP API in J2ME. I want to use VoIP over it.Please help.I will be grateful to you.
    regards
    kapil

    Why don't you give us the money your Boss pays you.. then we'll see what can be done ;)
    Seriously, it might be smart to start your own research first. Check out what VoiP and SIP are all about, and the check how it fits into J2me.

  • How to develop VoIP client using SIP in J2ME?

    Hi Everybody,
    I want to develop a VoIP client in J2ME that connects to asterisk server of debian and can call to the registered user of asterisk server and can have a telephonic talk session easily.
    Do anybody have idea regarding the development of the client or having tutorial that teaches the development of VoIP in J2ME or in any other way.?
    PLZ help me to provide the solution.
    Thanks in anticipation.
    with regards,
    KHAKHAR SAGAR

    Hi
    I am interested about developing VoIP application (using SIP) in J2ME platform. But I am stuck with the problem of MMAPI. Without using MMAPI J2ME has no access to mobile media devices, such as speaker or microphone, and without creating a player MMAPI can't play media data, such as sound or video. But its not possible to record voice and play voice data simultaneously using player in J2ME. So it seems almost impossible to implement VoIP application maintaining all its constraints and requirements, specially in case of delay and jitter.
    I am looking for some solution, which will provide the ability to overcome this problem. I come out with two possible solutions, but not sure about their out come. If we can develop a native media application, we can have access to it by using KNI (K Native Interface). In that way we can take some risk to develop VoIP application for J2ME. My another solution is, we can handle the player using MMAPI to record and play voice data in mill second level, so that we can have a real time feeling, though I am not sure if its possible by using RTSP.
    If any one have solution of this problem, please help us.
    Reagards
    Asif Mohammed Adnan

  • Where I can Find AelFred XML Parser for J2ME?

    Hi,
    I need the Aelfred XML SAXParser to run MIDP applications.
    The actual url is www.microstar.com
    but the site is not avialable.
    If any body has an idea about the new URL? or if u have the aelfred parser kit for the J2ME API, then please send it back to
    [email protected]
    Thanks
    Eldo.

    The AElfred project has been merged with the GNU JAXP project:
    http://www.gnu.org/software/classpathx/jaxp/jaxp.html
    There, you have a link to the FTP mirror sites..
    GNU JAXP includes the �lfred2 SAX2 parser.

  • Basic Documentation for J2ME MIDP?

    Hi,
    I am new to developing for J2ME/MIDP and have not been successful in finding any language documentation to help me further my knowledge.
    As a case in point, I have a sample app that I have been playing with, it is very simple and uses an object of type TextBox as follows...
      private TextBox t;
        t = new TextBox("Heya!",  "Welcome to MIDP development", 256, 0);Now I want to append some more text to this TextBox at from another method in the app, but I can't find any documentation on TextBox to show me how to do this.
    (I have tried "t.append(new StringItem(null, "More text"));" but it doesn't work).
    Where is the documentation for MIDP? Is there something similar to the J2SE documentation here -
    http://java.sun.com/j2se/1.4/docs/api/index.html
    If there is, then that would be the answer to a lot of my questions!
    Also, I have difficulty understanding how MIDP and J2ME relate, what is their relationship? Is MIDP a part of J2ME? And how does CLDC relate to them both?
    Well, thanks very much for any help you can offer!
    Warm regards,
    - Peter

    The documentation is part of the SDK when you download it.
    If you downloaded the Wireless Toolkit or any other SDK, there should be a docs directory there with all the documentation (and if you don't have any SDK you can't do much development in any case).
    As for the TextBox issue you would need something like:
    t.setString(t.getString() + " some more text");And about those general J2ME questions, there's a good FAQ on this site.
    shmoove

  • Choosing mobile for J2ME

    Hello !
    I am new in J2ME programming so i am interested in what mobile phone is the best for programming for J2ME and what OS should it have to be easy programming, i know that Java is platform independent,so what mobile is best for programming on J2ME so what mobile you suggest me?

    First of all, it will depend on what physical features you need (filesystem, bluetooth, camera, GPS, etc) which depends on what you wish to develop.
    Then you should look at what models implement those features. J2MEPolish' page can be of good help here:
    [http://devices.j2mepolish.org/interactivedb/searchdevices.faces]
    Finally, each vendor has it's special quirks. For instance, with SonyEricsson and Nokia, you will get tons of security messages whenever you do anything but the most trivial, unless your midlet is signed. Samsung's UltraTouch models give poor error descriptions when your program has faults, implements fewer of the optional APIs than what the device in theory could support, and have small bugs that can be very annoying depending on your needs. (For example you can't use the GPS through the Location API unless you have GSM coverage, which makes the device useless here...). Other devices will probably have their own funny points, but on paper, I think Blackberry looks very promising.
    Josef

  • J2ME API

    This may seem like a stupid question but I am new to J2ME programming. Where can I find the API on the Sun website for the API? I'm talking about something like the api you find at http://java.sun.com/j2se/1.5.0/docs/api/ !!!
    Any help would be appreciated!!
    Thanks,
    Wallace

    It is in WTK package that u downloaded. Under "docs" directory.

  • Use J2ME APIs in J2SE, or vice versa?

    Is it possible to use J2SE APIs in a J2ME MIDlet, or vice versa? Or workarounds?
    The reason why I am even doing this is that I have a study project to make work a communication gateway between 2 systems. And 1 of them provides APIs in J2SE and 1 in J2ME.
    I tried serveral ways.
    1. In a J2ME MIDP 1.0 MIDlet, when calling the APIs provided in J2SE, I get :
    ALERT : Bad method signature
    2. In a J2ME MIDP 2.0 MIDlet, when calling the APIs provided in J2SE, I get :
    a. Before obfuscating:
    java.lang.NoclassDefFoundError:java/net/UnknownHostException:Cannot create class in system package
    at Canvas.<init>(+18)
    at MIDlet.startApp(+15)
    b. After obfuscating:
    Error verifying method MIDlet startApp()V
    Method...
    3. In a J2SE program, when calling J2ME APIs like
    javax.microedition.io.Connector.open(url);
    I get the
    java.lang.UnsatisfiedLinkError
    (see below for more details)
    Any help would be appreciated...
    Wen
    3. Details of java.lang.UnsatisfiedLinkError
    Exception in thread "main"
    java.lang.UnsatisfiedLinkError: getProperty0
    at
    com.sun.midp.Configuration.getProperty0(Native
    Method)
    at
    com.sun.midp.Configuration.getProperty(C:/tmp_java/build_WTK/j2me_mid
    p/src/share/classes/com/sun/midp/Configuration.java:34)
    at
    com.sun.midp.io.InternalConnector.<clinit>(C:/tmp_java/build_WTK/j2me
    _wtk/midp/src/lime/classes/com/sun/midp/io/InternalConnector.java:91)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:158)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:138)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:120)
    at
    terraplay.networking.SendReceiveHTTPDefault.openUrl(SendReceiveHTTPDe
    fault.java:40)
    at
    terraplay.networking.AsyncCommunicationHandler.setup(AsyncCommunicati
    onHandler.java:44)
    at Tgateway12.main(Tgateway12.java:45)

    "J2ME" is strictly speaking not defining any API. It is divided in configurations and profiles like CLDC and MIDP and so called "optional packages" like the WebService-API. All of those might have some classes in common with J2SE but definitely not all. So there might be some overlapping but it's not necessary and I wouldn't know of any configuration or profile being a true subset of j2me. CLDC / MIDP for example define a package javax.microedition that is not part of J2SE

  • Cibyl: C programming for J2ME phones

    Hello,
    For those that would like to program in C for J2ME phones, I'd like to announce my project called Cibyl,
    http://spel.bth.se/index.php/Cibyl
    which allows you to compile C programs into Java bytecode. It uses GCC to compile MIPS binaries which are then translated into Java bytecode. Cibyl supports a subset of J2ME with a C interface, but adding additional classes/methods is easy and semi-automatic, and it's also possible to mix C and Java.
    I've also implemented Lessphun,
    http://spel.bth.se/index.php/Lessphun
    which is an implementation of the Mophun C API for Cibyl that allows Mophun games to be ported to J2ME phones.
    Cibyl and Lessphun are free software (GPL'ed tools and LGPL'ed libraries) and implemented for GNU/Linux, although it should be possible to get working under other systems as well.
    // Simon

    Sure,
    I've measured two programs: A* and a game-of-life implementation, implemented for both "native" Java and in C. The performance varies depending on the virtual machines - I've run them with gij, kaffe, sablevm and the Sun JDK vm (the two benchmarks are not dependent on the J2ME classes) - and the performance generally varies between 1.5 and 2.2 times slower than the native Java implementation (with exceptions - the A* benchmark was almost 8 times faster with Cibyl on Kaffe).
    The two benchmarks were implemented in a "Cibyl-friendly" way, i.e., mainly using 32-bit types in the C code (I've optimized for loads/stores of these). 8- and 16-bit memory accesses are more expensive, but I've ported my boulder dash-style game from Mophun without changing the datatypes and there are no performance problems there anyhow - the time is spent in drawing graphics.
    So I would say that the performance is acceptable, and should be comparable to implementations in native Java.
    // Simon

  • Is there any j2me api to assign ringtone to specific contact ?

    Is there any j2me API in PIM or something else to assign custom ringtone to specific contact or specific phone number? if anyone of u have worked on this thing ..please share your solutions with me.....

    You can use numactl to lock any process to a NUMA node, but that only helps if your machine really is NUMA (AMD Opteron servers are, Itanium systems often are).
    You should be able to enumerate nodes using:
    numactl -H
    And lock the process to a node using for instance:
    numactl cpubind=$node_num membind=$node_num java MyClass
    It is hardware dependent how many CPUs and how much memory you have per node. A common number of CPUs is 1-4 sockets.
    Regards -- Henrik

  • What are the default parameters for PER_EVENTS api

    Dear Experts,
    Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
    procedure create_event
    (p_validate in BOOLEAN default FALSE
    ,p_date_start in DATE
    ,p_type in VARCHAR2
    ,p_business_group_id in NUMBER default NULL -- HR/TCA merge
    ,p_location_id in NUMBER default NULL
    ,p_internal_contact_person_id in NUMBER default NULL
    ,p_organization_run_by_id in NUMBER default NULL
    ,p_assignment_id in NUMBER default NULL
    ,p_contact_telephone_number in VARCHAR2 default NULL
    ,p_date_end in DATE default NULL
    ,p_emp_or_apl in VARCHAR2 default NULL
    ,p_event_or_interview in VARCHAR2 default NULL
    ,p_external_contact in VARCHAR2 default NULL
    ,p_time_end in VARCHAR2 default NULL
    ,p_time_start in VARCHAR2 default NULL
    ,p_attribute_category in VARCHAR2 default NULL
    ,p_attribute1 in VARCHAR2 default NULL
    ,p_attribute2 in VARCHAR2 default NULL
    ,p_attribute3 in VARCHAR2 default NULL
    ,p_attribute4 in VARCHAR2 default NULL
    ,p_attribute5 in VARCHAR2 default NULL
    ,p_attribute6 in VARCHAR2 default NULL
    ,p_attribute7 in VARCHAR2 default NULL
    ,p_attribute8 in VARCHAR2 default NULL
    ,p_attribute9 in VARCHAR2 default NULL
    ,p_attribute10 in VARCHAR2 default NULL
    ,p_attribute11 in VARCHAR2 default NULL
    ,p_attribute12 in VARCHAR2 default NULL
    ,p_attribute13 in VARCHAR2 default NULL
    ,p_attribute14 in VARCHAR2 default NULL
    ,p_attribute15 in VARCHAR2 default NULL
    ,p_attribute16 in VARCHAR2 default NULL
    ,p_attribute17 in VARCHAR2 default NULL
    ,p_attribute18 in VARCHAR2 default NULL
    ,p_attribute19 in VARCHAR2 default NULL
    ,p_attribute20 in VARCHAR2 default NULL
    ,p_party_id in NUMBER default NULL -- HR/TCA merge
    ,p_event_id out nocopy NUMBER
    ,p_object_version_number out nocopy NUMBER
    );

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts.

  • Development Environment for Server APIs in Webcenter Interaction 10.3

    Hi, I installed “Oracle Web Center Interaction 10.3" on standard environment mentioned by oracle (Window 2003 server, IIS6.0, SQL Server 2005). Everything works fine concerning the portal and services.
    I also have visual studio 2005 on the same machine and trying to setup a development environment where I can user server APIs (I start with creating IPTSession).
    I am using follwong code to start with:
    /String serverConfigDir = ConfigPathResolver.GetOpenConfigPath();
    IOKContext configContext = OKConfigFactory.createInstance(serverConfigDir, "portal");
    PortalObjectsFactory.Init(configContext);
    IPTSession ptSession = PortalObjectsFactory.CreateSession();
    Problem: code compiles if I add few dlls, but it do not run, it throws following error
    com.plumtree.openkernel.exceptions.OKFactoryException: Error in AOKFactory.createAndInitializeInstance, unable to create object with name 'com.plumtree.openkernel.impl.config.Config' in assembly or JAR file 'openconfig'.
    I think either server APIs are not more supported in 10.3 or I do not know how to setup the development environment for server APIs.
    Can anyone help??

    i have already tried putting hardcoded path but it didn't help, morover the previous line gives me correct path.
    I issue i mentioned seems to be related with some setting or missing native dlls
    com.plumtree.openkernel.exceptions.OKFactoryException: Error in AOKFactory.createAndInitializeInstance, unable to create object with name 'com.plumtree.openkernel.impl.config.Config' in assembly or JAR file 'openconfig'.
    i got follwing extract from the wsserver-wrapper.log file
    INFO | jvm 1 | 2009/02/20 12:26:17 | 2-20-2009     12:26:17.606     Info     OpenKernel.Config     Disabled-1235112977434     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Loading config data from C:\bea\alui\ptws\10.3.0\bin\..\..\..\common/../settings
    INFO | jvm 1 | 2009/02/20 12:26:18 | 2-20-2009     12:26:18.325     Info     OpenKernel.Config     Disabled-1235112977434     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Setting subscription data.
    INFO | jvm 1 | 2009/02/20 12:26:18 | container config context:EAS:wsserver
    i didn't modified anything in any config file, just configured everything on one machine with oracle configuration manager

  • Read a text file(database) from a servlet for j2me..?

    Anyone know how to read data from a text file as a database using a servlet for j2me..?
    How to do it..?
    Thanks in advance.

    i tried something like that but there is a NullPointerException... Is what i'm doing correct..?
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet {
      private static final String db_server = "localhost/";
      private Connection con = null;
      private String content="";
    public void doPost(HttpServletRequest  request,
                         HttpServletResponse response)
        throws ServletException, IOException
        response.setContentType("text/plain");
        PrintWriter out = response.getWriter();
        String strUserid = request.getParameter("userid");
        String strPassword = request.getParameter("password");
        System.out.println("userid received: " + strUserid);
        System.out.println("password received: " + strPassword);
         try{
                   System.out.println("opening the file....");
                   //String url = "file://"+dbServer+"test.txt";
                   //String uri = "file://localhost/test.txt";
                   String uri = "file://Program Files\Apache Group\Tomcat 4.1\webapps\Project\WEB-INF\classes\trial\test.txt";
                   //String uri = "file:/database/res/test.txt";
                   System.out.println( uri );
                   InputConnection conn = (InputConnection) Connector.open( uri,Connector.READ );
                   System.out.println("connection established");
                   InputStream in = conn.openInputStream();
                   int ch;
                   conn.close(); // doesn't close input stream!
                   System.out.println( "Contents of [" + uri +"]" );
                   while( ( ch = in.read() ) != -1 ){
                   System.out.print( (char) ch );
                   in.close();
                   catch( ConnectionNotFoundException e ){
                  System.out.println( e.toString()+"File could not be found!" );
                  System.out.println( "File could not be found!" );
                   catch( IOException e ){
                       System.out.println( e.toString() );
                   catch( Exception e ){
                       System.out.println( e.toString() );
          out.close();
        } // End try
        catch (Exception e) {
          System.out.println("Exception in doPost(): " + e.getMessage() );
      } // End doPost
    } // End loginServlet

  • Where is Solaris OE Implementation for Win32 API Version 1.0.2.?

    the link on page http://soldc.sun.com/ntmigration/tools/jscoretool.html is broken.
    I search and found with no results.
    can anyone help ? or send a copy to my email box: [email protected]
    thanks a lot.

    >
    Try again for olaris[tm] OE Analyzer for C/C++ Source
    Code at
    http://soldc.sun.com/ntmigration/tools/jscoretool.html
    It has a new version now as 1.1.
    Also the Solaris OE Implementation for Win32 APIs
    also has a new version at
    http://soldc.sun.com/ntmigration/nttech/win32emulation
    .html
    Enjoy!The above link is broken. Can anyone please mail me the valid working link at [email protected]
    Would really appreciate your help,
    Thanks and Regards,
    Sanjay

Maybe you are looking for