Android Question Android does not want to send to the Internet

Darsiar

Member
Hello everyone!
We are new to this place.
Our questions are not smart, because before we only worked on C # and F # VS 2017-2019

Now we have tried more than 12 different examples from this forum, in which Android sends something to the Internet or itself accepts direct access from the Internet.
We have a STATIC IP on the phone.
None of them work.

What are our tips?
Thank you all
 
Last edited:

JohnC

Expert
Licensed User
Longtime User
If you are running on an Android 8+ device and are trying to communicate with a non-ssl website (HTTP and NOT HTTPS), then you need to add this to the manifest so the app can make HTTP connections:

SetApplicationAttribute(android:usesCleartextTraffic, "true")
 
Upvote 0
Top