This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MediaPlayerService extends Service implements MediaPlayer.OnCompletionListener, | |
MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnSeekCompleteListener, | |
MediaPlayer.OnInfoListener, MediaPlayer.OnBufferingUpdateListener, | |
AudioManager.OnAudioFocusChangeListener { | |
public static final String ACTION_PLAY = "com.be.homsi.ACTION_PLAY"; | |
public static final String ACTION_PAUSE = "com.be.homsi.ACTION_PAUSE"; | |
public static final String ACTION_PREVIOUS = "com.be.homsi.ACTION_PREVIOUS"; | |
public static final String ACTION_NEXT = "com.be.homsi.ACTION_NEXT"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.be.homsi.adapter; | |
import android.Manifest; | |
import android.content.BroadcastReceiver; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.content.ServiceConnection; | |
import android.content.SharedPreferences; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Inter extends Fragment implements MainView { | |
List<InterpretationModel> passages; | |
List<InterpretationModel> interlists; | |
Menu test; AudioAdapter adapters; | |
public RecyclerView mRecyclerView,recycleraudio; | |
public Recycleradapter mAdapter; | |
boolean serviceBound = false; | |
TextView textView; |