Re: [android-developers] How to draw a Bitmap Image?....

2009-12-02 Thread Hong
if it's a snake game, the source codes are in android sdk samples folder,
lol

On Wed, Dec 2, 2009 at 2:43 AM, Sasikumar.S wrote:

>
> Hi,
>
> think u r creating a snake game.
> In that one bitmap[0](1.png) image is there. If the bitmap[0](1.png)
> touches the another bitmap(2.png).
> Suddenly it will create one more bitmap[1](1.png). Like that i need...
>
>
>
> On Wed, Dec 2, 2009 at 1:08 PM, SoftwareForMe.com SoftwareForMe.com <
> softwareforme@gmail.com> wrote:
>
>> I'm sure people would be happy to help, but your question is not clear.
>>
>> Can you explain more fully? Why do you want multiple copies of the same
>> image?
>>
>> SoftwareForMe.com
>> Makers of PhoneMyPC
>> & Imagine Multitouch
>>
>>
>> On Tue, Dec 1, 2009 at 9:58 PM, Sasikumar.S 
>> wrote:
>>
>>> Hi,
>>>
>>> Thank u sathya.
>>>
>>> Its working fine.
>>>
>>> Now i need ,
>>>
>>> I want to create a bitmap array.
>>> I want to create a button.
>>> When i click that button, the bitmap array should create a bitmap image.
>>>
>>> Note: only one bitmap image(sample.png)... when i click the button it
>>> should create the same bitmap(sample.png) one more time..
>>>
>>> can u pls help me?
>>>
>>>
>>>
>>> On Wed, Dec 2, 2009 at 11:01 AM, sathya subbiah <
>>> sathya.subbia...@gmail.com> wrote:
>>>
 Hi,

 Pls find the code snippet below

 mButtonImage =
 BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon);

 canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null);

 In case of resizing bitmap use matrix.



 On Wed, Dec 2, 2009 at 12:24 AM, Sasikumar.S <
 sasikumar.it1...@gmail.com> wrote:

> Hi,
>
>
> Any one know about how to draw a bitmap image?...
>
> thanks in advance
>
> --
> Thanks & Regards
> Sasikumar.S
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to
> android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>> Sasikumar.S
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Thanks & Regards
> Sasikumar.S
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to draw a Bitmap Image?....

2009-12-01 Thread Sasikumar.S
Hi,

think u r creating a snake game.
In that one bitmap[0](1.png) image is there. If the bitmap[0](1.png) touches
the another bitmap(2.png).
Suddenly it will create one more bitmap[1](1.png). Like that i need...


On Wed, Dec 2, 2009 at 1:08 PM, SoftwareForMe.com SoftwareForMe.com <
softwareforme@gmail.com> wrote:

> I'm sure people would be happy to help, but your question is not clear.
>
> Can you explain more fully? Why do you want multiple copies of the same
> image?
>
> SoftwareForMe.com
> Makers of PhoneMyPC
> & Imagine Multitouch
>
>
> On Tue, Dec 1, 2009 at 9:58 PM, Sasikumar.S wrote:
>
>> Hi,
>>
>> Thank u sathya.
>>
>> Its working fine.
>>
>> Now i need ,
>>
>> I want to create a bitmap array.
>> I want to create a button.
>> When i click that button, the bitmap array should create a bitmap image.
>>
>> Note: only one bitmap image(sample.png)... when i click the button it
>> should create the same bitmap(sample.png) one more time..
>>
>> can u pls help me?
>>
>>
>>
>> On Wed, Dec 2, 2009 at 11:01 AM, sathya subbiah <
>> sathya.subbia...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Pls find the code snippet below
>>>
>>> mButtonImage =
>>> BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon);
>>>
>>> canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null);
>>>
>>> In case of resizing bitmap use matrix.
>>>
>>>
>>>
>>> On Wed, Dec 2, 2009 at 12:24 AM, Sasikumar.S >> > wrote:
>>>
 Hi,


 Any one know about how to draw a bitmap image?...

 thanks in advance

 --
 Thanks & Regards
 Sasikumar.S

 --
 You received this message because you are subscribed to the Google
 Groups "Android Developers" group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>> Thanks & Regards
>> Sasikumar.S
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks & Regards
Sasikumar.S

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

Re: [android-developers] How to draw a Bitmap Image?....

2009-12-01 Thread SoftwareForMe.com SoftwareForMe.com
I'm sure people would be happy to help, but your question is not clear.

Can you explain more fully? Why do you want multiple copies of the same
image?

SoftwareForMe.com
Makers of PhoneMyPC
& Imagine Multitouch

On Tue, Dec 1, 2009 at 9:58 PM, Sasikumar.S wrote:

> Hi,
>
> Thank u sathya.
>
> Its working fine.
>
> Now i need ,
>
> I want to create a bitmap array.
> I want to create a button.
> When i click that button, the bitmap array should create a bitmap image.
>
> Note: only one bitmap image(sample.png)... when i click the button it
> should create the same bitmap(sample.png) one more time..
>
> can u pls help me?
>
>
>
> On Wed, Dec 2, 2009 at 11:01 AM, sathya subbiah <
> sathya.subbia...@gmail.com> wrote:
>
>> Hi,
>>
>> Pls find the code snippet below
>>
>> mButtonImage =
>> BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon);
>>
>> canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null);
>>
>> In case of resizing bitmap use matrix.
>>
>>
>>
>> On Wed, Dec 2, 2009 at 12:24 AM, Sasikumar.S 
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> Any one know about how to draw a bitmap image?...
>>>
>>> thanks in advance
>>>
>>> --
>>> Thanks & Regards
>>> Sasikumar.S
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Thanks & Regards
> Sasikumar.S
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to draw a Bitmap Image?....

2009-12-01 Thread Sasikumar.S
Hi,

Thank u sathya.

Its working fine.

Now i need ,

I want to create a bitmap array.
I want to create a button.
When i click that button, the bitmap array should create a bitmap image.

Note: only one bitmap image(sample.png)... when i click the button it should
create the same bitmap(sample.png) one more time..

can u pls help me?


On Wed, Dec 2, 2009 at 11:01 AM, sathya subbiah
wrote:

> Hi,
>
> Pls find the code snippet below
>
> mButtonImage =
> BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon);
>
> canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null);
>
> In case of resizing bitmap use matrix.
>
>
>
> On Wed, Dec 2, 2009 at 12:24 AM, Sasikumar.S 
> wrote:
>
>> Hi,
>>
>>
>> Any one know about how to draw a bitmap image?...
>>
>> thanks in advance
>>
>> --
>> Thanks & Regards
>> Sasikumar.S
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Thanks & Regards
Sasikumar.S

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

Re: [android-developers] How to draw a Bitmap Image?....

2009-12-01 Thread sathya subbiah
Hi,

Pls find the code snippet below

mButtonImage =
BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon);

canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null);

In case of resizing bitmap use matrix.



On Wed, Dec 2, 2009 at 12:24 AM, Sasikumar.S wrote:

> Hi,
>
>
> Any one know about how to draw a bitmap image?...
>
> thanks in advance
>
> --
> Thanks & Regards
> Sasikumar.S
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en