Android Open Source - Android-GTalk-Music-Status G Talk Status Current Model






From Project

Back to project page Android-GTalk-Music-Status.

License

The source code is released under:

GNU General Public License

If you think the Android project Android-GTalk-Music-Status 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.gtalkstatus.android;
/*from   w ww . j  a  v  a 2 s. c  o  m*/
import android.database.Observable;

public class GTalkStatusCurrentModel extends Observable {
    private static GTalkStatusCurrentModel sInstance = null;
    private static String mArtist;
    private static String mTrack;

    private GTalkStatusCurrentModel() {}

    public static GTalkStatusCurrentModel getInstance() {
        if (sInstance == null) {
            sInstance = new GTalkStatusCurrentModel();
        }

        return sInstance;
    }

    public void setArtist(String aArtist) {
        mArtist = aArtist;
    }

    public String getArtist() {
        return mArtist;
    }

    public void setTrack(String aTrack) {
        mTrack = aTrack;
    }

    public String getTrack() {
        return mTrack;
    }
}




Java Source Code List

com.gtalkstatus.android.GTalkEditCredentials.java
com.gtalkstatus.android.GTalkStatusActivity.java
com.gtalkstatus.android.GTalkStatusApplication.java
com.gtalkstatus.android.GTalkStatusCurrentModel.java
com.gtalkstatus.android.GTalkStatusIntentReceiver.java
com.gtalkstatus.android.GTalkStatusNotifier.java
com.gtalkstatus.android.GTalkStatusSettingsActivity.java
com.gtalkstatus.android.GTalkStatusUpdater.java
com.gtalkstatus.android.XMPPTransfer.java