How to Retrieve Terminal Information: Brand, Manufacturer, Product Model, etc.: Difference between revisions

From wizarPOS
(Created page with "There are some system property in POS, such as the brand, the manufacturer, the product model.Please look at the follow table: {| class="wikitable" |- ! Product Name/Property...")
 
No edit summary
Line 21: Line 21:
|}
|}


Android proive a easy way to get the system property, the snippet code is like:
Android provides an easy way to get the system property, the snippet code is like:
<syntaxhighlight lang="java">
<syntaxhighlight lang="java">
SystemProperties.getSystemPropertie("ro.product.model").trim();
SystemProperties.getSystemPropertie("ro.product.model").trim();
</syntaxhighlight >
</syntaxhighlight >

Revision as of 06:15, 19 November 2018

There are some system property in POS, such as the brand, the manufacturer, the product model.Please look at the follow table:

Product Name/Property Name ro.product.brand ro.product.manufacturer ro.product.model ro.wp.product.model ro.wp.product.submodel
W1 wizarPOS wizarPOS WIZARPOS_1 W1
W1V2 wizarPOS wizarPOS WIZARPOS_1 W1v2
Q1 wizarPOS wizarPOS WIZARHAND_Q1 Q1
Q14G wizarPOS wizarPOS WIZARHAND_Q1 Q1v2
Q2 wizarPOS wizarPOS WIZARPOS_Q2 Q2 Q2
K2 wizarPOS wizarPOS WIZARPOS_Q2(K2) Q2 K2
M2 wizarPOS wizarPOS WIZARPOS_Q2(M2) Q2 M2
PAD1 wizarPOS wizarPOS WIZARPAD_1 PAD1

Android provides an easy way to get the system property, the snippet code is like:

SystemProperties.getSystemPropertie("ro.product.model").trim();