This question is locked. New answers and comments are not allowed.
I've got a strange behaviour with my app.
First some infos:
I created a clean App (AppBuilder) used Ionic framework.
Now i've implemented a TakePicture method.
This work fine, except the app restarts after taking a pic and clicking ok.
code:
As far i never had this problem with Kendo UI Mobile.
Now the strange thing i don't have the problem in companion app.
Is the companion app build with special settings that a normal app is not?
do i have to change a setting?
someone has the same problem?
First some infos:
I created a clean App (AppBuilder) used Ionic framework.
Now i've implemented a TakePicture method.
This work fine, except the app restarts after taking a pic and clicking ok.
code:
$scope.GetPicture = function() { navigator.camera.getPicture($scope.onCaptureSuccess, $scope.onCaptureError, { quality: 75, destinationType: Camera.DestinationType.DATA_URL, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, allowEdit: true, targetWidth: 165, targetHeight: 165 }); }$scope.onCaptureSuccess = function(imageData) { var smallImage = document.getElementById('personImage'); smallImage.style.display = 'block'; smallImage.src = "data:image/jpeg;base64," + imageData[0];};$scope.onCaptureError = function(e) { alert(e);};As far i never had this problem with Kendo UI Mobile.
Now the strange thing i don't have the problem in companion app.
Is the companion app build with special settings that a normal app is not?
do i have to change a setting?
someone has the same problem?
