On Tue, Apr 21, 2009 at 12:04 PM, Slater <easwar.satras...@gmail.com> wrote:

>
> Hi,
>
>       I plan to bundle an xml data file that has all the metadata
> required by the application. When my app loads for the first time, the
> xml data file is read and local database is created and populated.
> This xml file is a crucial part of my app and it holds at least 100k
> entries. I don't want this data to be compromised.
>
> Is there a way to encrypt this data file so that the file is
> unreadable in case someone opens the .apk file and extracts the data
> file.


Since the decryption algorithm and key would have to be part of your apk as
well, someone could conceivably decompile your app and get all the
information they need to decrypt the data. So you can't make it 100% secure,
you can only make it less convenient for  someone trying to get the data.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to