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 8773003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:10:59+00:00 2026-06-13T18:10:59+00:00

I am developing an app that will allow users to capture images of secure

  • 0

I am developing an app that will allow users to capture images of secure documents and upload those images to a server (a good example of what I’m trying to do is a banking app that allows users to take pictures of checks.)

For security reasons, I do not want the image physically stored on disk at any point, if possible.

When I try to do this with the MediaStore.ACTION_IMAGE_CAPTURE intent, it works… but the resolution is very low. I assume this is to prevent overuse of RAM. I’ve looked around for solutions, but all of the ones I found involve storing the image on the SD card or internal NAND storage. I do not want to do that.

If it is not possible to avoid storing the photo, is there a way for the image to be stored to a location only accessible to my app? I would then delete the file after it’s uploaded. And if I have to do it this way, is there any way to encrypt the photo as it’s being stored?

Here’s a simplification of my current code, in case that helps at all:

    Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
    startActivityForResult(intent,requestCode);

and

protected void onActivityResult(int requestCode, int resultcode, Intent data)
{
    if (resultcode == RESULT_OK)
    {
        Bitmap bmp = getBitmapFromIntent(data);
    }
}
private Bitmap getBitmapFromIntent(Intent intent)
{
    Bundle extras = intent.getExtras();
    return (Bitmap) extras.get("data");
}
  • 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-06-13T18:11:00+00:00Added an answer on June 13, 2026 at 6:11 pm

    You can save files directly on the device’s internal storage. By default, files saved to the internal storage are private to your application and other applications cannot access them (nor can the user). When the user uninstall your application, these files are removed.

    String file_path = "/data/data/com.packagename/cache/";
                File dir = new File(file_path);
                if (!dir.exists())
                    dir.mkdirs();
                File file = new File(dir, "1" + ".jpg");
    
                try {
                    FileOutputStream fos = new FileOutputStream(file);
                    fos.write(data); // data in byte format
                    fos.close();
                } catch (FileNotFoundException e) {
                    Log.e("Not Found", "File not found: " + e.getMessage());
                } catch (IOException e) {
                    Log.e("Not Found", "Error accessing file: " + e.getMessage());
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a simple app that will allow users to upload their content. I
Greetings, I am developing a web app. One piece of it will allow users
I'm currently developing an app that will allow the user to choose an app
I'm developing a web app which allows users to upload images. Instead of forcing
I'm developing an app that will allow the user user to view the contents
Synopsis: I am developing a HTML5 web app that will allow tablets(iPad or Droid)
I am developing a web app that will have two parts running on two
I'm currently working on developing a custom keyboard app that will be optimized for
I am developing a web app (using rails) that I will be launching within
We are developing a web app that will have a pretty complex user and

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.