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
SuhairZain
Posts: 123
Registered: ‎09-18-2013
My Device: Dev Alpha B

What is the Account class used for?

https://developer.blackberry.com/native/reference/cascades/bb__pim__account__account.html

 

There is no documentation or examples available on it, to the best of my knowledge. Does anyone know what it does? Can I use it to obtain the Accounts that are saved to the phone? Such as my email id that I've saved into my phone in accounts?

Developer
SuhairZain
Posts: 123
Registered: ‎09-18-2013
My Device: Dev Alpha B

Re: What is the Account class used for?

Well, it seems there's an example in the cascades GitHub, but sadly I can't understand what the program does. I ran it, and can't get what it tries to do.

Developer
BBSJdev
Posts: 6,118
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: What is the Account class used for?

If you start reading from the top page and read the subpage AccountService it makes more sense, index page here...

 

http://developer.blackberry.com/native/reference/cascades/app_integration_account.html


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Developer
SuhairZain
Posts: 123
Registered: ‎09-18-2013
My Device: Dev Alpha B

Re: What is the Account class used for?

I guess it's of no use if I want to retrieve the email accounts associated with my mobile phone, isn't it..??