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

Android™ Runtime Development

Reply
Regular Visitor
Girish_Chaubey
Posts: 1
Registered: ‎05-27-2013
My Device: BB10

Unable to find the BB10 OS Version in android Code after Porting

[ Edited ]

Hi,

 

In Android Code the function Build.VERSION.RELEASE returns the android version of device running the application but After porting in blackberry the same code doesn't provide the blackberry OS version.

 

Is there any way to get blackberry OS version by porting Android code on blackbery.

Please use plain text.
Trusted Contributor
imre_m
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: Unable to find the BB10 OS Version in android Code after Porting

Yes, you can get the OS version by reading the file /etc/os.version

In the same location there are also other *.version files.

 

Regards,

Imre

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.