I try to do simple online radio player. Here is adress of stream http://radio-electron.ru:8000/96 Here is my code.
MyActivity.java
package com.exampl
You better check if you are executing any operation that is related to the playing state like getCurrentPosition() before the Mediaplayer is started.
getCurrentPosition()