Added method to resize bitmap from Uri Path. Added method to retrieve width and height of display to replace the deprecated getWidth & getHeight