Code example for PendingIntent

Methods: send

		// This is on Android 1.6. The in-app checkout page activity will be on its 
	    // own separate activity stack instead of on the activity stack of 
	    // the application. 
		try { 
			pendingIntent.send(context, 0, intent);			
		} catch (CanceledException e){
			Log.e(TAG, "startBuyPageActivity CanceledException");
	public static void verifyPurchase(String signedData, String signature) {
		ArrayList<VerifiedPurchase> purchases = BillingSecurity.verifyPurchase(signedData, signature);
		if(purchases.size() > 0)
			latestPurchase = purchases.get(0);
			confirmTransaction(new String[]{latestPurchase.notificationId});
Connect your IDE to all the code out there  Get Codota for Java