Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 02-22-2011, 08:24 AM
CrackBerry Newbie
 
Join Date: Feb 2011
Posts: 1
Likes Received: 0
Thanked 0 Times in 0 Posts
Arrow Reading SQLite DB when Media Card Encryption is enabled

Hello,

My application packages a pre-existing SQLite file as a resource, which it stores at //sdcard/databases/[appName]/db.sql.

My problem is when users have their devices set to encrypt the Media Card, I can put the file on the card but my app cannot access it or decrypt it, and therefore I'm unable to use it.

Is there a way I have my app decrypt the .sql file, or prevent it from encrypting on the card in the first place? This seems like it could be a common use case.

I've found a funky work around by renaming the .sql to .mp3, but again this will only work if the user has Media Files encryption set to "Disabled." This is non-ideal, obviously.
Reply With Quote Tip this Post
  #2  
Old 02-23-2011, 03:30 PM
CrackBerry Addict
 
Join Date: Dec 2010
Posts: 870
Likes Received: 38
Thanked 69 Times in 63 Posts
Default

You would need to let the customer know that it's not compatiable with Media card encryption.
__________________
Currently Developed Apps:

EveryLock,Tapatalk
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Reading SQLite DB when Media Card Encryption is enabled

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes