To route through hipri you will need to call requestRouteToHost, specifying the hipri network type and the ip addr of the host you're trying to reach.
On Sun, Apr 29, 2012 at 6:42 AM, Med Chakib <[email protected]>wrote: > Hello, > I have tried your method to use 3G and WIFI simultaneously, however data > is still routed through WIFI even though HIPRI connection is successfully > initiated and traffic to ipAddress is routed through it. > > connMan = (ConnectivityManager) getSystemService(Context.** >> CONNECTIVITY_SERVICE); >> int res = connMan.**startUsingNetworkFeature(** >> ConnectivityManager.TYPE_**MOBILE, "enableHIPRI"); >> boolean reqRes = connMan.requestRouteToHost(** >> ConnectivityManager.TYPE_**MOBILE_HIPRI, ipAddress); >> > Socket soc = new Socket(ipAddress,port); > > ... > > > Any help through this problem ? > > -- > 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 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

