Back to project page Xpense.
The source code is released under:
MIT License
If you think the Android project Xpense 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.kevinzhu.xpense; /* w ww .j a va 2s .c om*/ import android.app.Application; import android.content.Context; import com.parse.Parse; /** * Created by kevin on 12/29/14. */ public class Xpense extends Application { private static Context context; @Override public void onCreate() { super.onCreate(); // Enable Local Datastore. Parse.enableLocalDatastore(this); Parse.initialize(this, "3JxhD1B7XuMnQqrH49d14Eb8nV1S5rrb6iIwWekb", "qm9zfP8RY8UzMpaJnrTCCXqSJ4UUNmYarT2sCkH7"); Xpense.context = getApplicationContext(); } public static Context getAppContext() { return Xpense.context; } }