I want to create an app where i need to add frames to the images.i don't have any idea regrading this.i got one link where the frames are added to the images.could anybody help me.
Here is the link
@Thanks in Advance!!
I want to create an app where i need to add frames to the images.i don't have any idea regrading this.i got one link where the frames are added to the images.could anybody help me.
Here is the link
@Thanks in Advance!!
Edit: Gallery
OnItemClickListener
frames[]
is array of drawables ie different framesThe following method will combine two images dynamically
You can try different integer values in
where I have put
0
to get needed frame position on the image.There are many ways. A very simple way is that, you can draw your custom frame over your image in a View's onDraw method, then draw the view in a Bitmap. There is another way, write the frame pixels data to image pixels data then combine a new image with frame, you can use openCV or other third libs to decode images.