hey pskink u got me wrong ... i did not use BitmapFactory,getHeight ... i
jus wanted to let know that i have used all the
[bitmap,bitmapfactory,getHeight,getWidth etc]

and it gave nullpointer exception

so plz suggest some other method



On Fri, May 7, 2010 at 5:36 PM, skink <[email protected]> wrote:

>
>
> On May 7, 9:42 am, pawan nimje <[email protected]> wrote:
> > Hi i have a image in drawable folder and i need to get dimensions of that
> image.
> >
> > i tried BitmapFactory,getHeight etc but it is retunning me null
> >
> > plz help
> >
> > --
>
> BitmapFactory,getHeight() cannot return null since there is no such
> method
>
> there is a method Bitmap,getHeight() but it cannot either return null
> as it returns int
>
> pskink
>
> --
> 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]<android-developers%[email protected]>
> 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 [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