i have tried to select some part of an image through rectangle and after 
that i have tried to create a bitmap of that selected part

Bitmap b1= Bitmap.createBitmap(bitmapFinal, (int)downx, (int)downy, 
(int)(upx-downx), (int)(upy-downy));

and then i have tried set on imageview 
through imageView2.setImageBitmap(b1);

and through matrix.postTranslate(event.getX() - start.x, event.getY()- 
start.y);

i am moving that image but it is not working.....

Siddharth
On Saturday, April 7, 2012 11:44:06 PM UTC+5:30, Kristopher Micinski wrote:
>
> What did you try to make this happen?
>
> kris
>
> On Sat, Apr 7, 2012 at 1:42 PM, Siddharth Chopra
> <[email protected]> wrote:
> > hi,
> > I want built an application in android in which from an image we select 
> some
> > part of an image and move that part on an image same as we have 
> rectangular
> > selection in mspaint........
> >
> > Regards,
> > Siddharth
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to