- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I try to use camera in my application.
In TEST tab, DEBUG tab, my application works well.
so, I build my application for iOS.
But , camera of build application doesn't works well.
This is code.
try{
intel.xdk.camera.takePicture(50,true,"jpg");
}catch(e){
alert(e);
}
I got error message.
ReferenceError: Can't find variable: intel
What does course this error ?
I checked plugins.
How do I do to use camera in build application?
Than you very much for your time, I look forward to hearing from you in due course.
Best regards,
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is currently a bug with plugin in XDK1878. We are working on a fix but in the mean time, it will be easier to reinstall 1826 and test with that. Its possible the plugin is not actually being included, which will cause this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks very much for your reply.
Immediately, I installed 1829 and build application.
But, application got error.
TypeError: undefined is not an object( evaluating 'intel.xdk.camera.takePicture')
The settings of my application is wrong?
I checked INTEL XDK PLUGINS/Camera.
What did course this error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
By Test or Debug do you mean you are testing that on device or emulator? Have you followed all the steps to get the certificate and provisioning profile before building your application?
Thanks,
Amrita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Yes, I mean that.
I can build application, still is provisioning profile wrong ?
And, cordova plugin camera works well, but Intel XDK plugin camera doesn't work.
Thanks,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page