Hi,
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...
Regards,
Astrlz
Snapper67 wrote:Artur79 wrote:After sending SMS via Emulator I had following return in LogCat so works but there are still some errors.
Need to remove the line
Using java Syntax Highlighting
this.abortBroadcast();
Parsed in 0.034 seconds, using
GeSHi 1.0.8.4
This is a normal broadcast and can not be aborted.