andriod radio


Last Updated:

  1. Gopi

    Gopi New Member This Topic's Starter

    Joined:
    Oct 20, 2010
    Messages:
    1
    Likes Received:
    0
    hi
    am new to andriod and trying to play radio in my application & i created media player for that but am getting error. the media player is not getting started.
    here the log cat code


    Command PLAYER_INIT completed with an error or info PVMFErrCorrupt.
    error (1, -10).
    java.io.IOException: Prepare failed.: status=0x1

    And my source code is
    MedaiPlayer player =new MediaPlayer();
    player.setDataSource("http://yp.shoutcast.com/sbin/tunein-station.pls?id=1426095&k=sh1qXrnu4wN2oPZY");
    player.prepare();
    player.start();
    Help me
     

    Advertisement
  2. Steven58

    Steven58 Reformed PH VIP Member

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Welcome to the community! Feel free to join the conversations! :D

    Can you please post this query in the Developer's section? Thanks!
     
  3. Martimus

    Martimus One bite at a time... Moderator

    Joined:
    Jul 9, 2010
    Messages:
    19,535
    Likes Received:
    4,045
    Welcome to the Android Forums!
     
  4. bigdroid

    bigdroid Well-Known Member

    Joined:
    Oct 31, 2009
    Messages:
    7,112
    Likes Received:
    132
    Welcome to Android Forums!! :)
     
  5. Leftyguy

    Leftyguy Well-Known Member

    Joined:
    Jul 25, 2010
    Messages:
    2,668
    Likes Received:
    102
    Hi & Welcome to the Android Forums - Cheers....;)
     

Share This Page

Loading...