Using the Mobile Media API, how do you play a media file stored in an RMS record store?

John Zukowski

RecordStore rs = RecordStore.open("name");
byte record[] = rs.getRecord(id);
ByteArrayInputStream bais = new ByteArrayInputStream(record);
Player player = Manager.createPlayer(bais, "audio/x-wav");
player.start();
About | Sitemap | Contact