How to Drop image over image view using fingure touch - android

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

Related

Android Gallery Button Beside Capture Button

can you plesae tell me what can I use to make the gallery widget that is on the left side of the capture button. I am guessing I would need access to the last image captured and an image view and then the person would be taken to the gallery to select the image. Can you please tell me how I should go about that and any references to websites or documentation?
Take a look here. There is answer how to get last picture taken by user and then you can simply set it to your ImageView.

Highlight an background image with touch events(fingers) in android

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.

Android : Imageview with fixed position on next activity

I am developing application where user capture's photo and moves to next activity with captured image. Now in next activity i have already given another image via XML which i am able to move and set anywhere over captured image now what i want is when i press OK button then this activity should move to next activity with captured image and also other image which i have set.
i have done with this but the problem is, i want to Fix the position of other image, example if i have set that image on captured images Nose then it should show on nose for Next activity. I don't have any idea about this. Can anyone tell me how to fix the absolute position of Image or any sample code that might help me.
Here you can see the photo, When i press OK button next activity looks something like this. http://share.pho.to/3wDYP
Basically you need to merge these two images into one. Create a bitmap and add both images into one.
Here is an example answer1 and answer2.
Also This is a very useful Tutorial 1 and Tutorial 2 for you.

Android Simple Gallery Focused Item Issue

I have a gallery that I use to display some ImageViews. I'd like to know which image in the gallery is currently highlighted/focused.
So far, setOnItemClickListener only fires if I actually click on the images. If I scroll through the images, a new image takes focus. I want to know which image that is.
How can I do this?
Get the images number in the list
Get the image (view) it self

Newbie: gallery show only one image each time

I have followed the android gallery tutorial to build a simple gallery which is exactly the same as the tutorial's.
Now, I would like to improve the gallery from the tutorial to show only one image at one time(in the tutorial, several images are showing at once), that's only show one image which occupy the whole gallery area.
Then, only finger touch and move the current image to left or right will make the neighboring next(left or right) image to be shown.
How should I modify the tutorial's code? any suggestions?
You could make the Image the same size as the screen:
i.setLayoutParams(new Gallery.LayoutParams(Gallery.LayoutParams.FILL_PARENT, Gallery.LayoutParams.FILL_PARENT));
i.setScaleType(ImageView.ScaleType.FIT_XY);
This thread might be useful
Android GalleryView Problem

Categories

Resources