Monday, February 14, 2011

Re: [android-developers] In-app billing sample is not working

Billing requires Market application 2.3, which has not been released yet.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

15.02.2011 10:23 пользователь "muhammad mahmood" <muhammad.rashidm@gmail.com> написал:
> Hi
> i would like to say that i want to implement in-app billing in my
> application. Before it i downloaded the sample billing app. But when i
> click on "Buy" button, it throws exception
>
>
> 01-06 05:01:26.608: ERROR/Bundle(966): readBundle: bad magic number
> 01-06 05:01:26.608: ERROR/Bundle(966): readBundle: trace =
> java.lang.RuntimeException
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Bundle.readFromParcelInner(Bundle.java:1580)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Bundle.<init>(Bundle.java:82)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Parcel.readBundle(Parcel.java:1381)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Parcel.readBundle(Parcel.java:1366)
> 01-06 05:01:26.608: ERROR/Bundle(966): at android.os.Bundle
> $1.createFromParcel(Bundle.java:1517)
> 01-06 05:01:26.608: ERROR/Bundle(966): at android.os.Bundle
> $1.createFromParcel(Bundle.java:1520)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.android.vending.billing.IMarketBillingService$Stub
> $Proxy.sendBillingRequest(IMarketBillingService.java:102)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.example.dungeons.BillingService
> $RequestPurchase.run(BillingService.java:231)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.example.dungeons.BillingService
> $BillingRequest.runIfConnected(BillingService.java:120)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.example.dungeons.BillingService
> $BillingRequest.runRequest(BillingService.java:97)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.example.dungeons.BillingService.requestPurchase(BillingService.java:
> 438)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.example.dungeons.Dungeons.onClick(Dungeons.java:464)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.view.View.performClick(View.java:2408)
> 01-06 05:01:26.608: ERROR/Bundle(966): at android.view.View
> $PerformClick.run(View.java:8816)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Handler.handleCallback(Handler.java:587)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Handler.dispatchMessage(Handler.java:92)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.os.Looper.loop(Looper.java:123)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> android.app.ActivityThread.main(ActivityThread.java:4627)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> java.lang.reflect.Method.invoke(Method.java:521)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:858)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
> 01-06 05:01:26.608: ERROR/Bundle(966): at
> dalvik.system.NativeStart.main(Native Method)
> 01-06 05:01:26.608: ERROR/BillingService(966): Error with
> requestPurchase
>
> Kind Regards
> Muhammad Rashid
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment