I am using google vision API to scan the barcodes and qrcodes. Now I want to give one more facility to the users that user can generate text, url, phone, vcard etc barcodes/qrcodes.
So anybody knows how to achieve this? Because there are lots of app on google play store those are doing the same things.
Answer
You can't.
Reason
I don't know if you are using the cloud or the mobile vision api, but both do not support barcode generation. They can only be used to scan barcodes.
Alternative
You could use something like ZXING to generate your barcodes.