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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:39:51+00:00 2026-06-03T22:39:51+00:00

I am making an android app that uses the inbuilt camera in the tablet/phone.

  • 0

I am making an android app that uses the inbuilt camera in the tablet/phone. I need help with making the picture I just took “editable”. The idéa is that the user can draw things on the pictures, like you do in paint and then be able to save the picture with these drawings on it.

What do I need to do to make this possible?

The backbone for the code is #38-#41 from: http://thenewboston.org/list.php?cat=6

My main class looks like this: http://pastebin.com/FH0J7u1A and I have a button and an imageview in my layout xml file. When I press the button the camera launches and I can save a picture that is then saved in the imageviewer.

  • 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-03T22:39:53+00:00Added an answer on June 3, 2026 at 10:39 pm

    This is a very vague question, but I understand because I wondered the same things six months ago. Sadly, vague questions get vague answers, and the bottom line is that no one person on SO is going to write this code for you. You have a lot of research to do yourself. Here’s a basic description of how I would get started.

    First look into tying the app in with the camera. This is pretty easy, there’s an intent you can call and onActivityResult you can receive the path to the file of the image they took.

    The layout of your edit activity to edit the picture will have to have a Canvas object, and you’ll probably need some buttons underneath or above it for them to pick their drawing tool.

    The Canvas of the layout has to be implemented in a separate class, and it needs to implement runnable. This requires you making a run() function in the Canvas class, and inside of that you’ll have a loop. Through each iteration of that loop, you’ll clear the canvas, draw the picture using drawBitmap() to fill the screen, and then draw everything that the user has drawn.

    Now, in the edit activity you’ll have to implement a touch listener. This will require you making a onTouch() method that will give you a MotionEvent telling you where and how the touch occurred. Each time the screen is touched you’ll want to look at the tools they currently have selected, and add it to the drawing that is painted on the Canvas.

    When they’re done, save the result of the Canvas. I am not saying that this is the best way to create the app that you have in mind, and I am by no means an expert. This is just a suggestion of where I would start thinking as a beginner.

    Like I said, you have a lot to learn! I recommend searching for any terms you don’t understand or widgets you haven’t heard of that I mentioned, and looking at tutorials related to them. Somebody mentioned newboston and they’re right, he has good tutorials. I also recommend some books from Apress, particularly I’ve referred heavily to “Beginning Android Games” for anything involving Canvas interaction.

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

Sidebar

Related Questions

I'm making an android 1.6 app that uses phone's camera. In order to do
I am making an android app that uses a webview to visit a website.
So I'm making an Android 2.2 app that uses GLSurfaceView. My question is, since
I’m making an android app, which uses Google maps. One functionality is that the
Im making an Android app that communicates with a server. When the Android-phone receives
I am making an android app, and for that app, I need to read
So I'm making an android app that has more than 100 buttons,but you know
I'm making a Android app that basically plays video from a website on the
I'm making an Android app that tracks a user and displays their location in
I'm making Android app that has this database in it: public void onCreate(SQLiteDatabase db)

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.