Hi,
      plz create ur own post since this is irrelevant to d topic.
u shd try d drawtext with inbuilt random util...

On Wed, Jun 17, 2009 at 12:07 PM, Bishesh Manandhar <coldda...@gmail.com>wrote:

>
> I m developing a game in Android,, and i m very novice to it..
>> according to my necessity, i managed to slide down the ball shaped
>> pictures down the screen.. like tetris,, now i need to imprint numbers in
>> them ,, i.e text. like for eg. 2 in one ball.. 7 in another.. random texts..
>> in the balls...
>>
>>
>> what do i need to change in my code... could you plz help me.. i m finding
>> it difficult.. heres my onDraw code..
>>
>> protected void onDraw(Canvas canvas) {
>>
>>             for (int i = 0; i < snow_flake_count; i++) {
>>                 Drawable drawable = drawables.get(i);
>>                 canvas.save();
>>                 canvas.translate(coords[i][0], coords[i][1]);
>>                 drawable.draw(canvas);
>>
>>
>>                 canvas.restore();
>>             }
>>             invalidate();
>>         }
>>
>>
>> Hoping to get your reply soon..Thank you
>
>
>
> >
>


-- 
Regards,
Sujay
W. C. Fields <http://www.brainyquote.com/quotes/authors/w/w_c_fields.html>
- "If I had to live my life over, I'd live over a saloon."

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

Reply via email to