×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    12

    how to send sms to multiple emulators?

    I want to send sms message to different emulator with different ph no simutaneously?
    How can I do like that?

    if different emulator with different ph no is not possible, can I open emulators that is the same kind & have the same ph no, but showing two emulators?

    What I would like to do is, when I click send sms command, I want to send a message to multiple recipients.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send sms to multiple emulators?

    Quote Originally Posted by 7.light View Post
    I want to send sms message to different emulator with different ph no simutaneously?
    How can I do like that?

    if different emulator with different ph no is not possible, can I open emulators that is the same kind & have the same ph no, but showing two emulators?

    What I would like to do is, when I click send sms command, I want to send a message to multiple recipients.
    1. You have to make some sort of approach of entering/adding the recipient numbers and you keep on adding the entered numbers in some array of vector, separated with some identifier like # or $.Now when you going to send the SMS you have to set the address and payload (if you want to send different SMS to the every user) inside the loop up to the size of the vector/array.

    Please note that the iteration of the loop must be started once the previous SMS has been sent, I mean the call to the con.send() has been returned.

    2. That is possible and is the common rule once you ran the emulator’s multiple times

    3. May be search on the web help you with some code segments? So search the web for this.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

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

    Re: how to send sms to multiple emulators?

    Sending SMS to different ph no simutaneously
    In J2me, using Message connection, you can send SMS to 1 number at a time and not all different no's simutaneously.... thus you need to start multiple threads to do this or do it in loop 1 after another in a single worker thread.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  4. #4
    Registered User
    Join Date
    Jul 2010
    Posts
    12

    Re: how to send sms to multiple emulators?

    yes, I use for loop to send message to different ph no.
    The problem is that I know only one ph no because there is only one ph no for one emulator and we can use only one emulator at a time.

    I have searched using google and no info was found.

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send sms to multiple emulators?

    Quote Originally Posted by 7.light View Post
    yes, I use for loop to send message to different ph no.
    The problem is that I know only one ph no because there is only one ph no for one emulator and we can use only one emulator at a time.

    I have searched using google and no info was found.
    You did't get it..
    You run the multiple receiver instances by running the receiver multiple times, so at the header if the emulator there will be a number so you keep on entering the number at the sender and keep on fetching the number from where you add the same like vector or array, see if this works.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

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

    Re: how to send sms to multiple emulators?

    The problem is that I know only one ph no because there is only one ph no for one emulator and we can use only one emulator at a time.
    You can launch the same emulator multiple times and you will see that they all have different numbers, now you can send SMS to these multiple numbers.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  7. #7
    Registered User
    Join Date
    Jul 2010
    Posts
    12

    Re: how to send sms to multiple emulators?

    how to launch the same emulator?
    run the project again?
    If I run the project again, it said that MIDlet is already running.
    There are many emualtors such as defaulfcldcphone1, phone2, but they all have just no 987654321

  8. #8
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send sms to multiple emulators?

    Run with the Sun Java WTK and see if this works
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. how to send and recieve sms in emulators
    By Gowri in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-06-17, 08:28
  2. Send Multiple SMS
    By philank in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-08-06, 06:55
  3. Replies: 1
    Last Post: 2004-11-23, 13:57
  4. Send SMS in emulators?
    By mibuyt in forum Mobile Java General
    Replies: 10
    Last Post: 2003-09-28, 19:20
  5. SMS AT Commands to send same SMS to multiple recipient
    By BDucker in forum General Messaging
    Replies: 1
    Last Post: 2003-02-06, 07:08

Posting Permissions

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