1 / 5

MYSQL and SQLite in Android Apps

MYSQL and SQLite in Android Apps. Mike Freedman. Uses. Ability for your app to store new data and receive it later Game Scores Contact information Taking Notes Easily pre-store large amounts of data in your application Trivia Game (Questions and Answers) Random Text Generator.

zelig
Download Presentation

MYSQL and SQLite in Android Apps

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MYSQL and SQLite in Android Apps Mike Freedman

  2. Uses • Ability for your app to store new data and receive it later • Game Scores • Contact information • Taking Notes • Easily pre-store large amounts of data in your application • Trivia Game (Questions and Answers) • Random Text Generator

  3. SQLite and Creating a Database • Download SQLite Database Browser: http://sourceforge.net/projects/sqlitebrowser/ • Create a file name with extension .db • Create basic table for android development:android_metadata • Create fields _id and locale • Add value en_US • Add the rest of the tables like any other database, except be sure to use _id instead of id. • Store database file in the assets folder of the project you are implementing.

  4. SQLite and Creating a Database

  5. Database Helper Complete code can be found on Class Blog.

More Related