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

New Developer
Posts: 10
Registered: ‎12-08-2013
My Device: Z10
My Carrier: *

pin to pin / bbm messages read returns always 0 please help!!!!


i have been trying to read the bbm messages / pin to pin account using the messagesService->messages(accountKey) api, without success.

i have tried to read it with Service::Messages, "pin to pin" / "pin" / "bbm" - all without success - 

i always get 0.. 

i have found that the account id is 199, hard coded it and still got 0 messages.

i have tried it compiling for 10.0 and 10.2..

is it possible to read those messages? 

does anyone can  help me telling me what im i doing wrong? 

thanks in advance,