android 中 inAppBilling 中的 startBuyPageActivity
我是 Android 新手,因此我需要你的帮助。提前致谢!!!我正在尝试在我的应用程序中实现应用程序计费,但有一件事我不清楚......我查看了developer.android.com并通过谷歌搜索,但没有找到为什么在应用程序中实现如此重要startBuyPageActivity 位于 Android 2.0 及以上版本的示例应用程序方法中的 PurchaseObserver.java 文件中,以及如何操作...我问你这个是因为我有 2.2 Android 手机用于测试,并且我使用 android.test.purchased 产品和所有内容进行测试是很好...我知道该物品已购买并且它出现在我的活动中...感谢每一位帮助或信息... 再次感谢您的帮助或信息...:D
这是我的 startBuyPageActivity 代码:
private static void startBuyPageActivity(PendingIntent pendingIntent, Intent intent, Context context){
try {
pendingIntent.send(context, 0, intent);
String i = null;
} catch (CanceledException e){
Log.e(TAG, "startBuyPageActivity CanceledException");
}
}
I'm new to android and because of that I need your help. Thanks in advance!!! I'm trying to implement in app billing in my app, but one thing isn't clear to me...i looked into developer.android.com and search through google, but didn't find why is so importent to implement in startBuyPageActivity which is in PurchaseObserver.java file in the sample application method for Android 2.0 and above and how to do it... I ask you this because i have 2.2 android phone for testing and i testing with android.test.purchased product and everything is good...i get that item is purchased and it appears on my activity... Every bit of help or information is appreciated...
Thanks again for a help or information... :D
This is my startBuyPageActivity code:
private static void startBuyPageActivity(PendingIntent pendingIntent, Intent intent, Context context){
try {
pendingIntent.send(context, 0, intent);
String i = null;
} catch (CanceledException e){
Log.e(TAG, "startBuyPageActivity CanceledException");
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论