sorry my english but i'm from brazil and i used google translator.
Well, I'm afraid in this application, where I am trying to make an online streaming radio, works fine in version 2.2, but version 4.0 does not work. The error does not occur, it just does not work. Below is my code.
I appreciate any help.
package com.radiomiriam; import java.io.IOException; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.View; import android.widget.Toast; public class Main extends Activity { public String url = "http://69.64.48.96:9880"; public MediaPlayer player = new MediaPlayer(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); play(); } @Override public boolean onCreateOptionsMenu(Menu menu) {
Hello, sorry for my perseverance, but I still have not found a solution to my problem and do not know how to solve it, I again ask you to help solve this problem.
The application works in versions 2.x and 3.x, but not in version 4.x. Below is a link to download the project, which you can take a look at and help me.
http://nsi.inf.br/RadioMiriam.rar (deleted)
source share