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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:09:09+00:00 2026-05-30T01:09:09+00:00

I am new in android and working on the camera application. In this app

  • 0

I am new in android and working on the camera application. In this app I have one transparent image (Image Frame) in assets folder and I want to show this file as my camera view unlike the native camera view. I am getting the camera view screen with the Image Frame using imageview over surface but unable to merge them as output image file on sdcard. Please help

thanks in advance…

  • 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-30T01:09:11+00:00Added an answer on May 30, 2026 at 1:09 am
                Drawable drbl=null;
                Bitmap topImage = null ;
                Bitmap b=Bitmap.createBitmap(ref_capturedBitmap.getWidth(), ref_capturedBitmap.getHeight(), ref_capturedBitmap.getConfig());
                Canvas comboImage = new Canvas(b);
    
    
                int width = ref_capturedBitmap.getWidth();
                int height = ref_capturedBitmap.getHeight();
    
                Log.v("CameraCaptureActivity","Width : "+width+" Height : "+height );
                if (frameStatus == 0)
                    drbl = getResources().getDrawable(R.drawable.maske1r);
                else if (frameStatus == 1)
                    drbl = getResources().getDrawable(R.drawable.maske2r);
                else if (frameStatus == 2)
                    drbl = getResources().getDrawable(R.drawable.maske3r);
    
                drbl.setBounds(0, 0, height, width);
                Bitmap tpImg=((BitmapDrawable)drbl).getBitmap();
                topImage=Bitmap.createScaledBitmap(tpImg, width, height, true);
    
                comboImage.drawBitmap(ref_capturedBitmap,0f,0f,null);
                comboImage.drawBitmap(topImage, 0f, 0f, null);
                                return b;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new in android and working on an app that captures photo by camera
Hello i m new to android and working on Radio application i gt stuck
I'm new to Android development and working on an Android application that requires the
I'm new on android programming and i'm working on android application and i'm stuck
Hi I'm new to android world.Iam working on an application that supports multiple screen
I am new to android and I am working on an application in which
I am new to android and although I got this working before on a
Hi i'm new android. i'm working through the samples and have an error when
I am working android application my problem is i am using handlers this handler
I'm very new to android development and I'm working on an application where I

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.