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

Web and WebWorks Development

Reply
Contributor
sergiop
Posts: 23
Registered: ‎04-13-2012
My Device: Curve 9300 OS6
My Carrier: None

Get OS Bundle

Hello there,

 

I'm developing some apps with WebWorks and PhoneGap, and I was wondering if it's possible to get the bundle number of the current OS?

 

I've found some incompatibilities with bundle 2256 in OS 7.0 and I'd like to warn the users.

 

Thanks,

sergiop

Please use plain text.
BlackBerry Development Advisor (Retired)
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Get OS Bundle

I'm not aware of how to retrieve the bundle number programatically.

 

It doesn't look like phonegap exposes the bundle number as part of its device API:

http://docs.phonegap.com/en/2.0.0/cordova_device_device.md.html#device.version

 

I just checked the DeviceInfo class on the BBOS platform, and confirmed there isn't a "bundle" property:

http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/system/DeviceInfo.html

 

 

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Contributor
sergiop
Posts: 23
Registered: ‎04-13-2012
My Device: Curve 9300 OS6
My Carrier: None

Re: Get OS Bundle

Hi astanley,

 

I also thought so, after some research, but wanted to confirm it anyway...

 

Thanks for your help!

Please use plain text.