Back to project page irssi-Fusion.
The source code is released under:
GNU General Public License
If you think the Android project irssi-Fusion 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.platinummonkey.irssifusion; //ww w. j av a2s . c o m import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; //import android.widget.Toast; public class IrssiFusionService extends Service { private static final String LOG_TAG = "IrssiFusionService"; //MediaPlayer player; @Override public IBinder onBind(Intent intent) { return null; } @Override public void onCreate() { //Toast.makeText(this, "My Service Created", Toast.LENGTH_LONG).show(); Log.d(LOG_TAG, "onCreate"); //player = MediaPlayer.create(this, R.raw.braincandy); //player.setLooping(false); // Set looping } @Override public void onDestroy() { //Toast.makeText(this, "My Service Stopped", Toast.LENGTH_LONG).show(); Log.d(LOG_TAG, "onDestroy"); //player.stop(); } @Override public void onStart(Intent intent, int startid) { //Toast.makeText(this, "My Service Started", Toast.LENGTH_LONG).show(); Log.d(LOG_TAG, "onStart"); //player.start(); } }