Hi,
When I'm trying to install my mobile application using following lines I get an error message saying "Certificate Error".
try {
Player p = Manager.createPlayer("capture://audio");
p.realize();
RecordControl rc = (RecordControl)p.getControl("RecordControl");
ByteArrayOutputStream output = new ByteArrayOutputStream();
rc.setRecordStream(output);
rc.startRecord();
p.stop();
rc.stopRecord();
rc.commit();
p.close();
ByteArrayInputStream input= new ByteArrayInputStream(output.toByteArray());
Player p2 = Manager.createPlayer(input, "audio/x-wav");
p2.prefetch();
p2.start();
}catch(Exception ex){}
Is there anything wrong here?
Thanks,
Nitin.

Reply With Quote

