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

Re: get value from android os data

Posted: May 12th, 2024, 5:42 pm
by adam anbar
Hi,

To get the android.os.Build.MANUFACTURER value in CSPro, you can utilize the device_info table in the paradata log as Gregory Martin mentioned. This is a reliable way to access the manufacturer's information without needing additional JavaScript integrations. Just follow the links Gregory provided for detailed guidance on using the paradata function and Sqlite.exec action.