Android set proxy address and port

I want to set network proxy in my android app,how to set proxy address and port on Android device?
My Android SDK`s version is 5.2.42043.1112

Hi @homellc123, thanks for the post.

Setting a proxy on an Android device can be done through the device’s network settings and does not require using the SDK. Is there something that involves the SDK which you are trying to accomplish related to using a proxy?