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

Java Development

Reply
New Member
Posts: 1
Registered: ‎03-11-2013
My Device: BB10
My Carrier: AT&T

API For Creating Accounts

 

Can someone point me at the APIs for adding an email accoun or social account (like facebook or twitter) to the device?

 

Thanks

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: API For Creating Accounts

I am not aware of an API like this. 

Contributor
Posts: 10
Registered: ‎03-04-2013
My Device: developer
My Carrier: developer

Re: API For Creating Accounts

http://developer.blackberry.com/cascades/reference/bb__pim__account__accountservice.html

 

Result createAccount (const QString &providerId,Account &accountData )

 you can output all the providers, 30 kinds of providers, and chose the right one to create account

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: API For Creating Accounts

That is for BB10.  This is the BB Java forum.

 

OP can you confirm that you are developing for a Java API for devices running BBOS 7 and earlier.  If you are developing for BB10, you need to be on a different forum.