What's the motivation for doing this?

It seems kind of counterintuitive that you'd want to do this, because
presumably if the user *does* send a text, they want a record of it.
It's easy to imagine a spam app which sends tons of texts and leaves
no trace of it for the user to see!

But I'm a little confused by your question: it sounds like you're
talking about *receiving* texts as well?  If you're the highest
priority, you should get the text first, and you should be able to
disable texts from the builtin app (though I think it's a little bit
of a hack).

If you must, however, you can always simply delete that text from the
sent folder on the phone.

Kris


On Tue, Mar 31, 2015 at 5:50 PM, Dan Cha <cuban...@gmail.com> wrote:
> So im working or playing around with sending text/sms from within our app as
> well as receiving replies. We will have the app on both ends(sender and
> receiver devices)
> But right now just prelim testing the messages are sent but they are showing
> up as text within the default text app on the phone.
>
> So even though our app sent the message a copy shows up in the default text
> app as sent.
>
> I have this in the manifest
>         <receiver android:name=".SMSBReceiver" >
>             <intent-filter android:priority="999" >
>                 <action
> android:name="android.provider.Telephony.SMS_RECEIVED" />
>             </intent-filter>
>         </receiver>
>
> But as soon as the message is sent, its received in the default app. How can
> we configure or code our app to send and receive within itself and not
> affect the other text app?
>
> Basically we want to contain the text within the app, anything initiated
> within the app is only to show up in the app and no other sms app on the
> devices.
>
> Is this possible? We dont want copies of the text also showing up in the
> users default text app.
>
> thank you
>
> Now with that said, if someone sends a actually text from outside the app,
> then it should end up where it normally does for the user.
>
> Hopefully that makes sense.
>
> thank you
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to