×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    May 2009
    Posts
    63

    How can we send sms after a specified TIME.

    Hi All,


    How can we send sms continuously after the specified time such as "send sms after every 30 seconds".
    Please provide a piece of code for the same.


    Thanks
    Rahul

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How can we send sms after a specified TIME.

    Hi Rahul,

    Look in FNWiki for code of example of sending SMS on birthday.... and reuse it.

    http://wiki.forum.nokia.com/index.ph...arm_in_Java_ME

    You will get all the code there ......

    enjoy

    thanks,
    ~Amitabh

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204

    Smile Re: How can we send sms after a specified TIME.

    Hi Rahul,

    other than what im2amit said you can use a timer task to send sms's to a specified time

    cheers,
    Randika

  4. #4
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Thumbs up Re: How can we send sms after a specified TIME.

    hi yes you could send sms after each 30 sec. im2amit gave you a usefull link, read it, you simply need to create sms connection and send a message normally, and for repeation, simply use pushreg, PushRegistry.registerAlarm( MIDletname, System.getCurrentTimeinmilis+30000 );
    .
    Thanks and Regards,
    Manjul.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How can we send sms after a specified TIME.

    Send an SMS wait try Sleep.Thread(30seconds) and send the other SMS.

    thanks,
    ~Amitabh

Similar Threads

  1. Replies: 9
    Last Post: 2010-08-03, 07:03
  2. AT commands to send sms from pc by n70
    By cristiandaffy in forum Wired and Wireless interfaces (Closed)
    Replies: 0
    Last Post: 2007-12-07, 15:38
  3. Use WiressToolkit2.0 to send SMS to N3650 emulator.
    By akokchai in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-31, 08:46
  4. Replies: 1
    Last Post: 2002-07-23, 14:39
  5. Track if a sms is a response to a sms I send
    By tuender in forum General Messaging
    Replies: 1
    Last Post: 2002-07-19, 07:47

Posting Permissions

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