10-02-2012 01:22 PM
Do any of you have the code for setting an icon and BBM profile status text in Webworks for BBOS?
![]()
10-02-2012 06:58 PM
Hi there, are these what you're looking for?
Display picture:
https://developer.blackberry.com/html5/apis/blackb
Status text:
https://developer.blackberry.com/html5/apis/blackb
I'm not sure exactly which icon you were referring to.
10-09-2012 01:57 AM
<script type="text/javascript">
// Set the user's status and status message
blackberry.bbm.platform.self.setStatus("busy", "Playing Tic-Tac-Toe!", function (accepted) {
if(accepted) {
// User allowed the change
} else {
// User denied the change
}
});
</script>Is this the only code I need to add to my .html file? To work with my BB10 app? Other than this line in the xml?
<feature id="blackberry.bbm.platform" />
Thank you
10-09-2012 05:01 PM
Hi there,
Initially you'll need to ensure that you've actually registered with BBM on your application's launch.
https://developer.blackberry.com/html5/apis/blackb
Beyond that, the code you noted should work as-is. Are you seeing issues?
10-09-2012 05:07 PM
No problems just researching. Before i mess up my app.
Thank you.
10-09-2012 10:46 PM