PDA

View Full Version : مشکل با چند خط پرداخت درون برنامه ای



Shut Down
پنج شنبه 21 فروردین 1393, 20:58 عصر
سلام دوستان
من پروژم کامله و فقط از قسمت پرداخت درون برنامه ای به این کد ها گیر میده ( ارور نمیده وقتی تست میکنم کرش میکنه )

String base64EncodedPublicKey = "";// You can find it in your Bazaar console, in the Dealers section.
// It is recommended to add more security than just pasting it in your source code;
mHelper = new IabHelper(this, base64EncodedPublicKey);

Log.d(TAG, "Starting setup.");
mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
public void onIabSetupFinished(IabResult result) {
Log.d(TAG, "Setup finished.");

if (!result.isSuccess()) {
// Oh noes, there was a problem.
Log.d(TAG, "Problem setting up In-app Billing: " + result);
}
// Hooray, IAB is fully set up!
mHelper.queryInventoryAsync(mGotInventoryListener) ;
} });

mf2009
پنج شنبه 21 فروردین 1393, 21:40 عصر
با اجازه دوستان

base64EncodedPublicKey رو وارد میکنی یا نه ؟

این رو چی کد اسم محصولت رو

static final String SKU_PREMIUM = "";

تو دستگاه مجازیت نرم افزار بازار نصبه ؟