Page 1 of 1

device.uuid problem

Posted: Mon Jul 22, 2013 2:57 am
by Cio BB

It is found that , get device.uuid problem. As I have exported the project to eclipse and test run in emulator, following error get

Uncaught Reference Error: device is not defined at .....

I have checked that cordova.js was included in my start page .html , but still got the above error

This is my test project
http://appery.io/app/project/76a664b8...


device.uuid problem

Posted: Mon Jul 22, 2013 4:06 am
by Alena Prykhodko

Hello!

Do you use the latest version? http://developer.android.com/tools/sd...


device.uuid problem

Posted: Wed May 07, 2014 10:27 pm
by Ben6857413

ges


device.uuid problem

Posted: Wed May 07, 2014 10:27 pm
by Ben6857413

I Use Appery & I have same problem, i want get uuid

Code:alert(device.uuid);

Console:

Uncaught Reference Error: device is not defined at


device.uuid problem

Posted: Thu May 08, 2014 1:29 pm
by Evgene Karachevtsev

Hello Ben,

On what event do you run this code? Try using "deviceready" as it's stated in example in the Phonegap documentation: http://docs.phonegap.com/en/3.3.0/cor....


device.uuid problem

Posted: Sat May 17, 2014 9:48 pm
by Ben6857413

Thank you, I think the problem is the web simulator, because I tried a real phone, the program worked