Hi all, I've searched the Internet and also this group for new/updated information about this feature but I cannot find anything new. I'm not sure this is the right group but I'm writing in the hope to shed some light on this topic.
My use case is quite simple: I've a device which provides data via a WiFi connection. Such a device is NOT connected to the Internet so that when I gather information from it I cannot e.g. connect to a web service. Activating tethering solves the issue: the device connects to the Android device which maintains the connection to the Internet. Using tethering is not a task for all users and I would like to investigate if it would be possible to combine WiFi connections and mobile data connection. According to what I've read the ConnectivityManager could be used to specify network preferences via the method setNetworkPreference. The method is currently deprecated. The documentation says: *This method was deprecated in API level 21.* Functionality has been removed as it no longer makes sense, with many more than two networks - we'd need an array to express preference. Instead we use dynamic network properties of the networks to describe their precedence. What's the meaning of this sentences? I cannot find any information about that. Summarising: 1) As of android 6, how can we use dynamic properties for network preferences? 1) In general, is there any way to force data sending on mobile data connection while WiFi connection is active? Or is it impossible due to platform constraints? Thanks in advance for your help, Br, F. -- 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]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/9af3ebc9-8972-468b-a433-a4cb1b8aa342%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

