×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    3

    Playing Video File in Sony S710.

    Hi,

    I am developing a VideoDemo appliaction for Sony S710 Device.I am able to play the video in Emulator.In the Device it shows Error Message "java.io.IOException: failed to connect".


    I am connecting to the URL Using GPRS Connection.
    if any one knows plz help me...

    Sample Code :-

    try
    {
    String url =
    " http://java.sun.com/products/java-media/mma/media/test-mpeg.mpg";

    Player p = Manager.createPlayer(url);
    p.realize();

    VideoControl vc;
    if ((vc = (VideoControl)p.getControl("VideoControl")) != null)
    {
    vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, canvas);
    vc.setVisible(true);
    }
    p.start();

    } catch (Exception e)
    {
    System.out.println("Exception in Playing Video : " + e);
    }


    Regards
    Subbu

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Playing Video File in Sony S710.

    Hi,

    Its better to post S710 related queries in the Sony Ericsson Developer forums, so that you may get quick replies....

    http://developer.sonyericsson.com/show_forums.do

    Regards
    Gopal

Similar Threads

  1. Replies: 2
    Last Post: 2005-09-02, 10:57
  2. How to check file video exit
    By somyotoott in forum Symbian
    Replies: 1
    Last Post: 2005-08-15, 07:42
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. playing video from mobile browser
    By ranganathan in forum Symbian
    Replies: 0
    Last Post: 2003-06-13, 14:43
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×