HI

Put the resources in to the integer array from call like this ....


image=BitmapFactory.decodeStream(context.getResources()

.openRawResource(images[i]));




On Fri, Aug 28, 2009 at 10:18 AM, Sasi Kumar <[email protected]>wrote:

>
> my code is:-
>
> Drawabel partlycloud=res.getDrawable(R.drawable.a65_color_31);
>
> I have more images like
>
> a65_color_31
> a66_color_31
> a67_color_31
> a68_color_31
> a69_color_31
> a70_color_31
> a71_color_31
>
> If user gives input as 67 then my drawable should be
>
> Drawabel partlycloud=res.getDrawable(R.drawable.a67_color_31);
>
> if it is 70
>
> Drawabel partlycloud=res.getDrawable(R.drawable.a70_color_31);
>
>
> like this i have more than 100 images how can give in simple code with
> less codes.
>
> please reply me..............
>
>
>
>
> >
>


-- 
Regards
-------------------
Desu Vinod Kumar
[email protected]
09176147148

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