How to setup http/https proxy for an app in Android P?

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

We use reflection (to notify ProxyChangeListener) for setting up an http/https proxy, besides setting system properties (http.proxyHost & http.proxyPort). Since android P doesn't support reflection, we can't use the current solution in future. Does anyone have an idea on this? Is there any new APIs exposed from android system for this?
 

Trending Posts

Forum statistics

Threads
936,843
Messages
6,880,402
Members
3,155,492
Latest member
GuilleFA