[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Kirk - Actual Metrics
Hi Slater, You could write a Java util to encrypt the file, then use the same algorithm and key to decrypt it in your android app before reading. Kirk On Apr 21, 12:04 pm, Slater easwar.satras...@gmail.com wrote: Hi,        I plan to bundle an xml data file that has all the metadata

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Marco Nelissen
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

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Yusuf T. Mobile
From what I understand, your requirements are: - your app uses data that it puts in a database during setup - the end user should not be able to access this data, except through your app's UI Possible cracks would then be Marco's decompilation idea, or inspecting the database. Without knowing

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread strazzere
Yusuf makes good suggestions. My personal suggestion would be to include it in a class file of your java program, then obfuscate your code. If your attempting to prevent compilation this is your best bet. On Apr 21, 5:32 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: From what I