I am currently trying to send SMS to a particular port of application
in Android Emulator. I am using the function sendDataMessage function
of SMSManager class. The SMS apparently never gets to the required
port of the application or the Inbox of the phone (Although the Text-
based Messages are received properly) . I am using the following
permissions on the receiver side of the application (found on one of
the threads of this group):
<receiver android:name=".YourBroadcastReceiver">
    <intent-filter>
        <action
android:name="android.intent.action.DATA_SMS_RECEIVED" />
        <data  android:scheme="sms"/>
        <data android:host="localhost"/>
        <data android:port="your port"/>
    </intent-filter>
</receiver>

Can anyone please help me out with alternative or correct me for
possible errors.

Thanking in advance...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to