Posts by Wígny Almeida • 13 points
3 posts
-
1
votes1
answer115
viewsQ: How to stop a service?
I created a VPN connection in my app through a service, at the click of a button, the connection is made. But now I want to know how to do the reverse, IE, by clicking the button disable this…
-
0
votes3
answers345
viewsA: Get external IP in Java - Android Studio
For the purpose of solution, I have done as follows: import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import org.jsoup.Jsoup; import…
-
0
votes3
answers345
viewsQ: Get external IP in Java - Android Studio
I want to get my external IP by clicking a button in my app, but every time I click the button, the app closes itself. How can I do that? My code: public void onClickBtnAtualizar(View view) throws…