Software Archive
Read-only legacy content
17061 Discussions

Debug camera functionality using connected device & get image name

I have developed an expense claim application using intel XDK 
It helps user to get a picture of their  expense bills and store it on the phone, so that he can claim it later time.
In earlier Intel XDK version I could able to debug the app coz there was a debug tab but with the newer version (after 2016 Dec - debug tab is removed) I won't be able to debug for my camera
As well as I need to save the captured image into a photo album and save the image name into local storage. Then later time retrieve and show the image by name 
1. How can I debug remote connected device camera?
2. How can I get Image name and path using imageURI from following code?
here is my code
        return {
        restrict: 'A',
        require: 'ngModel',
        link: function (scope, elm, attrs, ctrl) {
            elm.on('click', function () {
                    function (imageURI) {
                    function (err) {
                        ctrl.$setValidity('error', false);
                    }, {
                        quality: 50,
                        destinationType: Camera.DestinationType.FILE_URI,
                        correctOrientation: true,
                         saveToPhotoAlbum: true
0 Kudos
1 Reply

Please do not "shotgun" the forum by making the same post on multiple threads, it ends up wasting the valuable time of the support personnel and just results in confusion. We are not available 24/7, so it may take time to see a response, but we do try to respond to all posts. See this post on another thread > < I'm closing this thread to avoid duplication.

0 Kudos