1. Check out our companion app, Forums for Android! Download from Google Play

andriod radio

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

  1. Gopi

    Gopi New Member
    Thread Starter
    25

    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
    3,933

    Feb 19, 2010
    32,948
    25,335
    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...
    843

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

    bigdroid Well-Known Member
    263

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

    Leftyguy Well-Known Member
    163

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

Share This Page

Loading...