Okay, the Google Groups website is doing more harm than good when
trying to fix my links.  :)

The Bitmap method that I was suggesting that you check out is:

createBitmap(Bitmap source, int x, int y, int width, int height)
Returns an immutable bitmap from the specified subset of the source
bitmap.

So, first you create a Bitmap object for the whole image, then you can
get sub-rectangles from it using the above method.

I've never actually done this myself, but from looking at the API I
suspect this would work.

Hope this helps,
-- PJ



On Nov 10, 10:51 pm, PJ <[email protected]> wrote:
> Er, let me try that link again (the spaces screwed it 
> up):http://developer.android.com/intl/fr/reference/android/graphics/Bitma...)
>
> On Nov 10, 10:50 pm, PJ <[email protected]> wrote:
>
>
>
> > An 
> > idea:http://developer.android.com/intl/fr/reference/android/graphics/Bitma...,
> > int, int, int, int)
>
> > -- PJ
>
> > On Nov 10, 2:45 am, Nasir <[email protected]> wrote:
>
> > > Hey,
>
> > > I am new to Android and need your guidence and suggestions on a
> > > problem im trying to solve. I want to divide an image into 4 parts
> > > just like a puzzle game but could not find any tutorials on it. After
> > > an image is divided into parts i need to store  each part in an array.
>
> > > Any idea, please help me in this scenario!!
>
> > > Looking forward for your kind response...
>
> > > Thanks!
> > > Nasir Ibrahim

-- 
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