为什么这在设备上不起作用,但在 bb 模拟器上起作用。你有什么建议让它在设备上工作吗?
Invocation invocation = new Invocation("file:///SDCard/BlackBerry/music/song.mp3");
Registry reg = Registry.getRegistry("net.rim.device.api.content.BlackBerryContentHandler");
reg.invoke(invocation);