×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    33

    can i get push registry sms content

    hi all,

    I used push registry to awake my application when an sms recieved on its port

    but my application doesn't recieve this sms, i.e. notifyIncomingMessage() doesn't notfiy the application with this sms.

    can i get this sms and how ?

    best regards,

    ahmed.

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: can i get push registry sms content


  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    3

    Re: can i get push registry sms content

    Hartti>
    I've read the links You posted. An I've done exactly as You wrote.
    Here's some of my code:
    public void startApp()
    {
    String connectList[];
    // Was the MIDlet started by an incoming connection?
    connectList = PushRegistry.listConnections(true);
    if (connectList == null || connectList.length == 0)
    {
    // Started by the user, exit
    destroyApp(false);
    notifyDestroyed();
    }
    else // Started from an incoming connection
    {
    try{
    //receive a message
    //incomingConnection = (MessageConnection) Connector.open("sms://:" + incomingPortNum);
    incomingMessage =(TextMessage) incomingConnection.receive();

    As You can see I use the connector.open(..) but still nothing happends when I'm trying it on my phone (6600). In the emulator (WTK2.2) it works fine.
    Can You help?

    Zkov

Similar Threads

  1. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  2. Push Registry Problem..SMS Demo
    By dhamodharan in forum Mobile Java General
    Replies: 2
    Last Post: 2005-11-24, 00:32
  3. SMS Push registry and receive
    By ExitGames in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2005-08-19, 15:26
  4. push registry with sms. 6600
    By ronniedjames in forum Mobile Java General
    Replies: 3
    Last Post: 2005-06-01, 09:31
  5. push registry and sms
    By matrix241 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-12-18, 17:13

Posting Permissions

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