I
I
Ilya Korablev2016-03-23 21:34:49
Java
Ilya Korablev, 2016-03-23 21:34:49

When you click on a button, does it call the API?

Hello.
How to make it so that when you click on a button in an Android application, a method is called from some server?
For example, so that I click on a button, and then my phone accesses the API of my site (site.ru/api?code=123).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zhbert, 2016-03-23
@Zhbert

Well, in the button handler, write a call to the server, for example.
What do you know about event handlers and buttons in general?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question