Web API Android Studio Kotlin Tutorial | REST

Published: 20 June 2022
on channel: Code With Cal
27,022
367

How to fetch data from a web API and display with in android app using kotlin and android studio. In todays tutorial we build a very simple app that pulls currency data from a web server and we then decode that data from JSON format with gson which is a google plugin. the data is converted from JSON into our kotlin object and then displayed in some text views.

Example API:
https://open.er-api.com/v6/latest/aud

Source code:
https://github.com/codeWithCal/FetchD...

⏱️ TIMESTAMPS ⏱️
00:00 - Intro Web API
00:46 - BenQ Monitor ScreenBar
02:22 - API initial
03:02 - XML layout
04:42 - Fetch Data from API
06:16 - Internet Permission Android
06:55 - Decode JSON

27 inch FHD 1080p Eye-care IPS Monitor:
https://www.benq.com/en-au/monitor/st...

Eye-CareU | BenQ Monitor Software:
https://www.benq.com/en-au/monitor/so...

BenQ Screenbars:
https://www.benq.com/en-au/lamps/comp...

BenQ Screen bar plus:
https://www.benq.com/en-au/lamps/comp...


#AndroidStudio #KotlinProgramming


On this page of the site you can watch the video online Web API Android Studio Kotlin Tutorial | REST with a duration of hours minute second in good quality, which was uploaded by the user Code With Cal 20 June 2022, share the link with friends and acquaintances, this video has already been watched 27,022 times on youtube and it was liked by 367 viewers. Enjoy your viewing!