I tried sms activity using this link but the problem is that it always gives \"message sent\" how to know if the message is really sent!
here is code
try
I also faced similar NPE scenario but problem at my end was due to wrong phone number.
So you must also check if phone number was correct or not.