Re: [android-developers] Simultaneous access to wifi and data connection

2012-06-21 Thread Ralf
Hi Robert, Thanks for taking the time to reply. Will give that a try. Ralf -- 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

[android-developers] Simultaneous access to wifi and data connection

2012-06-12 Thread Ralf
Hi, By the looks of it, android automatically disables the data connection when the wifi connection is active/turned on. Is it possible to use both simultaneously from native code with a stock andoid OS i.e I would like to specify that packet 1 should be sent over wifi and packet 2 over the

Re: [android-developers] Simultaneous access to wifi and data connection

2012-06-12 Thread Robert Greenwalt
Yes you can do this, but it's not super easy at this time. You can cause mobile data to come up but not get the default route (ConnectivityManager.startUsingNetworkFeature(TYPE_HIPRI)). You have to renew that periodically (every 30s I think) as we don't want it up longer than needed or forgotten.