1. Download our Official Android App: Forums for Android!

andriod radio

Discussion in 'Introductions' started by Gopi, Oct 20, 2010.

  1. Gopi

    Gopi Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    1
    Joined:
    Oct 20, 2010

    Oct 20, 2010
    1
    0
    25
    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
    Rank:
     #4
    Points:
    3,933
    Posts:
    32,959
    Joined:
    Feb 19, 2010

    Feb 19, 2010
    32,959
    25,351
    3,933
    Male
    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...
    Rank:
    None
    Points:
    843
    Posts:
    19,535
    Joined:
    Jul 9, 2010

    Jul 9, 2010
    19,535
    4,045
    843
    Male
    Engineer
    'neath a cactus
    Welcome to the Android Forums!
     
  4. bigdroid

    bigdroid Android Expert
    Rank:
     #107
    Points:
    263
    Posts:
    7,118
    Joined:
    Oct 31, 2009

    Oct 31, 2009
    7,118
    138
    263
    Male
    Campus Safety Officer
    Earlville, NY
    Welcome to Android Forums!! :)
     
  5. Leftyguy

    Leftyguy Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,668
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    2,668
    102
    163
    Oregon Coast
    Hi & Welcome to the Android Forums - Cheers....;)
     

Share This Page

Loading...