question

vignesh-july avatar image
vignesh-july asked

Error while implementing In App Product Detail and In App Product Popover

I am integrating In App Product Detail and In App Product Popover. While click on product details or product popover we are getting error called "com.amazon.device.associates.c(6278): Error displaying product detail popover". I am having json data and Amazon app tester in device. What i am doing wrong? Can anyone please help on this?
mobile associates
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Venkat@Amazon avatar image
Venkat@Amazon answered
Hi Vignesh, Have you followed all the steps as provided in the link ( https://developer.amazon.com/sdk/mobile-associates/in-app-detail-preview-impl.html). Have you validated the Json file. Try JsonLint for validating json file ( http://jsonlint.com/) Can you please provide the steps to reproduce with detail error logs.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Vikas Murthy avatar image
Vikas Murthy answered
Hi Venkat, We have followed the steps provided in the ( https://developer.amazon.com/sdk/mobile-associates/in-app-detail-preview-impl.html). Please find the attached files GlobalShoppingLsitner.txt and InAppProductExperienceActivity.txt. In the detail button onclick we are creating purchase request using product id and passing the button view,and setting the purchase experieince as ([b]PurchaseExperience.DIRECT_WITH_DETAIL[/b]) . In the Console we are seeing the following erros "No package identifier when getting value for resource number 0x00000000 & E/AmazonMobileAssociates com.amazon.device.associates.c(6278): Error displaying product detail popover" and loading bar shown in the app( (ProductPreviewPopover.java:142) at com.amazon.device.associates.a.a(ProductPreviewPopover.java:54) at com.amazon.device.associates.ab.a(DirectShopping.java:109) at com.amazon.device.associates.af.a(DASRequestHandler.java:65) at com.amazon.device.associates.m.a(ShoppingServiceImpl.java:120) at com.amazon.device.associates.m.a(ShoppingServiceImpl.java:11) at com.amazon.device.associates.m$2.run(ShoppingServiceImpl.java:170) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method)" Any thing we are doing wrong here.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.