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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:30:42+00:00 2026-06-16T00:30:42+00:00

I have a little problem, with Android application: I need to take a picture,

  • 0

I have a little problem, with Android application:
I need to take a picture, but I need to put a transparent image over the camera display, like overlapped.

There are different ways, (but i don’t know how):

  1. Using the the android camera

    Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
    intent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri);
    intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
    activity.startActivityForResult(intent, Picture.CAMERA);
    

    for this, i should do anything like start this intent transparent, and my overlapped image be under.

  2. Including the camera in my XML, and do the changes that I need, or something like this.

  3. Download a source code of android camera from somewhere, change that like I need, and commercialize my application. (I don’t know if the license lets me do this).

  4. Create my own camera (this will be ugly, and my last choice).

Good ideas are welcome.

Best Regards!

  • 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-16T00:30:43+00:00Added an answer on June 16, 2026 at 12:30 am

    I’ve done this myself — at the time I couldn’t find anyone else that had. You can’t rely on the camera intent for this. The approach I would use is using a camera preview, which you can write in a class, then include in xml in a frame layout. In the same layout include a full screen image view. It takes some fiddling with zorder etc, especially when adding/removing the image.

    Writing a class to control a camera preview might seem daunting, but is actually very straight forward, and gives you a lot more control than simply using the camera intent. See here for more information.

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

Sidebar

Related Questions

I have a little problem when I try to run my Android application. The
I have a little problem... I have made an Android application which extends the
I have a little problem to detect when the application is finished. I need
I have a little problem while compiling an Android application with Eclipse. It says
i have a little problem with my java socket code. I'm writing an android
I have little unusual problem to solve. I need some hint or links to
I've a little problem with my Android Maps Application. So that when I added
I'm trying to implement in app-billing in my application, but I have a little
I'm new here on stackoverflow. I have a little problem with my Android app,
i have a problem, i'm working on a android application for a 7' tablet.

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.