So with gcm it mentions going thru our servers, so does that mean we have to host something? On Mar 31, 2015 9:02 PM, "Kristopher Micinski" <krismicin...@gmail.com> wrote:
> The usual way to do this sort of communication between apps on > different devices is to use a push notification. An example would be > Google Cloud Messaging, or Parse. > > SMS would be possible, but just seems like a suboptimal solution when > things like GCM were designed to do exactly this: there are already > APIs and demos out there to handle this kind of communication. > > Kris > > > On Tue, Mar 31, 2015 at 9:36 PM, Daniel Chacon <cuban...@gmail.com> wrote: > > Well it's company phones with unlimited texting as well as > > tablets. How would aidl, content providers or intent work between > > them and office's miles apart? > > This is a internal office app , if sms is not the way, then we > > need a more optimal method. > > > > On Mar 31, 2015 7:01 PM, "Kristopher Micinski" <krismicin...@gmail.com> > > wrote: > >> > >> Using SMS to communicate *between* apps on the phone!? > >> > >> You should 100% *not* be doing that. It's bad design, and it could > >> potentially cost your users money (if they pay for their texts). > >> > >> You can use an intent, content provider, or AIDL, and it will be way > >> easier and much more obvious how to deal with than trying to hack it > >> like this. > >> > >> Kris > >> > >> > >> On Tue, Mar 31, 2015 at 7:31 PM, Daniel Chacon <cuban...@gmail.com> > wrote: > >> > First it seemed easier to use sms to communicate between the apps. > This > >> > will > >> > only be used internally, so no public version. If there is another way > >> > to > >> > communicate only within the app that will work also, basically don't > >> > need to > >> > have the messages in 2 places, right now when I send a message it's in > >> > the > >> > app and also in the default text app. Since the priority is set high, > >> > is > >> > there a way to stop the message from moving onto the default app? > >> > > >> > On Mar 31, 2015 5:51 PM, "Kristopher Micinski" < > krismicin...@gmail.com> > >> > wrote: > >> >> > >> >> 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. > >> > > >> > -- > >> > 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. > > > > -- > > 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. > -- 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.