I would bet that
Code:
Player p = Manager.createPlayer("capture://audio");
throws a MediaException - Cannot create player.
The MMAPI is very generic and up to the device manufacturers implementation whether the feature (i.e. capture://audio) is supported or not.
But again you won't know for sure until you actually try it on the device.