How do I obtain the X & Y resolution of a Bitmap in DPI on the android platform? I'm expecting some api like 'GetXResInDPI()' like below :
double getXResolution(Bitmap bmp) {
double lXRes = Bmp.GetXResInDPI();
return lXRes;
}
I'm unable to obtain any such method for the android platform in spite of scourging through the java doc.
Any help would be appreciated.