Created
September 19, 2011 02:20
-
-
Save kodeshpa/1225873 to your computer and use it in GitHub Desktop.
Zubhium SDK integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZubhiumSDK sdk; | |
/** Called when the Zubhium action is completed*/ | |
ZubhiumActionResponseListener zubhiumListener = new ZubhiumActionResponseListener() { | |
@Override | |
public void onZubhiumError(ZubhiumError e) { | |
Log.d("ZubhiumAndroidSDK","Error occurred"); | |
} | |
@Override | |
public void onZubhiumActionCompleted() { | |
Log.d("ZubhiumAndroidSDK","Zubhium action completed successfully"); | |
} | |
}; | |
/** Called when the activity is first created. */ | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
/**Get instance of your SDK. */ | |
sdk = ZubhiumSDK.getZubhiumSDKInstance(this, zubhiumListener); | |
} | |
/*Now call following methods as per signatures of those methods*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment