Languages

Menu
Sites
Language
_deviceModel paramater on IAP

Hello, 

I would like to know the role of _deviceModel when using IAP.

_deviceModel is actually defined in SampleWeb source while it is not described in the IAP document.  

I didn't care it and just used it as the sample's way until 1.0.8 IAP package is released.

However, the IAP works with _deviceModel = "" on v1.0.8.

I am wondering what is right behavior finally and what should I do with _deviceModel when normal mode.

 

Thanks,

Responses

5 Replies
Raghu Kona

Hi,

As you can see from the application, it has two modes

Developer mode: here you can select the supported country list and test without SIM card or test in any part of the geographical area.

Normal mode: This works only with valid SIM (SIM card from France, Ukrain, Russia and Japan carriers) or based on GeoIP (Geogrphical IP – User needs to be present in either France, Ukrain, Russia and Japan). Finally you can use this mode, once the Tizen device is available in the market.

Regards,

Raghu Kona

Unseon Ryu

Sorry for the unclear point on my question.

I just would like to know
whether It would be OK if I use _deviceModel with null string now and the future on develope mode
and whether it is used on normal mode.

Thanks,

Raghu Kona

Hi,

You can use SystemInfo API to get the device model, using 'model' property in SystemInfoBuild.

Please refer https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/systeminfo.html or 

https://developer.tizen.org/documentation/articles/system-information-api-guide for reference. I am not really sure about the value in final version, may be we shall wait for the updated version of IAP.

Regards,

Raghu Kona

Mallikarjun Hunalli

Hi Ryu,

You no need to set the deviceModel, as its taken care by IAPClient. It will read the value from systeminfo as Raghu explained.

Br,

Mallikarjun

 

Unseon Ryu

Thank you, now it is clear.