PDA

View Full Version : Problem in invoking media player from API


nagarajan@i-waves.com
11-29-2008, 02:05 AM
Hi all

My application is to make a http request for a video file and then play it in a media player by invoking it from an API.When i try this iam getting error code

java.io.IOException: HTTP response code: 413

java.lang.IllegalArgumentException: GUI primitive type not supported

Can any one solve this problem.....Plzzzzzzzzz.......


Thank you

nagarajan@i-waves.com
11-29-2008, 02:07 AM
Hi all

My application is to make a http request for a video file and then play it in a media player by invoking it from an API.When i try this iam getting error code

java.io.IOException: HTTP response code: 413

java.lang.IllegalArgumentException: GUI primitive type not supported

Can any one solve this problem.....Plzzzzzzzzz.......


Thank you

nortchuck
12-17-2008, 11:52 PM
Did you ever figure this out? I'm having the same problem, wondering if there is a solution.

kchantp
01-05-2009, 03:14 PM
The IOExpection: HTTP response code 413 means that the request entity is too large. Depending on how you are what kind of protocol you're using (probably http), the file you are referencing is probably too large. The player is trying to download the entire file before playing it, causing this message to display.

If you go to the blackberry browser and enter the link, the media player should open up and display the same error.