Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How to add a database inside an Android application

android sql database

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 jasonalien

jasonalien

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 194 posts

Posted 18 August 2015 - 01:20 AM

Hello fellow coders,

I have made a dictionary app that communicates with a database in a server using a webservice. Now my boss wants me to embed the database inside the app so that offline users can also use the dictionary.

Can you give me some advices on how to do that?

How can I add whole database inside an app?

Should I create an XML for respective database tables?

Is SQLite an option?

I'm open to any advices and suggestions.

Thanks in advance.



#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 27 August 2015 - 08:49 AM

What platform are you targetting? How big a database are you planning on? etc, etc, etc.


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/