This exception only occurs in emulator not on actual device. On Feb 3, 2:54 pm, sherry <syang...@gmail.com> wrote: > The parameters are: > > sendTextMessage(sToEmailAddr, null, sMessage, null, null); > > The 4th and 5th parameters sentIntent and deliveryIntent are null, > which were allowed. > > Sherry > > On Feb 3, 2:36 pm, sherry <syang...@gmail.com> wrote: > > > This worked in 1.5 but throw an exception in apk 2.0. > > > WARN/System.err(840): java.lang.NullPointerException > > WARN/System.err(840): at android.os.Parcel.readException > > (Parcel.java:1224) > > WARN/System.err(840): at android.os.Parcel.readException > > (Parcel.java:1206) > > WARN/System.err(840): at com.android.internal.telephony.ISms$Stub > > $Proxy.sendText(ISms.java:369) > > WARN/System.err(840): at > > android.telephony.SmsManager.sendTextMessage(SmsManager.java:87) > > > Any one else experience the same? What should I use to send a SMS to > > an email address? > > > Thanks. > > > Sherry
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en