eksik: https://developers.google.com/wallet/objects/savetowalletnativeCreateWalletObjectsRequest verilen linke gereğince com.google.android.gms.wallet API
Ben örnek uygulamayı çalıştırmak için çalışıyorum, ancak yönteminin altında bu, ben CreateWalletObjectsRequest
bulmak mümkün değilim . Şöyle ki:
public void saveToWallet(View view){
LoyaltyWalletObject wob = generateObject();
CreateWalletObjectsRequest request = new CreateWalletObjectsRequest(wob);
Wallet.createWalletObjects(googleApiClient, request, SAVE_TO_WALLET);
}
Eğer LoyaltyWalletObject mı yarattı https://developers.google.com/save-to-android-pay/guides/android/add-button-to-your-app ait "bir nesne oluşturma" bölümünde açıklanan? Eğer onu yaratırsan, lütfen bana nasıl yarattığını söyler misin? Ben aynı problem http://stackoverflow.com/questions/26467437/saving-offer-to-google-wallet oldu. – Dima
bu eğitici çalışmıyor https://developers.google.com/wallet/objects/savetowalletnative#obtain_credentials_and_a_client_id_for_your_app –
Başarılı biri CreateWalletObjectsRequest'i içe aktarıyor muydu? –