Port of barcode rendering API to android