I am trying to integrate In app billing v3 in my app. I call the following function to initialize.
public static void SetupInappBilling()
{
mHelper = new IabHelper(context, base64EncodedPublicKey);
mHelper.enableDebugLogging(true);
mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener()
{
public void onIabSetupFinished(IabResult result)
{
if (result.isSuccess())
{
Log.e("tag", "connected");
ConnectionEstablished = true;
}
else
{
Log.e("tag", "not connected");
ConnectionEstablished = false;
}
}
});
}
but i dont get call back in OnIabSetupFinishedListener
Can anyone tell me how to fix this issue
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…