int generateBridgeSecret(){
  SecureRandom randGen=new SecureRandom();
  expectedBridgeSecret=randGen.nextInt(Integer.MAX_VALUE);
  return expectedBridgeSecret;
}

int generateBridgeSecret ( ) { SecureRandom randGen = new SecureRandom ( ) ; expectedBridgeSecret = randGen . nextInt ( Integer . MAX_VALUE ) ; return expectedBridgeSecret ; }
called by cordova . js to initialize the bridge .
