Get Android Version Info
#1
Hi

Can someone point me in the right direction on how to get installed android os details?
I thought this would work but they all just return 'NONE'.

Code:
xbmc.executebuiltin('StartAndroidActivity("","android.os.Build.VERSION.CODENAME","","")')
xbmc.executebuiltin('StartAndroidActivity("","android.os.Build.VERSION.INCREMENTAL","","")')
xbmc.executebuiltin('StartAndroidActivity("","android.os.Build.VERSION.RELEASE","","")')  
xbmc.executebuiltin('StartAndroidActivity("","android.os.Build.VERSION.SDK_INT","","")')

Any help would be appreciated.
Reply
#2
Inside android? In the Kodi settings menu > system info.

Or in android settings > about


Am I confusing your question?
Reply
#3
Hi,

Thanks for your reply.

I'm trying to read the info so it can be saved as a string for coding purposes.
Reply
#4
This would be better asked in the add-on development section.

I'll move it there.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
Thanks Darren.

That makes perfect sense!
Reply
#6
I ended up reading the build.prop file and taking the info I needed from that.

Sent from my X15
Reply

Logout Mark Read Team Forum Stats Members Help
Get Android Version Info0