0

I am looking to make an app that will display hundreds of text based pages with images, much like a website in many respects. I will either populate a template activity, or have the layout details within the plain text I store.

My question is, would it be better to store all the text parts in a DB, or in multiple XML files?

Also, if someone were rooted could they read both of them or is one more secure than the other?

4

1 回答 1

1

如果用户是 root,他可以访问 db 文件,我已经做了几次。您可以将资源保存在 raw 文件夹中,然后从那里获取它们。

您可以在此处阅读有关资源的更多信息:

http://developer.android.com/guide/topics/resources/providing-resources.html

于 2012-11-04T18:17:38.200 回答