Android Question reqManager.ImageToBytes Error if imageview empty

pmt

Member
Licensed User
Hi ,

I use reqManager.ImageToBytes(myImgView.Bitmap) in my code and the error occur if the imageview is empty.

This error:
dbrequestmanager_imagetobytes (java line: 375)
java.lang.RuntimeException: Object should first be initialized (Bitmap).

......


How to check if imageview empty or how to avoid this problem.



Thanks in advance.

Regards,
PMT
 
Top