Back to project page Icinga-Mobile.
The source code is released under:
GNU General Public License
If you think the Android project Icinga-Mobile 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 mhst.dreamteam; //from w w w.j a v a2s . c o m import android.app.Application; import android.content.Intent; import android.util.Log; import mhst.dreamteam.IcingaClient.SessionMng.Session; /** * This class implement those class that will go through application life time * * @author MinhNN */ public class ApplicationContext extends Application { public static ApplicationContext AppContext; @Override public void onCreate() { super.onCreate(); AppContext = this; Session.init(); System.setProperty("http.keepAlive", "true"); Intent intent = new Intent("mhst.dreamteam.IcingaService.DataUpdater"); intent.setClassName("mhst.dreamteam.IcingaService", "mhst.dreamteam.IcingaService.DataUpdater"); startService(intent); Log.i("XXXXXXXXXXXXXXx", "BNSDCVBNMSXCVBNDCV"); } }