Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases

How to use MYSQL in android studio?

Hi everyone! I have watch Basics SQL lessons and Reporting with SQL but I didn't figure what should I do to use SQL for an android app. My questions are : how I can use SQL in android and what I have to download? MyWorkbench or something else? Thank for any help!

3 Answers

Jonathan Grieve
Jonathan Grieve
91,254 Points

It looks like Android uses the SQLite syntax.

Here's a tutorial that'll hopefully get you started. :-) http://www.techotopia.com/index.php/An_Android_Studio_SQLite_Database_Tutorial

Well Android rather uses SQLite instead of MySQL .

Hi Jonathan and itai, Thanks a lot for your answer. but I am very confused what I have to download from here http://www.sqlite.org/download.html for windows 7. 64 bit to be ready starting sql in android. I did download the sqlite-dill-win64 but something missing. I delete and download again but can't figure it.... Thanks again.