Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8447187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:07:27+00:00 2026-06-10T10:07:27+00:00

How can I send sms with wifi on android, with socket or …? I

  • 0

How can I send sms with wifi on android, with socket or …? I would like send message to one emulator to second emulator. How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:07:29+00:00Added an answer on June 10, 2026 at 10:07 am

    This is used for sending message from one emulator to another.

    btnSendSMS.setOnClickListener(new View.OnClickListener()
    {
    public void onClick(View v)
    {
    sendSMS("5556", "Hi You got a message!");
    }
    });
    
    //---sends an SMS message to another device---
    
    private void sendSMS(String phoneNumber, String message)
    {
    SmsManager sms = SmsManager.getDefault();
    sms.sendTextMessage(phoneNumber, null, message, null, null);
    } 
    

    This is used for sending message from one emulator to more than one emulators.

    btnSendSMS.setOnClickListener(new View.OnClickListener()
       {
         public void onClick(View v)
            {
             Intent i = new
                  Intent(android.content.Intent.ACTION_VIEW);
                  i.putExtra("address", "5556; 5558; 5560");
                  i.putExtra("sms_body", "Hello my friends!");
                  i.setType("vnd.android-dir/mms-sms");
                  startActivity(i);
             }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if someone knows why I can't send sms with
I can send SMS to the Android emulator using the telnet command: sms send
I'm developing an application via which one can send sms by directing it to
how can i send sms message to a phone number so that it forwards
Can i send a flash sms from my android handset ? q.2. how to
How can I send an SMS message programatically from an iPhone app? I'm using
I wanna send SMS with JMS and Spring ,How can I do this ?
How can i write code for send SMS with delivery message in Windows Mobile?
I programmly send sms message with | in string, and receiving it android make
I live in Turkey. I can send sms to local numbers with this method:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.