android - How to pass in the Context for the activity, along with a string containing the public license key -
I do not know how to" play in the context "to begin a relationship with Google I'm following Google's guidelines "and" with a public license key string "
Here's what I've done here so far. I'm not a Pro Programmer
IabHelper mHelper;
@Override protected void OnCreate (Bundle savedInstanceState) {// TODO Auto-generated method stub super.onCreate (savedInstanceState); SetContentView (R.layout.homepage); String base 64 encoded public; MHelper = new IabHelper (homepage. This, door); mHelper.startSetup (New IabHelper.OnIabSetupFinishedListener () {public void onIabSetupFinished (IabResult result) {if (! result.isSuccess ()) {// Oh no, there is a problem Log.d (the TAG. "Established in problem -app Billing: "+ result);} // Hooray, IAB is fully installed!}});
to
look for the link getApplicationContext ()
or Home Use Try this.
this
Comments
Post a Comment