×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    37

    createPlayer for Motorola v551?

    Hi,

    For my application I want to be able to play a video clip on the Motorola v551 with a http connection. My code is as follows :


    HttpConnection conn = (HttpConnection)Connector.open("http://lxx.../clip.mp4", Connector.READ);

    InputStream is = conn.openInputStream();

    player = Manager.createPlayer(is, "video/mpg");


    But I get an exception for createPlayer. I have tried all the combinations for the createPlayer content type.

    I am trying to create a player on motorola v551 model. If I give the code as :


    HttpConnection conn = (HttpConnection)Connector.open("http://lxx.../clip.3gp", Connector.READ);

    InputStream is = conn.openInputStream();

    player = Manager.createPlayer(is, "video/3gpp");

    Then above code works fine for 3gp video clip on a Nokia phone. But I have to get it working on a motorola v551 phone which supports MPEG4 video.

    Please tell me what content type do I need for MPEG4 video clip. Or am I doing something wrong in the code for Motorola ?

    Any help is greatly appreciated.

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    28
    You might want to try on: http://www.motocoder.com/

    Use their 'Knowledge & Support' link, then onto 'Tech Support' then https://motocoder.custhelp.com.

    You have to register first though - it's free.

    Once you're there you can search their database, or if you don't find your answer there you can submit a question - you'll get a reply from Motorola usually within a couple of days. However most of the sound issues I've asked about has resulting in them saying "please upgrade your firmware" !!!!

Posting Permissions

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