Software Archive
Read-only legacy content
17061 Discussions

Displaying device plugin properties within label is not working.

kulkarni__sameer
Beginner
244 Views
I am using device plugin and I am displaying prperties with label as innerHTML property it's not working but when display a normal string with label it's working .whenever display device.model property using alert it's working when I tested using app preview .Please help . Regards Sameer Kulkarni
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
244 Views

If you're trying to display the device.* properties you might take a look at the "hello cordova" sample to see how it does it. I suspect it is a different technique than what you are trying, but it does work.

0 Kudos
kulkarni__sameer
Beginner
244 Views

Paul F. (Intel) wrote:

If you're trying to display the device.* properties you might take a look at the "hello cordova" sample to see how it does it. I suspect it is a different technique than what you are trying, but it does work.

I got solution here

https://software.intel.com/en-us/xdk/articles/cordova-core-plugin-device-short-code-example.

Thanks for your suggestion .

Reegards

sameer kulkarni

0 Kudos
Reply