I have been searching for awhile but cannot find solution to my problem. I'm really beginner so please correct me if I have made a mistake.
While following instructions described in this link:
https://www.dropbox.com/developers/sync/start/android
mDbxAcctMgr = DbxAccountManager.getInstance(getApplicationContext(), APP_KEY, APP_SECRET);
I can't fix the error on getApplicationContext(). I figured out that I have to extend Activity but since I'm using libGDX I searched up and figured out that getApplicationContext() is the same as getContext() in
import com.badlogic.gdx.backends.android.AndroidApplication;
however... I can't import this. I don't have it in my library? eclipse tells me to create a new class. How do I import this? I've used lastest nightly build to create my project.
Please help me!
Thanks!
0 comments:
Post a Comment