If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
thubalek
Posts: 318
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

PaymentManger sample application?

Hello, I'm going to implement in-app purchase in my application.

 

As I'm beginner in C/C++ I would really appreciate sample application demonstrating how to use PaymentManager properly.

 

Does anybody have any? Or could people from BB10 team add this to samples?

 

This service is very important for certification (as for many types of apps it is only meaningful way how to fulfill requirement https://developer.blackberry.com/builtforblackberry/documentation/criteria/integration.html)


Thanks

Tom

 

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net
Please use plain text.
Developer
thubalek
Posts: 318
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

Re: PaymentManger sample application?

Never mind. It seems to be here - http://blackberry.github.com/Cascades-Samples/payment-paymentservice.html

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: PaymentManger sample application?


thubalek wrote:

This service is very important for certification (as for many types of apps it is only meaningful way how to fulfill requirement https://developer.blackberry.com/builtforblackberry/documentation/criteria/integration.html)


 

I would dispute that claim.  What about the Analytics Service, which any app could use?  Or integrate BBM so your app can let users share it "virally" through their contacts?  Advertising Service can be added to almost anything.  And there are probably few BB10 apps which cannot benefit in some way by using the Invocation Framework.

 

I agree the Payment Service is a good one to use as well, but "only meaningful way" just doesn't seem correct to me.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
thubalek
Posts: 318
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

Re: PaymentManger sample application?


peter9477 wrote:
I would dispute that claim.  What about the Analytics Service, which any app could use?  Or integrate BBM so your app can let users share it "virally" through their contacts?  Advertising Service can be added to almost anything.  And there are probably few BB10 apps which cannot benefit in some way by using the Invocation Framework.

 

I agree the Payment Service is a good one to use as well, but "only meaningful way" just doesn't seem correct to me.


 

Comments to your suggestions (I'm mainly focused on utilities on Android, so set of  apps I would like to create for Blackberry is limited):

 

- Analytics will most likely require internet permission (didn't check it but I expect it will do), so people may complain about permission that is not visibly needed for appplication functionality (imagine game clock that needs internet permission)

 

- BBM, Invocation Framework - there is a lot of applications that have nothing to share. Why to share your battery status? 

 

- Advertising - I personally HATE ad supported apps. Android is full of such a apps and they makes me crazy I hope Blackberry will be less annoying from this point of view

 

Tom

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: PaymentManger sample application?

I don't disagree with your comments re Advertising, but that's clearly a personal choice we make as developers, not to use that.

Invocation Framework is far more than merely sharing stuff. You can use it to invoke many different system apps as "Cards", to let you select things like Contacts, Calendar entries, pictures and videos, and more. I believe it will be quite widely used.

For BBM, it's not necessary to have content to share... one can merely have one's app offer to update the user's BBM status and/or to let the user "share" the app itself with their contacts. That lets them say "Hey, my mom would love this app, tap tap" and the app sends a link through BBM so the user's mom can just hit it to download the app if she likes it. The "viral marketing" aspect of this shouldn't be underestimated, I think, and I'm hard-pressed to think of an app which couldn't provide that as an option.

Analytics... internet permission is a good point, though I also don't know off-hand whether it requires it. Up until now, however, apps that request internet permission get it without the user being notified or asked about it... unless that's going to change in the release version (and it may well) then it's definitely not an issue. Even if it is, it doesn't stop you from including it in an app to satisfy the "Service Integration" component.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: PaymentManger sample application?

Coincidentally, Mark Sohm just wrote an "Inside BlackBerry Developer Blog" post describing BBM integration, which includes a lot of things including the "Invite to Download" capability to which I alluded earlier. see http://devblog.blackberry.com/2012/11/bbm-integration/

 

thubalek, apologies for continuing to hijack your thread on PaymentManager samples. It was just an attempt to address the underlying issue that led you to it in the first place, namely the desire to get B4BB certification for the 10K offer.

 

I think I assumed you'd found the official Payment Service Example already, but perhaps you had not.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
thubalek
Posts: 318
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

Re: PaymentManger sample application?

Thanks for link to BBM integration article. Looks very useful!

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net
Please use plain text.