I am new in Android and I'd like to know to highlight and image using touch event (using my finger). My approach is the next:
App use a image that is used as background, it contains text to be highlighted.
User highlight that image using his/her finger
I don't like to write directly over the image. I'm thinking in something like "Layers".
If is possible user should zoom the image because the image could be too large 5mp (the image is captured by the device camera)
I don't like to save the layer that contains the highlight because I actually need is have coordinates to have a box that will be used to extract information from the background image.
I hope someone could help me.
Related
I have an application that gets image (from gallery or camera) and then I open this image in some Activity. Then I want to draw shapes on this image on tap, these shapes (once drawn) can also be dragged around over the image and removed. After drawing user can save this image with shapes so it can access them later from the application at any time.
I have managed to make image import form gallery or camera to my activity.
My question is I just want a summary of how would this need to be constructed in order to work? How would I save images with shapes and their positions so they are accessible later? I would also have an activity (I guess?) in my app which would show thumbnails of all images edited so far. I have attached some images for reference (first image is image edit screen, second image is showing thumbnails edited for far, each can be accessible for edit again).
I am a beginner so please bear in mind.
Recently, I found a app that captures only the images within the boxes like the image below. Should I use a SurfaceView ? or are there some other technique to do this ? I made a camera app with surfaceview and thinking about implementing a blue box like the image below so that I can take the images within the 2 blue boxes.
You can captures the whole image, but just crop the target area after capturing. :)
I am working on an app in which i need to set an image when app starts, and then user can erase that image to look covered image under erasable image. I am new in android, please help.
I am very much new this issue.I want to make application like this.look at the image below,This is a brief summary of my requirement.
ok so top there is a image view.After user capture image from camera in OnActivityResult I am displaying captured image on main image view. Below that image view there is a HorzontalScrollView, Inside HorzontalScrollView i have put couple of images,like hat,spects etc...
ok so What i want is, user should be able to drag any image from HorzontalScrollView and can be able to put that small image on main image view.
Any guide/tutorial will be appreciated from guys who have worked on such functionality
Thanks
I want to produce moving effect in the background image of Android Live Wallpaper it seems like moving corresponding to other images ,i am using a single image (NOTE: It's not moving cause of user swap so can't use onOffsetChanged()). Can anyone Provide me with some code or anything.