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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:06:20+00:00 2026-05-28T07:06:20+00:00

my device is samsung s first image is saved in sdcard/DCIM second image is

  • 0

my device is samsung s first image is saved in sdcard/DCIM second image is saved in sdcard/mydirectory
why???

and what should i do? i dont want first image

here is my code

Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);    
intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(getTempFile()));    
startActivityForResult(intent,TAKE_PHOTO_CODE);

..

private File getTempFile(){
  File root = new File(Environment.getExternalStorageDirectory(),"universalmemo/"+"data/"+"memo/"+"picturememo");
  if(!root.exists()){
    root.mkdirs();
  }
  File file = new File(root,getDateTime());
  return file;
}

..

    protected void onActivityResult(int requestCode, int resultCode, Intent data) {     
    Intent intent2 = new Intent();
    if(requestCode == TAKE_PHOTO_CODE && resultCode == RESULT_OK){

        intent2.putExtra("Filename", datetime);
        setResult(RESULT_OK,intent2);
    }
    else setResult(RESULT_CANCELED,intent2);
    finish();           
}

..

thank you for your help

  • 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-28T07:06:21+00:00Added an answer on May 28, 2026 at 7:06 am

    this is a galaxy s problem , you have to deleted image that create in folder that you don’t want by deleted last file

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

Sidebar

Related Questions

I have a device driver I want to patch. This device driver calls IOLog
I'm following this tutorial: ExpandableListView But in my device (Samsung Galaxy S i9000) the
I am sending data from one device to another (Samsung Tab and Sony Xperia).
I've connected my Samsung Galaxy Tab device to my Mac. Yes, I've turned on
My Samsung Galaxy Gio s5660 doesn't seem to want to run my AS3 project
I want to connect samsung GT-19100 to my windows7 pc for testing. When i
I'm looking into purchasing the new Samsung Intrepid Windows Mobile 6.5 device. Before I
My application gives an anr while debugging on my Samsung Galaxy Tab. The device
I want to test an app on a smallscreen device but all I have
Device: Samsung Galaxy Tab I followed this guide: http://developer.android.com/resources/articles/window-bg-speed.html I put the background image

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.