0
我試圖播放音樂文件,使用內容處理器,這是我用疑慮blackberrycontentHandler
//創建調用
Invocation invocation =
new Invocation(filePath,null,BlackBerryContentHandler.ID_MEDIA_CONTENT_HANDLER);
// Get the registry object
Registry registry = Registry.getRegistry("net.rim.device.api.content.BlackBerryContentHandler");//here i changed to my own file
//Invoke the content handler.
registry.invoke(invocation);
當應用程序runs.it導航到媒體的應用程序代碼的語法屏幕,但它只是呆在那裏,不能播放音樂或媒體文件,任何想法可能是什麼問題?
問候
拉克什Shankar.P
您的輸入您好感謝,我試圖播放流文件時,您的關於它的建議 – Rakesh 2010-06-22 12:43:03
用於帶有rtsp網址的流式啓動瀏覽器。 BrowserSession visit = Browser.getDefaultSession(); \t \t \t \t visit.displayPage(「rtsp://stream.the.sk/live/musicbox/musicbox-hm.3gp」); – Vivart 2010-06-22 13:31:58
你好Vivart,我也嘗試過這種方式。但我想通過這個blackberrycontenthandler播放流媒體音樂或視頻文件。我正在尋找它。 – Rakesh 2010-06-23 04:48:05