Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Regular Contributor
Posts: 75
Registered: ‎07-22-2010
My Device: Not Specified
My Carrier: Trainee

I can't see the video But can listen.. Help me to see my video

I am playing a video( internet url ). But can not see the video.. I can only hear the sound.... Please help me... Here the code.. String filePathTemp = "internet url String "; Invocation invocation = new Invocation(); Registry _registry=Registry.getRegistry("net.rim.device.api.content.BlackBerryContentHandler"); try { StringBuffer response = (fbc.getHttpClient()).doGet(filePathTemp); byte[] data = response.toString().getBytes(); if (data.length > 0) { invocation.setData(data); } }catch(Exception er){System.out.println(" C "+er);} try{ _registry.invoke(invocation); catch(Exception y){System.out.println("Problem is : "+y);} Please please help me............ thanks in Advance