X
X
xxxfdd2021-01-06 22:34:59
Android
xxxfdd, 2021-01-06 22:34:59

How to pass value from android app to server?

I need to transfer a value from an Android application over the Internet to my PC, I know what needs to be transferred to the server first. The first question is: how to transfer from an android application to the server. The second question is which servers can be transferred to at all?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Makhov, 2021-01-06
@Igorgro

You got into android development early. Learn the basics first, then write

O
Orkhan Hasanli, 2021-01-07
@azerphoenix

The first question: how to transfer from an android application to the server

If you have a similar question, it means that your application is client-server.
The client is an android device.
The server is a remote server software.
Here is an important point - at the moment you at least do not have a server part. Those. REST application that runs on the server and allows you to access its endpoints (controller methods) to receive or transmit certain information.
That is, you need to create this application first. If in java, then look towards Jakarta EE, Spring, Play. Or any other framework that might suit you.
The second question is which servers can be assigned values ​​at all?

It is felt that you do not own the basics of the web, otherwise such a question would not have arisen. You can transfer the value to a server that you own / rent. It can be cloud storage - AWS, Google Cloud, Heroku, or maybe some simple VPS (for example, hetzner.com for 3-4 euros per month).
By the way, your computer connected to the network can also act as a server just to play around. It is enough to create a rest application and make it available to the world. Or maybe you don’t need any server ... for example, if the application is for personal use and you just need to transfer data from your phone so that they end up on your computer, then you can use the Yandex Disk or Google Disk API as an option. Upload your data there, and then synchronize them on your computer.
In general, different goals, different implementations ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question