Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6852069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:19:36+00:00 2026-05-27T01:19:36+00:00

I am developing an application for Android 2.2 that lets the user purchase and

  • 0

I am developing an application for Android 2.2 that lets the user purchase and download images from web server.Once he downloads these images, only this application should be able to view these images. One of the possible way I could think of was to encrypt and save the images in the SD card.

But,my concern is that, even after encryption, these files will be visible for file explorer applications(which can delete/rename/move the files). Is it possible to store these files in SD card in such a way that, it is not visible to other applications?

There is a forward locking functionality in BlackBerry(http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/io/file/ExtendedFileConnection.html.Once) the file is saved onto sd card using this method, it will be visible only to the corresponding application and device.Is there something like that for android?

Will it be advisable to store the images in sqlite database.The database file is not visible to other apps in the phone.(PS: There will be large number of images)

Is it possible to save the image files as .asec files. Is there any api that convert a file to .asec format?I understand .asec files won’t be shown by File explorers.

Please could you direct me or suggest an ideal solution for this scenario.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:19:36+00:00Added an answer on May 27, 2026 at 1:19 am

    There is a solution to store the data on the SD-Card in a way that makes it impossible to see the files in an on device file viewer on a non rooted phone.

    The solution is to save the data in your apps data folder and activate the automatic location choosing for your app in the manifest. This lets the user choose where to save the app external or internal and all the images are inside the private folder that is owned by the app.

    There is only one drawback. The user can delete all files through the app manager. She will be warned that this will may break the app but if there is no way to redownload images the user will loose all purchased items if the app gets deleted or the user decides it would be a good thing to delete the app data.

    On a rooted phone however the images can be copied away from the private folder. Therefore you should think about encrypting the image in some way. Encrypting however is not that easy because the user can always try to extract the encryption key from your sourcecode or network traffic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an android application that receives data about events from a server.
I'm currently developing an Android application that fetches images using http requests. It would
im developing an Android application for twitter that will sync data coming from the
I am developing an Android application that connects to a TCP server to upload
We are developing an Android Application to download files from Google Doc.We were able
I am developing an android application that can send email. This following code lets
I'm developing an augmented reality application for Android that uses the phone's camera to
I am developing a mobile web application (for iPhone & Android) with a local
I'm developing an Android application that I'd like to be compatible with 1.5 (SDK
I'm developing an Android Application that has three very similar Activities. I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.