Interview answers verified by specialists.

Find interview questions and answers on this website:


See right interview answers on 30 common job interview questions

Describe the SmsManager class in android.

SmsManager class is responsible for sending SMS from one emulator to another or device.

You cannot directly instantiate this class; instead, you call the getDefault() static method to obtain an SmsManager object. You then send the SMS message using the sendTextMessage() method:

SmsManagersms = SmsManager.getDefault();

sms.sendTextMessage("5556", null, "Hello from careerRide", null, null); 

sendTextMessage() method takes five argument. 

  • destinationAddress '' Phone number of the recipient. 
  • scAddress '' Service center address; you can use null also. 
  • text '' Content of the SMS message that you want to send. 
  • sentIntent '' Pending intent to invoke when the message is sent. 
  • deliveryIntent '' Pending intent to invoke when the message has been delivered.

Do you know that?

62.9% freelancers are single, 37.1% - married Next

Articles:

Getting payments for Freelancers
1. Read how to register and get earned money

2. Open account within 5 minPayoneer sing up to get free $25