1

I am replacing Webview with Chrome CustomTab in android application, using ConnectivityManager class i was able to send traffic though 4G/ Mobile Network in Webview.

Something similar to this post- How to use 3G Connection in Android Application instead of Wi-fi?

Now when using Custom Chrome TAB i want to do same - ConnectivityManager switches network to MOBILE network before making network call, but looks like same approach is not doing our work.

Appreciate your help here.

Thanks

Community
  • 1
  • 1
Manisha
  • 813
  • 13
  • 24
  • 2
    Since Chrome custom tabs are not implemented in your app, I doubt that you can control this. Chrome will do what Chrome wants to do. – CommonsWare Feb 13 '17 at 19:29
  • Right, Only approach here i can think is Turn off the Wifi before call (not ideal thing to do) and turn it back on. Thanks for reply @CommonsWare. – Manisha Feb 13 '17 at 19:31

0 Answers0