Back to project page Android-GTalk-Music-Status.
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.
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; } }