how to convert URI into Bip21
The source file for that method is here  

BIP21 wiki

Method can be accessed like this  

 String bitcoinURI = BitcoinURI.convertToBitcoinURI(String address, Coin amount, String label, String message);