Back to project page Instabackground.
The source code is released under:
Apache License
If you think the Android project Instabackground 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 es.expilu.instabackground.util; // w w w . j a v a 2s . c om import android.app.Application; import com.android.volley.toolbox.Volley; import com.squareup.otto.Bus; import com.squareup.otto.ThreadEnforcer; public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); Globals.initInstance(); Globals.getInstance().requestQueue = Volley.newRequestQueue(getApplicationContext()); Globals.getInstance().eventBus = new Bus(ThreadEnforcer.ANY); } }