How about trying wifi first?
On Wed, Apr 23, 2014 at 6:37 PM, genedyne <[email protected]> wrote: > For that matter, as the IoT grows, I'd expect there will be plenty of > other situations where the same issue will arise. I really doubt we're the > only ones to be so 'creative' ;-) > > > On Wednesday, April 23, 2014 2:28:14 PM UTC-4, Robert Greenwalt wrote: > >> Q1 - not today. We're working on this. >> >> Q2 - not easily. >> >> Is this a common scenario for you? >> >> Regards, >> Robert >> >> >> On Wed, Apr 23, 2014 at 11:02 AM, genedyne <[email protected]> wrote: >> >>> Here is the scenario: >>> >>> A smart phone is used to interface to a piece of equipment via WIFI >>> (i.e. the equipment provides limited access point capability, and the phone >>> connects to this). >>> An application on the phone wants to send an email. >>> It appears that (at least DEFAULT) behavior on phones is to route email >>> via WIFI if connected, and the cellular provider if not connected via WIFI. >>> Since the WIFI link in this case does not provide internet connectivity, >>> the email SHOULD be routed to the cellular provider. >>> >>> Q1: Is Android smart enough to figure out that the WIFI link is NOT to >>> the internet, and route the email to the cellular provider? If so, is this >>> basic to android, or is it a feature that may or may not exist depending on >>> the version and/or brand? This is the preferred solution, and I've noted >>> Windows can determine if a network has internet access or not (but might >>> know by doing something dumb, like pinging microsoft servers, etc.) >>> >>> Q2: Assuming Android is not 'smart enough' or cannot determine the WIFI >>> link is not internet capable, is there a way for the application attempting >>> to send an email to SPECIFY the email is to be routed via the cellular >>> provider? I'm guessing this is unlikely, as a poorly written (or >>> intentionally badly-behaved) application could rack up $$$ using cell data >>> transfer when a perfectly good WIFI link was available. >>> >>> Thanks. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to [email protected] >>> >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 [email protected]. >>> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

