So I need to play an audio which streaming on the internet. For my android app. I am using webview but can't figure out how to do it. Any suggestions?
You just need to enable the plugins for the webview, like this :
WebView mWebView = (WebView) findViewById(R.id.WebView01);
mWebView.getSettings().setPluginsEnabled(true);
// Added in API level 8
mWebView.getSettings().setPluginState(WebSettings.PluginState.ON);
Android Documentation WebSettings.PluginState
But it might be better to use native player see below:
Android Supported Media Formats: http://developer.android.com/guide/appendix/media-formats.html
(offline media player related links)