Software Archive
Read-only legacy content
17061 Обсуждение

Cordova Camera PlugIn

matteo_l_1
Начинающий
519Просмотр.

Hi All,

I have made a simple app with the example of cordova camera plugin with intel xdk and i have a problem:

The camera start on Android but not on IOS, wich could be the cause?

Thanks to all 

Matteo

 

0 баллов
3 Ответы
John_H_Intel2
Сотрудник
519Просмотр.

Can you post you code that you are trying to use?

What plugins do you have selected?

matteo_l_1
Начинающий
519Просмотр.

Hi JOHN

I use the standard code navigator.camera.getPicture() of the cordova camera plugin...it work on android but not in IOS...

what could be the problem?

Need other plugin?

Setting of IOS?

Making a search in google i found only one that have use a previous version of cordova instead the vesrsion 3.5 but i can't change the version for a test with intel XDK...

 

THANKS mATTEO

PaulF_IntelCorp
Сотрудник
519Просмотр.

You can change the Cordova CLI version to 4.1.2 to get the latest Cordova framework for your devices. Also, update the camera plugin to the latest version (using the "reset versions" link in the "Plugins" section of the "Projects" tab, after you set the Cordova CLI version to 4.1.2 in the "Crosswalk for Android" tab of the "Build Settings" on that same tab).

Ответить