Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Voting: 
Vote up!
0 Votes
1 Replies

How to differentiate Native and Mobile web /Desktop Web?

Manikandan Venkatesan on Feb 20, 2017 07:40 EST

Posted In
Vote up!
0 votes
Vote down!

Hi Manikandan,

Please find the attached sample for reference to differentiate mobile, tablet and desktop web channels. We have setChannel functions for respective category which are added in the preappinit of the application properties of respective category.

Along with the above you can still use DeviceInfo API to get the details. Please refer below guide for more information on this.

http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/Default.htm#kony.os_objects_deviceinfo.htm%3FTocPath%3DReferences%7CDeviceInfo%2520Object%7C_____0

Hope above information helps.

 

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: Feb 21, 2017 00:35 EST
Gold