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
razorek
Posts: 64
Registered: ‎06-28-2012
My Device: BlackBerry Z10LE
My Carrier: T-Mobile
Accepted Solution

BBM ProfileBox icons - user created

Hi,

 

I'm connecting my app to BBM and was wondering if it's possible to have the application profile box icons to be user generated.

 

For example, a user takes a photo of a thing he/she owns and I would like to use that photo as an icon with an id of 1 for example (if the user changes his photo, I would register this new image with id 2 and so on).

 

On some other device, an icon with id = 1 would lead to a totally different image, becouse the user would take a photo of a different thing.

 

So will it work?

 

I'm concered since I read this (core native docs): http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bbmsp.lib_ref/topic/bbmsp_user_pro...

Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)
My Carrier: Mobile Vikings

Re: BBM ProfileBox icons - user created

As far as I know that will work since the icon ID is linked to a BMM account.

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.
Developer
razorek
Posts: 64
Registered: ‎06-28-2012
My Device: BlackBerry Z10LE
My Carrier: T-Mobile

Re: BBM ProfileBox icons - user created

Thank you zezke, I think it should work that way. But how certain are you with this?

Please use plain text.
Administrator
MSohm
Posts: 14,313
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BBM ProfileBox icons - user created

You can use any image you like for a profile box icon as long as it's less than 333 x 333 in size (119 x 119 and under 15 kb is the ideal size).  You'd just need to register the images before using them.  Refer to the example here.

 

bbmprofilebox sample

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
razorek
Posts: 64
Registered: ‎06-28-2012
My Device: BlackBerry Z10LE
My Carrier: T-Mobile

Re: BBM ProfileBox icons - user created

Thank you Mark for all the details!

Please use plain text.