Android Open Source - RadioRake Radio Application






From Project

Back to project page RadioRake.

License

The source code is released under:

GNU General Public License

If you think the Android project RadioRake listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.asp.radiorake;
//w w w  .  j av  a 2  s  .  c o m
import android.app.Application;
import android.media.MediaPlayer;

public class RadioApplication extends Application {

    private RadioDetails _playingStation;
    private RadioDetails _recordingStation;
    private MediaPlayer _mediaPlayer;
    private String _playingStatus;
    private String _recordingStatus;
    private boolean _exitFlag;
    private boolean _buffering = false;
    private PlayingFile _playingFileDetails;
    private int _playingType;
    private LastPlayedFile _lastPlayedFile;

    public static final int StartPlayingRadio = 1;
    public static final int StartPlayingFile = 2;
    public static final int PausePlaying = 3;
    public static final int ResumePlaying = 4;
    public static final int StopPlaying = 5;

    public static final int PlayingFile = 1;
    public static final int PlayingStream = 2;

    public MediaPlayer getMediaPlayer() {
        return _mediaPlayer;
    }

    public void setMediaPlayer(MediaPlayer mediaPlayer) {
        this._mediaPlayer = mediaPlayer;
    }

    public RadioDetails getPlayingStation() {
        return _playingStation;
    }

    public void setPlayingStation(RadioDetails playingStation) {
        _playingStation = playingStation;
    }

    public RadioDetails getRecordingStation() {
        return _recordingStation;
    }

    public void setRecordingStation(RadioDetails recordingStation) {
        _recordingStation = recordingStation;
    }

    public String getPlayingStatus() {
        return _playingStatus == null ? "" : _playingStatus;
    }

    public void setPlayingStatus(String playingStatus) {
        this._playingStatus = playingStatus;
    }

    public String getRecordingStatus() {
        return _recordingStatus == null ? "" : _recordingStatus;
    }

    public void setRecordingStatus(String recordingStatus) {
        this._recordingStatus = recordingStatus;
    }

    public boolean getExitFlag() {
        return _exitFlag;
    }

    public void setExitFlag(boolean exitFlag) {
        _exitFlag = exitFlag;
    }

    public boolean isBuffering() {
        return _buffering;
    }

    public void setBuffering(boolean buffering) {
        this._buffering = buffering;
    }

    public void setPlayingFileDetails(PlayingFile playingFile) {
        _playingFileDetails = playingFile;
    }

    public PlayingFile getPlayingFileDetails() {
        return _playingFileDetails;
    }

    public int getPlayingType() {
        return _playingType;
    }

    public void setPlayingType(int playingType) {
        _playingType = playingType;
    }

    public void setLastPlayedFile(LastPlayedFile lastPlayedFile) {
        _lastPlayedFile = lastPlayedFile;
    }

    public LastPlayedFile getLastPlayedFile() {
        return _lastPlayedFile;
    }
}




Java Source Code List

com.asp.radiorake.AddNewScheduledRecordingActivity.java
com.asp.radiorake.AlarmHelper.java
com.asp.radiorake.CallReceiver.java
com.asp.radiorake.ConfirmDetailsActivity.java
com.asp.radiorake.DatabaseHelper.java
com.asp.radiorake.DatePickerFragment.java
com.asp.radiorake.LastPlayedFile.java
com.asp.radiorake.ListScheduledRecordingsActivity.java
com.asp.radiorake.NotificationHelper.java
com.asp.radiorake.PlayerService.java
com.asp.radiorake.PlayingFile.java
com.asp.radiorake.RadioActivity.java
com.asp.radiorake.RadioApplication.java
com.asp.radiorake.RadioDetails.java
com.asp.radiorake.RebootBroadcastReceiver.java
com.asp.radiorake.RecordingsActivity.java
com.asp.radiorake.RecordioBaseActivity.java
com.asp.radiorake.RemoteControlReceiver.java
com.asp.radiorake.ScheduledRecordingsCursorAdaptor.java
com.asp.radiorake.TimePickerFragment.java
com.asp.radiorake.filehandling.FileHandler.java
com.asp.radiorake.filehandling.M3uHandler.java
com.asp.radiorake.filehandling.PlsHandler.java
com.asp.radiorake.recording.RecorderService.java
com.asp.radiorake.recording.RecordingBroadcastReceiver.java
com.asp.radiorake.utils.DateUtils.java
com.asp.radiorake.utils.StringUtils.java