-3

I am thinking to make book like app which should have more then 100 topic to read. And user can even change language like Hindi or English . Basically it will behave as book. My question is that where should I store that textual data in XML file or in database . If answer is database then how can I change language of textual data in app

FaisalAhmed
  • 3,469
  • 7
  • 46
  • 76

1 Answers1

0

I don't understand what you mean by android book. Anyway if you are asking about how to change the language of your app maybe this link is what do you need:

How can I change language of my application

Community
  • 1
  • 1
FaBioInsolia
  • 96
  • 1
  • 2
  • i want to make app which will contain lots of textual data like story , so where i should store that textual data in xml or in database . if data base then how can i change language to hindi or other language – FaisalAhmed May 24 '16 at 17:28
  • i know how to change language . but in that case data are in xml . So can i store my whole textual data in string.xml file ? – FaisalAhmed May 24 '16 at 17:31
  • I'll probably go for something different; if you are thinking to do an app with a lot of textual data you can choice ether xml or sql... it will be a mess. How about simply store everything in a json file? In that case you have only to correctly change the file to read according to the language and it will be a lot more easy to deal with. – FaBioInsolia May 25 '16 at 08:58