that right what AndroidUser said, u just create a function to check received
sms in ReceiveSms class or other place which ReceiveSms instance triggering
this function.
On Tue, May 5, 2009 at 10:57 AM, Android Users wrote:
> Hi,
>
> Every msg tat comes will go to the inbox. you can check for the incoming
> msg and if in case it matches ur string,SMS12:Hi! then you can handle things
> accordingly.
>
> There are also options to delete SMS from inbox(in case u dont need them to
> be stored).There are few discussions related to this on groups. You can
> check there.
>
>
> On Mon, May 4, 2009 at 9:38 PM, theMerchant wrote:
>
>>
>> Thank you for your reply.
>>
>> Is it possible to filter out messages? I do not want to read every SMS
>> message for example. If I am sending it to my application such as
>> //SMS12:Hi! I would like to receive it in my application, all other
>> sms messages should go to the phones sms box.
>>
>>
>>
>>
>>
>> On May 4, 2:49 am, Android Users wrote:
>> > Hi,
>> >
>> > Implement a BroadcastReceiver class and perform the functions that u
>> intend
>> > to in the onReceive() method.
>> >
>> > Also, add the class u have implemented as a receiver in the manifest.
>> > Eg:
>> >
>> >
>> > > > android:name="android.provider.Telephony.SMS_RECEIVED" />
>> >
>> >
>> >
>> > you can check this..
>> http://www.anddev.org/recognize-react_on_incoming_sms-t295.html
>> >
>> > Let me know if u need more information.
>> >
>> > On Sat, May 2, 2009 at 1:34 AM, theMerchant
>> wrote:
>> >
>> > > Hello Everyone,
>> >
>> > > I would like to know if anybody knows how I can start my application
>> > > with an incoming SMS message.
>> >
>> > > For example, I send an SMS message from phone A to Phone B. When Phone
>> > > B receives the message, it checks if it is sent to my program. If it
>> > > is, it starts(run) my application. Important thing here is that my
>> > > program is not running in the device unless SMS is received, so it can
>> > > not be listening for SMS itself.
>>
>>
>
> >
>
--
Hira Sirojudin
+628 111988846
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---