Trying to see if this topic is related to my research.  Can someone
tell me if these data messages appear or do not appear in the INBOX?

On Nov 11, 3:52 am, tauntz <tau...@gmail.com> wrote:
> This has maybe changed then at some point - last time I tried the same
> filter, I still received all SMS messages that came to other ports
> also.
>
> Tauno
>
> On Wed, Nov 11, 2009 at 1:27 PM, armand dos santos
>
>
>
> <armand.dossan...@gmail.com> wrote:
> > It seems to me that by doing something like this:
>
> > <intent-filter>
> >      <action android:name="android.intent.action.DATA_SMS_RECEIVED" />
> >      <data android:scheme="sms" />
> >      <data android:host="localhost" />
> >      <data android:port="8888" />
> > </intent-filter>
>
> > your application is only notified when a sms is received on the port 8888.
>
> > Armand
>
> > On Wed, Nov 11, 2009 at 9:34 AM, tauntz <tau...@gmail.com> wrote:
>
> >> That one is tricky - Android does not support something like the
> >> PushRegistry in J2ME-land. Also there's no support for listening only
> >> to one specific port and there's also no way to get the destination
> >> port of the SMS via a public API(it's there but @hidden for some
> >> reason..) so you'd have to parse the PDU and get the port from there
> >> manually. That being said, you can listen to all SMS messages, parse
> >> the PDU of each incoming message and see if the destination port
> >> matches the one that you are expecting. But so can other apps.. so
> >> there's no way to ensure that just one specific app gets to know about
> >> an incoming SMS to a specific port.
>
> >> Related feature requests:
> >>http://code.google.com/p/android/issues/detail?id=3826
> >>http://code.google.com/p/android/issues/detail?id=3825
>
> >> (To be honest, I guess somebody inside Google is already working on a
> >> better push solution (eg automate the SMS port thingie and provide a
> >> clean interface for apps to use) - <rant>but that's just speculation
> >> and if it's true, we'll find out about it a week before the devices
> >> with that start to ship.. </rant>)
>
> >> Tauno
>
> >> On Tue, Nov 10, 2009 at 4:29 PM, zero <zeroo...@googlemail.com> wrote:
> >> > port sms maybe ?
>
> >> > On Nov 10, 2:14 pm, "Mark Murphy" <mmur...@commonsware.com> wrote:
> >> >> > If two or more applications are installed on the  phone and those are
> >> >> > using broadcast receiver to listen and some message comes .Now in
> >> >> > case
> >> >> > of push notification how can we distinguish the incoming message is
> >> >> > for which application?
>
> >> >> What exactly are you considering a "push notification" with respect to
> >> >> Android?
>
> >> >> --
> >> >> Mark Murphy (a Commons Guy)http://commonsware.com
> >> >> Android App Developer Books:http://commonsware.com/books.html
>
> >> > --
> >> > 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
>
> >> --
> >> 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
>
> > --
> > 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

-- 
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

Reply via email to