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

  • SEARCH
  • Home
  • 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 4028068
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:10:29+00:00 2026-05-20T11:10:29+00:00

Uri imageFileUri = context.getContentResolver().insert( Media.EXTERNAL_CONTENT_URI, new ContentValues() ); Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); i.putExtra(android.provider.MediaStore.EXTRA_OUTPUT,

  • 0
Uri imageFileUri = 
    context.getContentResolver().insert(
        Media.EXTERNAL_CONTENT_URI, new ContentValues()
    );
Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); 
i.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, imageFileUri); 
context.startActivityForResult(i, ImportActivity.CAMERA_REQUEST);

On my samsung Galaxy S (aka Vibrant) When I take a photo using the above method I get two photos in my gallery when I hit save. One is in a default album for photos called “Photos” and the second one being created because of my uri is called “Camera”.

I would prefer photos taken with the above code snippet to not be saved to the default “Photos” and have the album of the ones we save be the name of my app (I.E. “Acme Mobile”). How do I achieve this?

  • 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-20T11:10:30+00:00Added an answer on May 20, 2026 at 11:10 am

    The camera app is developed by the device manufacturer, there is no standard camera app. Whether the picture taken is saved in the gallery as well as your uri path is dependent on the device app implementation. You have no control over it. The best you can do is , after you take the picture you can delete the file in gallery folder and only save your file. Just be careful while deleting files from gallery.

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

Sidebar

Related Questions

void launchImageCapture(Activity context) { Uri imageFileUri = context.getContentResolver() .insert(Media.INTERNAL_CONTENT_URI, new ContentValues()); m_queue.add(imageFileUri); Intent i
Uri mmsUri = Uri.parse(content://media/external/images/media/1); Intent intentMMS = new Intent(Intent.ACTION_SEND); intentMMS.putExtra(sms_body, Hi how are you);
Uri uri = Uri.parse(com.dynamixsoftware.printershare.print); Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(uri); intent.setPackage(com.dynamixsoftware.printershare.print); intent.setType(application/pdf); startActivity(intent);
Simple: Uri uri=Uri.parse(geo:+_lat+,+_lon); startActivity(new Intent(Intent.ACTION_VIEW, uri)); startActivity() crashes my app (I know why). So,
var uri = URL_BASE + myuri string.Format(providers/{0}/items?feed={1}&id={2}&type=cf, provider, feed, zipFileNoPath); var webClient = new
String uri = http://maps.google.com/maps?saddr= + src_lat+,+src_lon+&daddr=+des_lat1+,+des_lon1; Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)); intent.setClassName(com.google.android.apps.maps, com.google.android.maps.MapsActivity);
I have a System.Uri, e.g., var uri = new Uri(http://www.domain.com/foo/bar); How do I get
Is there an Intent URI that sends you to your phones favorite contacts? Just
Uri currURI = new Uri(currentPageToLoad, UriKind.Relative); ExtrasHTMLbrowser.Navigate(currURI); The above code basically is grabbing a
For a resource URI The format is: android.resource://[package]/[res id] [package] is your package name

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.