r/android_devs • • Nov 12 '20

Help ML News App

Hello I am a Data science student and a beginner in android dev.I want to create a simple news app(without News api) that retrieves text from a DB and show it in the app.Is there any tutorual that walks you through(surprisingly I didn't find one)?knowing that I need to do some ML on this DB.

0 Upvotes

5 comments sorted by

2

u/KobeWanKanobe Nov 12 '20

Is the DB on the phone ? Or on a server?

1

u/[deleted] Nov 12 '20

On a server.I did not create it yet but it will probably be on a DB related to GCP or aws since I am going to analyse the text on the DB.

2

u/KobeWanKanobe Nov 12 '20

If you're hosting the db on a server, then you probably also need to build your own API as well. There's tutorials around that.

For the app specifically, if you can check out any basic Android starter project on github, it should show you how to call an API using a network library like Retrofit. Once you have the data, you can show it using a RecyclerView.

2

u/reshxtf Nov 12 '20

Just search "Retrofit Tutorial" on Google and you'll get a ton of articles and videos which will explain how you can do that on Android perfectly. Goodluck.