Hi,

I have a problem with the SMS Manager, we are not able to send SMS
from a standard LG mobile phone, where our application has the
following part of the code given below, we are using Android 1.5
version for our
application development, and the mobile phone is using Eclair version
of Android, so does it create any problem?

//////////////////////////
import android.telephony.gsm.SmsManager;
.....
.....
      PendingIntent pi = PendingIntent.getActivity(this, 0,
      new Intent(this, screen5.class), 0);
      SmsManager sms = SmsManager.getDefault();
      sms.sendTextMessage(phoneNumber, null, result, pi, null);
//////////////////////////

And we have not added any broadcast receivers to recieve any error,
and while running app on emulator also it does not produce any error
and on actual phone also it does not produce any error and also the
SMS message is not being received by the recipient, so we do not know
what is happening there.
And when we downloaded a new SMS project source from "http://
mobiforge.mobi/developing/story/sms-messaging-android?
dm_switcher=true"  path try to use the emulator to check the code
using 2 instances of emulators to send and receive the SMS, then we
are getting force close error, we tried compiling on both the versions
of Android 1.5 and Android 2.0 versions, on both we observed that the
import package is getting changed but the error remains the same, its
generating the force close error in both the cases,
So does any body face this kind of issue with SMS manager?
please let us know hot to resolve this issue.

Thanks,
Sai Kiran V.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to