Back to project page saostar.
The source code is released under:
Apache License
If you think the Android project saostar 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 net.azyobuzi.azyotter.saostar; /* w w w . j a va 2s . c o m*/ import net.azyobuzi.azyotter.saostar.services.TimelineReceiveService; import android.app.Application; import android.content.Intent; public class SaostarApplication extends Application { public SaostarApplication() { super(); ContextAccess.setContext(this); } @Override public void onCreate() { super.onCreate(); System.setProperty("twitter4j.http.useSSL", "true"); System.setProperty("twitter4j.oauth.consumerKey", "atiCJrEYcDTK06asy9riaA"); System.setProperty("twitter4j.oauth.consumerSecret", "e1OSvum01Hgh3sg6xKIKJGRWIUOAqIei73rbuDOFbxY"); System.setProperty("twitter4j.stream.user.repliesAll", "false"); startService(new Intent(this, TimelineReceiveService.class)); } }