- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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,

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite