Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2009

    Java sending data to Nokia Phone

    Hi I'm trying to send AT Commands (or any other commands if there are any...) to my Nokia 2600. I want to receive unread messages so I've tried :


    These commands where send in a hyperterminal, where other commands like sending messages and getting manufacturer data was succesfull so the connection isn't the problem. Can someone give me the proper codes? Thank you in advance!

    Also I have this Java program, to try and send data to a phone, I trying to do so via Bluetooth and I have the phone's bluetoothaddress. But the program always echos what I'm sending. Here is the code :

    import javax.bluetooth.*;
    import javax.microedition.io.*;
    import java.io.*;

    public class BluetoothConnection {

    public static void main(String[] args) throws URISyntaxException
    StreamConnection conn = (StreamConnection)Connector.open("btspp://001FDFC57E65:1");;
    byte buffer[] = new byte[100];
    OutputStream out = conn.openOutputStream();
    InputStream in = conn.openInputStream();
    int count = in.read(buffer);
    catch(IOException e){
    System.out.println("sorry you are screwed!");

    Again thanks a million times!

    Greetings Jelle

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    You first question is answered several times in the General Messaging section, additionally in your other thread …

    For your second one, please let us continue in your original thread …

Similar Threads

  1. Java Compability
    By emax73 in forum General Development Questions
    Replies: 0
    Last Post: 2004-07-12, 14:56
  2. Nokia PC Connectivity能否链接到cdma手机上发送短信和其他操作?
    By bborn in forum Web Technologies and Multimedia Content- Web 技术和多媒体内容
    Replies: 2
    Last Post: 2004-05-04, 11:06
  3. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05

Posting Permissions

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