title: UTF 8 encoding in Android SMS app
body: <p>I am working on writing  creating a new app which will send messages to any mobile device native SMS app. </p>
  
  <p>while sending messages, instead of ASCII, I am using some UTF-8 encoding characters which are being replaced in between few ASCII characters of a string.</p>
  
  <p>I am facing an exception while sending the message after giving the recipients number. The above utility method will look up for corresponding UTF code, when I send on button click, 
  following exception comes:</p>
  
  <pre><code>java.lang.NullPointerException
  android.telephony.SmsMessage$SubmitPdu.&lt;init&gt;(SmsMessage.java:168)
  android.telephony.SmsMessage.getSubmitPdu(SmsMessage.java:1114)
  android.telephony.SmsManager.sendTextMessage(SmsManager.java:248)
  android.telephony.SmsManager.sendTextMessage(SmsManager.java:122)
  com.mastpro.dpsu.stegosms.SendCipherMsgActivity.onSendClick(SendCipherMsgActivity.java:60)
  </code></pre>