L4Z4R3
L4Z4R3

Reputation: 25

Can i connect a python server with a kotlin client?

I'm making a cryptocoin app with my friends and i used to make app with python until i got several error on buildozer and python-for-android for days. I can't build apk so i decided to switch to kotlin and curious about something. This app will run with help of a python bot which is running on a server. Can i connect a python server with kotlin client and dump json data sended from python server?

Upvotes: 1

Views: 149

Answers (1)

lbarqueira
lbarqueira

Reputation: 1305

Yes you can. You can consume APIs with Android Retrofit library. In Google official docs you find a codelab on how to use it.

Upvotes: 3

Related Questions