Cio BB
Posts: 0
Joined: Fri Feb 08, 2013 7:56 am

device.uuid problem

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...

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

device.uuid problem

Hello!

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

Ben6857413
Posts: 0
Joined: Wed May 07, 2014 10:27 pm

device.uuid problem

ges

Ben6857413
Posts: 0
Joined: Wed May 07, 2014 10:27 pm

device.uuid problem

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

Code:alert(device.uuid);

Console:

Uncaught Reference Error: device is not defined at

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

device.uuid problem

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....

Ben6857413
Posts: 0
Joined: Wed May 07, 2014 10:27 pm

device.uuid problem

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

Return to “Issues”