Perhaps someone has already encountered this problem. I want to see what traffic goes from the device to the network. And if this is HTTPS traffic, then decrypt it and see what is there. I know somehow it can be done with the help of VpnService but I did not find any clear examples or OpenSource projects. Tell me how this can be done, and if there is an opportunity to share the code.