This is a migrated thread and some comments may be shown as answers.

Project Importing ERROR

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hasnain
Top achievements
Rank 1
Hasnain asked on 29 Jan 2014, 12:48 PM
Hi,
Hasnain here
Sir i am importing my project i am getting the following errors kindly tell me how to resolve them...Errors are the following
"gap:["NetworkStatus","getConnectionInfo","NetworkStatus0",true]"
gap:["Device","getDeviceInfo","Device1",true]
gap_init:
gap_callbackServer:

When i am launching my application in the simulator i am getting the above errors.

Thanks

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 Jan 2014, 03:06 PM
Hello Hasnain,

The javascript you've posted is inherent for PhoneGap project and is not applicable to Cordova projects. Please refer to the code snippets from the Cordova documentation for ways how to utilize Cordova API.

Regards,
Steve
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Tags
General Discussions
Asked by
Hasnain
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or