Hi All,
I am using the function decodeResource(Resources res, int id,
BitmapFactory.Options opt).
I am using it in the following way:
BitmapFactory.decodeResource(getResources(), R.drawable.image,opt);
My question is instead of using R.drawable.image which is an image in
res\drawable folder, I
On Mon, Sep 6, 2010 at 5:47 AM, perumal316 perumal...@gmail.com wrote:
I am using the function decodeResource(Resources res, int id,
BitmapFactory.Options opt).
I am using it in the following way:
BitmapFactory.decodeResource(getResources(), R.drawable.image,opt);
My question is instead of
I was curious what the range was for the integers assigned to
resources? Specifically will -1 ever be a valid value for a
resource? In my code, I am passing a resource ID into a method and
sometimes I don't have that ID so I want to provide a value that I can
check against and know not to use.
3 matches
Mail list logo