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();
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact