Page 1 of 1

get value from android os data

Posted: February 28th, 2024, 4:12 am
by provogrammer2
Hi,

How to get information from android data, for example I want to get android.os.Build.MANUFACTURER, how to get it using systemapp or other function in cspro if possible?

Thanks in advance,

Re: get value from android os data

Posted: February 28th, 2024, 9:30 am
by justinlakier
Hello,

CSPro's GetOS Function can return the name, version, and build of the OS. It does not return more detailed information such as the manufacturer. CSPro does support integration of JavaScript, and JavaScript can support finding the manufacturer of a device. This StackOverflow post contains a few different possible ways to find the manufacturer in JavaScript.

Hope this helps,
Justin

Re: get value from android os data

Posted: April 16th, 2024, 10:15 am
by Gregory Martin
If you are using paradata, you can query the paradata log. That Build.MANUFACTURER value is logged in the device_info table, device_manufacturer column.

You can query the paradata log using the paradata function, or the Sqlite.exec action:

https://www.csprousers.org/help/CSPro/C ... _exec.html
https://www.csprousers.org/help/CSPro/C ... adata.html
https://www.csprousers.org/help/CSPro/p ... ction.html