Using other protocol than HTTP for a Nokia 7650 application

Hello,
I'm developing an java application for a Nokia 7650 that needs to use SIP over UDP.
In an emulator on the PC the communication works fine.
I'm afraid that there will be some problems when I port the application to the real device.
Can I use SIP over UDP communication on a real Nokia 7650?
thanks in advance
Best regards
Hector

I add some code example of my application. SIP uses Datagram protocol, which is supported in CLDC.
// Create a new datagram socket.
DatagramConnection dc =
(DatagramConnection)Connector.open("datagram://:5060");
System.out.println("SYSTEM, datagram server listener:" + "datagram://:5060");
while (! sipStack.toExit) {
Datagram datagram =
dc.newDatagram(MAX_DATAGRAM_SIZE);
System.out.println("SYSTEM, listening!");
dc.receive(datagram);
System.out.println("SYSTEM, packet revceived!");
// Create asynchronous message handler
// for this message
UDPMessageChannel udpMessageChannel =
new UDPMessageChannel
(datagram,sipStack);
} catch (Exception ex) {
ex.printStackTrace();

Similar Messages

  • ACE - x-forwarded-for equivalent for other protocols than HTTP

    Hello you guys
    Need your help. I have an ACE architecture based on source-nat but I want to have the real source IP info on the destination real server.
    For HTTP packets I can set up x-forwarded-for, but is there a way to do the same for other TCP protocols? And, just for the fun of it, UDP also?
    Best wishes

    Hi,
    it is designed specifically for HTTP. ACE cannot insert the same to any other protocol.
    Even if you look at the commands it says :
    "insert-http x-forward header-value "%is"
    which itself indicate that it is desinged for HTTP.  This is a process of adding a header to HTTP message.
    Hope that helps.
    regards,
    Ajay Kumar

  • HT5002 I used Inkscape on Linux before moved to Mac. Now I am trying to install it using MacPorts, but libpixman has some problems that has been reported out there. Does any one know how to fix it without the need to use other way than MacPorts?

    I used Inkscape on Linux before moved to Mac. Now I am trying to install it
    using MacPorts, but libpixman has some problems that has been reported out there.
    Does any one know how to fix it without the need to use other way than MacPorts?

    Start with this comprehensive troubleshooting article:
    https://discussions.apple.com/docs/DOC-3521
    Look at this one for possible solutions:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • CRS Install hostname being used by more than once for the same node.

    Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
    "You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
    Has anyone experienced this error message before and know what the cause is?
    Could it be a problem with the /etc/hosts file?
    Thanks in advance,
    M

    Make sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
    Also, the installer may complain if your private and public IPs are configured under the same subnet.
    Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
    - public name and IP addresses of ALL nodes
    - private name and IP addresses of ALL nodes
    - VIP name and IP addresses of ALL nodes
    Hope that helps
    B.

  • [svn:fx-3.x] 9493: Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects .

    Revision: 9493
    Author:   [email protected]
    Date:     2009-08-23 16:09:56 -0700 (Sun, 23 Aug 2009)
    Log Message:
    Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-13919
    Reviewer: N/A
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22435
        http://bugs.adobe.com/jira/browse/SDK-13919
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

  • What Application is required for Programming a game for a Nokia 7650

    Hello, I am new to all this and I would like to program a game on a Nokia 7650, I have downloaded a few games and transfered them via infrared to my phone (JAD and JAR files)which are pretty cool. All I know they are either written in Java or C++.I understand C++, is faster but more difficult to program so I would like to begin using Java. Please advise me what Java Application I need on my PC to write a Game for the Nokia 7650, there are so many Applications on the Java Site, I have no idea which one to download.I am not interested writting a game on the pc only the mobile. Many thanks.

    .I am not interested writting a game on the pc only the mobile. Many thanksYou still 'write' the game on the PC, you simply deploy it on the mobile :)
    1) Learn java
    2) Learn how to write games
    3) Learn the mobile phone API, and how to write small, efficient programs
    4) start writing mobile games
    if you've never done any programming before, then you've got >1years work there :S

  • Other links than http...

    Dear iWeb users,
    I'd like to link a word with the following url: afp://myserver.com but iWeb refuses. Same happens with ftp://myserver.com. Only http://myserver.com works. Any idea on how to solve the problem (limitation...)?
    Thank's for your help
    Francois
    mbp17   Mac OS X (10.4.8)  

    You will need to post process your pages, there are many methods to alter < a href tag from HTTP to AFP or FTP or whatever...
    That said, you will need ways to control which links to be altered, and leave other links as HTTP, you don't want to change every HTTP links, right?
    Example: let say you have 20 HTTP links on your page and you only want to change 2 of those to FTP and one to AFP, see what I'm getting at.
    You can change HTML code using search and replace method with a third party apps (this method actually changes the HTML code, very, very static and very very quaint ).
    or you can change HTML code dynamically (DHTML) with javascript, I do not have specific javascript to change HTTP to AFP or FTP, but I do have javascript to alter HTTP href to anchor links (not much different there), see this:
    http://geocities.com/[email protected]/anchors_1.html
    & http://geocities.com/[email protected]/anchors_2.html
    the anchor links are modified on-the-fly. sorry folks, I don't do windows; you will have to get Safari or Firefox to see it.

  • Skin for the nokia 7650

    Hi
    It was I while since worked with JME but now its time again. I want to develop for the new nokia phones. I downloaded the j2me_wireless_toolkit-2_0-beta2-bin-windows.exe. I want have the nokia skin for the 7650? Where can I get it?
    Thanks
    Pierre

    hello,
    i think you can download a nokia sdk for the nokia 60 series here:
    http://www.forum.nokia.com/main/1,35452,030,00.html?fsrParam=2-3-/main/1,35452,030,00.html&fileID=2770
    it contains an emulator for the nokia 3650 wich should have the same platform like 7650.
    good luck,
    loa

  • Can't start NT service for Directory Server using other acc. than LocalSys.

    Hi!
    I'm using Directory Server 5.1 on a Windows 2000 machine.
    I wrote a Plug-In for DS that needs Administrator Access to the NT Domain. So I tried to run the DS-Service as Administrator but the service can not start. I just keeps in status "starting...".
    I don't get any error message and the errorlog doesn't contain anything.
    Has anyone an idea?
    Thanks!
    Florian

    I forgot to tell one thing: I use SSL, without SSL I do not have this problem. Perhaps it's only the popup I get when starting DS, where I have to enter the certificate password?

  • Send Stream using other protocol

    Hello everyone, I have a question I do not know whether we can do the following:
    - Suppose I have a application protocol in Java, where sending objects over the network:
    SendObject (Object data).
    - You can send multimedia data (audio and/or video) through my protocol with JMF, what Object I send, if that were possible.
    thanks for your help.

    Ok, thanks ... captfoss sending the byte array is fine.
    On the other hand,
    1.- when I receive this byte array and converts it to buffer should I do next?.
    using the example:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html]
    // In MyDataSource.java...
    public PushBufferStream [] getStreams() {
         if (streams == null) {
             streams = new LiveStream[1];
             stream = streams[0] = new LiveStream();
         return streams;
    When I receive the data, converts it to buffer and invoke this function.
    This function is new and is to pass the buffer to LiveStream.read (Buffer)
    public void setBufferReceived(Buffer buffer){
        stream.read(buffer);
    }- But not understanding how modifying function LiveStream.run ().
    that performs this code."transferHandler.transferData(this); " ??
    public void run() {
              while (started) {
                   synchronized (this) {
                        while (transferHandler == null && started) {
                             try {
                                  wait(1000);
                             } catch (InterruptedException ie) {
                        } // while
                   if (started && transferHandler != null) {
                        transferHandler.transferData(this);
                        try {
                             Thread.currentThread().sleep( 10 );
                        } catch (InterruptedException ise) {
              } // while (started)
         } // run     - Also once you create the MyDataSource:
    MyDataSource ds = new MyDataSource ();
    This DataSource must be connected (connect ()) and start (start ()) in explicit form?.

  • Using Statement rather than CallableStatement for stored proc execution

    Cleary, if you need to extract output parameters from a stored procedure, then you must use a CallableStatement to execute it. However, if your stored procedure just returns a basic ResultSet, or performs a database update, is there any penalty to using a regular Statement to execute the stored procedure?
    For example -
    String sql = "exec testprocedure 'param1' 'param2'";
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery( sql );
    vs.
    CallableStatement cs = conn.prepareCall( "{call testprocedure(?,?)}" );
    cs.setString( 1, "param1" );
    cs.setString( 2, "param2" );
    ResultSet rs = cs.executeQuery();
    Any thoughts?

    Any thoughts?You would have to look at the actual driver code for a sure answer.
    But for any real database (which a stored proc suggests) I doubt there would be any difference at all. It would resolve to the same call.

  • Other colors than white for docking station?

    Hello,
    A strong point of the Docking station for iPod is that it can be connected to a HiFi-system.
    But most of these beautiful Hifi-component-systems are black.
    Now , it would be very nice (and would look very sophisticated) to put my Ipod (in its docking) on the same rack as my Hifi-system.
    My problem: It is really ugly to put a black iPod in a WHITE docking station (and with WHITE cables) on my open Hifi-rack next to the black components.
    The problem would be solved if Apple made their accessories also in black. I think this should be a logical thing to do, since the iPods and iPods Nano are also available in black. And black in black is far more beautiful then black in white....
    In the store they told me that black accessories don't exist. I would like to get confirmation of that information. And maybe, ... if the product managers of Apple read this, it might be a helpful suggestion to improve the product.
    Thank you for reading this.
    Regards,
    Alex

    HI THERE NOKIA, can I know where can i find Nokia C3 Housing? I am unable to find the housing in Singapore at all including Harbor front on both Nokia shops. You stopped shipping these housing ? Thanks. really need one as my housing broke.
    MODERATOR'S NOTE:  Phone number was removed. It is unwise to publish personal contact information on a public forum.

  • Pages uses other language than rest of iWork

    Hello there,
    since upgrading to Lion, Pages is in German, although Numbers and Keynote are both in English, just as my system is running in English language.
    I have not found out how to change Pages to English, therefore I hope the community can help.
    Thank you all in advance.

    Pages like Numbers and all other applications uses the languages that is set in the System Preferences. It shouldn't be any difference.
    Have you done any maintenance of the system after the upgrading to  Lion??

  • MacBooks Shouldn't Use Anything Newer Than Tiger for Wireless

    Hi,
    Apple, I'm really sorry to say, but your software blows chunks for wireless connectivity on your laptop computers since Tiger. I have no idea what you have done, but Airport wireless connectivity consistently and sporadically drops and reconnects. This issue has been well documented on the web by many, many users. I had hoped that you resolved this issue in 10.5, but you have obviously not! It looks like I'm going back to 10.4 on my MacBook Pro. Unfortunately, I had defended you and Leopard since it first came out, but I was DEAD WRONG! I REALLY WONDER WHETHER STEVE JOBS TOLERATES HIS MACBOOK PRO DROPPING INTERNET CONNECTIVITY SPORADICALLY! NO, I bet he doesn't. I'm sure his works perfectly well.

    Sorry to hear that. My MacBook's AirPort works flawlessly under 10.5.

  • Can I use other page than "1" as cover?

    Hello
    I would like to start my publication in page 3, instead off 1, to make an visual effect is it posssible?
    Thank you!
    m

    I’m not sure I understand the question.
    Are you saying you want to ignore the first two pages? If so, no, that’s not possible with DPS.
    Bob

Maybe you are looking for

  • Please help, my macbook pro makes beeping sounds.

    My macbook pro keeps making a beeping sound while the sound is turned on, does anyone know why and what to do about it?

  • E73 "fade" effect

    Does anyone know how to get rid of the "fade" effect on the E73 when switching screens between apps and such?  It just seems clunky and slow when it does that.  The E71 doesn't have it and it seemd much "faster". Solved! Go to Solution.

  • How do I remove previous version in Windows Vista?

      I have latest version of Firefox on this PC.  I have Reader Version 10.1.4.38 installed.  I am seeing on my plug-ins that it is telling me that "Version 9.5.1 and lower has been blocked for your protection."  Could that mean there is a previous ver

  • Sync problem post forced reset

    Hi I have an ipod touch and an iphone and until wednesday they both connected to and synced with itunes and all was well. I then paid my £12.99 to update the touch software to 1.1.3, left everything alone and went to work; when I came home therehad b

  • Lion - how get up to date.

    I am still using Snow Leopard but have put Lion on a SuperDuper bootable clone on external drive (Lion has this whole drive to itself). I have just got it up to 10.7.3. The point is, the clone is getting more and more out of date and I am wondering w