[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-08 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Attachment: Picture_taken_crop_finish.png
Picture_taken_crop_start.png
Picture_taken_edit_start.png

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: Picture_taken_crop_finish.png, 
> Picture_taken_crop_start.png, Picture_taken_edit_start.png, log_error.txt, 
> two_images.png
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-04 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Attachment: two_images.png

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt, two_images.png
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-04 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15041491#comment-15041491
 ] 

graphefruit commented on CB-10064:
--

Hi,

tried it with a complete new project: Camera shows up after security question.
(The other with the .XML I try this weekend)

Camera-Edit works fine now (first run i had a crash after editing and saving 
image?? - couldn't reproduce it till now)

But one problem remains: If I edit the photo, I get now the edited picture URL. 
But in my folder are now 2 saved images both edited. -> See attachment.

I think there should just be one image, or two (edited + source - in this case 
2 URLS would be needed).

As longer the app runs, as more garbage pictures are left there.

Greetings

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt, two_images.png
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-02 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15035437#comment-15035437
 ] 

graphefruit edited comment on CB-10064 at 12/2/15 8:00 AM:
---

Hello,

tried my best with logcat, but I'm not that confident with logcat tbh.
If you need a deeper logging just let me know.
Used: adb -d logcat com.testapp.jira:* > C:\users\desktop\logfile.txt, and 
searched the crashing parts.
Edit: Log is attached.
Greetings


was (Author: graphefruit):
Hello,

tried my best with logcat, but I'm not that confident with logcat tbh.
If you need a deeper logging just let me know.
Used: adb -d logcat com.testapp.jira:* > C:\users\desktop\logfile.txt, and 
searched the crashing parts.
Greetings

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-02 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Attachment: log_error.txt

Hello,

tried my best with logcat, but I'm not that confident with logcat tbh.
If you need a deeper logging just let me know.
Used: adb -d logcat com.testapp.jira:* > C:\users\desktop\logfile.txt, and 
searched the crashing parts.
Greetings

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Issue Comment Deleted] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-02 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Comment: was deleted

(was: Hello,

tried my best with logcat, but I'm not that confident with logcat tbh.
If you need a deeper logging just let me know.
Used: adb -d logcat com.testapp.jira:* > C:\users\desktop\logfile.txt, and 
searched the crashing parts.
Edit: Log is attached.
Greetings)

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-02 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Attachment: (was: log_error.txt)

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
> Attachments: log_error.txt
>
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-01 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034187#comment-15034187
 ] 

graphefruit commented on CB-10064:
--

Android 6.0
Build Number: MRA58K.H6

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-01 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034236#comment-15034236
 ] 

graphefruit edited comment on CB-10064 at 12/1/15 6:11 PM:
---

App doesn't crash, camera just not showing up on command.

window.error doesn't say something.

Is there another place I could have a look for a log?


was (Author: graphefruit):
App doesn't crash, camera just not showing up on commanding.

window.error doesn't say something.

Is there another place I could have a look for a log?

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-01 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034236#comment-15034236
 ] 

graphefruit commented on CB-10064:
--

App doesn't crash, camera just not showing up on commanding.

window.error doesn't say something.

Is there another place I could have a look for a log?

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10064) Camera.getPicture - Wrong FileURI

2015-12-01 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034320#comment-15034320
 ] 

graphefruit commented on CB-10064:
--

Alright, I give it a try tomorrow. Can't test it earlier sorry.

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-30 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15033276#comment-15033276
 ] 

graphefruit commented on CB-10064:
--

Can't test it.
Updated my project to android-5.0 after the new (unstable-master) just works 
with >= 5.0.
If I try to start the camera, the OS asks me for camera-privilege which I 
approved -> app crash.
Next start, no more camera-privilege question, but camera don't show up (No 
JS-Error occurrence)

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-30 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15033276#comment-15033276
 ] 

graphefruit edited comment on CB-10064 at 12/1/15 7:50 AM:
---

Can't test it.
Updated my project to android-5.0 after the new (unstable-master) just works 
with >= 5.0.
If I try to start the camera, the OS asks me for camera-privilege which I 
approved -> app crash.
Next start, no more camera-privilege question, but camera don't show up (No 
JS-Error occurrence)

Edit: Camera-Version: cordova-plugin-camera 2.0.1-dev "Camera"
Platform: Installed platforms: android 5.0.0


was (Author: graphefruit):
Can't test it.
Updated my project to android-5.0 after the new (unstable-master) just works 
with >= 5.0.
If I try to start the camera, the OS asks me for camera-privilege which I 
approved -> app crash.
Next start, no more camera-privilege question, but camera don't show up (No 
JS-Error occurrence)

> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: android
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-23 Thread graphefruit (JIRA)
graphefruit created CB-10064:


 Summary: Camera.getPicture - Wrong FileURI
 Key: CB-10064
 URL: https://issues.apache.org/jira/browse/CB-10064
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 5.3.3
 Environment: Android 6.0
Reporter: graphefruit


Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});

If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
function onSuccess(_originalURI,_editedURI)
{

}

Thanks & Greetings
Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-23 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Description: 
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
{quote}
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});
{quote}
If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
{quote}
function onSuccess(_originalURI,_editedURI)
{

}
{quote}
Thanks & Greetings
Graphefruit

  was:
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});

If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
function onSuccess(_originalURI,_editedURI)
{

}

Thanks & Greetings
Graphefruit


> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: camera, edit
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {quote}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {quote}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {quote}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {quote}
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-23 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Description: 
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
{code:javascript}
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});
{code}
If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
{code:javascript}
function onSuccess(_originalURI,_editedURI)
{

}
{code}
Thanks & Greetings
Graphefruit

  was:
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
{quote}
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});
{quote}
If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
{quote}
function onSuccess(_originalURI,_editedURI)
{

}
{quote}
Thanks & Greetings
Graphefruit


> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: camera, edit
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10064) Camera.getPicture - Wrong FileURI

2015-11-23 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-10064:
-
Description: 
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
{code:javascript}
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});
{code}
If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
{code:javascript}
function onSuccess(_originalURI,_editedURI)
{

}
{code}

Edit 2:
The SourceType: NATIVE_URI and FILE_URI are affected
Thanks & Greetings
Graphefruit

  was:
Hello!

if you take a picture with cordova and need to edit the picture, you won't get 
the edited image-file-uri if the quality is set to "100".
{code:javascript}
 navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.PictureSourceType.CAMERA,
sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
allowEdit: true,
encodingType: Camera.EncodingType.PNG,
mediaType: window.Camera.MediaType.PICTURE,
targetWidth: 0,
targetHeight: 0,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
});
{code}
If the quality is set to 99 the original image will be overwritten with the 
edited image content and another image is created and saved with the edited 
image content.

At least you can then use the edited image.

Suggestion:
Pass two parameters 
{code:javascript}
function onSuccess(_originalURI,_editedURI)
{

}
{code}
Thanks & Greetings
Graphefruit


> Camera.getPicture - Wrong FileURI
> -
>
> Key: CB-10064
> URL: https://issues.apache.org/jira/browse/CB-10064
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.3.3
> Environment: Android 6.0
>Reporter: graphefruit
>  Labels: camera, edit
>
> Hello!
> if you take a picture with cordova and need to edit the picture, you won't 
> get the edited image-file-uri if the quality is set to "100".
> {code:javascript}
>  navigator.camera.getPicture(onSuccess, onFail, {
> quality: 100,
> destinationType: Camera.PictureSourceType.CAMERA,
> sourceType: sourceTypeCamera.DestinationType.NATIVE_URI
> allowEdit: true,
> encodingType: Camera.EncodingType.PNG,
> mediaType: window.Camera.MediaType.PICTURE,
> targetWidth: 0,
> targetHeight: 0,
> popoverOptions: CameraPopoverOptions,
> saveToPhotoAlbum: false
> });
> {code}
> If the quality is set to 99 the original image will be overwritten with the 
> edited image content and another image is created and saved with the edited 
> image content.
> At least you can then use the edited image.
> Suggestion:
> Pass two parameters 
> {code:javascript}
> function onSuccess(_originalURI,_editedURI)
> {
> }
> {code}
> Edit 2:
> The SourceType: NATIVE_URI and FILE_URI are affected
> Thanks & Greetings
> Graphefruit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7682) iOS 8 - Cant load image of documentsfolder

2014-10-06 Thread graphefruit (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160180#comment-14160180
 ] 

graphefruit commented on CB-7682:
-

Any ideas?

 iOS 8 - Cant load image of documentsfolder
 --

 Key: CB-7682
 URL: https://issues.apache.org/jira/browse/CB-7682
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
 Environment: Mac, Cordova, AngularJS
Reporter: graphefruit

 Hello together,
 I have a simple app which downloads an image from the internet, stores it 
 into the /documents folder, use the fileEntry.fullPath and sets this path 
 into the image-src.
 img src =../../Documents/test.png
 With the new iOS 8 Version, the image isn't displayed anymore, with iOS 7 no 
 problems.
 fileEntry.fullPath, fileEntry.toInternalURL(), fileEntry.toURL(), 
 fileEntry.toNativeURL() etc, didn't have any affect.
 (That description is just a simple case, the app itself is much more bigger)
 Can you help me please?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-7682) iOS 8 - Cant load image of documentsfolder

2014-10-01 Thread graphefruit (JIRA)
graphefruit created CB-7682:
---

 Summary: iOS 8 - Cant load image of documentsfolder
 Key: CB-7682
 URL: https://issues.apache.org/jira/browse/CB-7682
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
 Environment: Mac, Cordova, AngularJS
Reporter: graphefruit
Priority: Blocker


Hello together,

I have a simple app which downloads an image from the internet, stores it into 
the /documents folder, use the fileEntry.fullPath and sets this path into the 
image-src.


img src =../../Documents/test.png

With the new iOS 8 Version, the image isn't displayed anymore, with iOS 7 no 
problems.

fileEntry.fullPath, fileEntry.toInternalURL(), fileEntry.toURL(), 
fileEntry.toNativeURL() etc, didn't have any affect.

Can you help me please?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CB-7682) iOS 8 - Cant load image of documentsfolder

2014-10-01 Thread graphefruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

graphefruit updated CB-7682:

Description: 
Hello together,

I have a simple app which downloads an image from the internet, stores it into 
the /documents folder, use the fileEntry.fullPath and sets this path into the 
image-src.


img src =../../Documents/test.png

With the new iOS 8 Version, the image isn't displayed anymore, with iOS 7 no 
problems.

fileEntry.fullPath, fileEntry.toInternalURL(), fileEntry.toURL(), 
fileEntry.toNativeURL() etc, didn't have any affect.

(That description is just a simple case, the app itself is much more bigger)
Can you help me please?

  was:
Hello together,

I have a simple app which downloads an image from the internet, stores it into 
the /documents folder, use the fileEntry.fullPath and sets this path into the 
image-src.


img src =../../Documents/test.png

With the new iOS 8 Version, the image isn't displayed anymore, with iOS 7 no 
problems.

fileEntry.fullPath, fileEntry.toInternalURL(), fileEntry.toURL(), 
fileEntry.toNativeURL() etc, didn't have any affect.

Can you help me please?

   Priority: Major  (was: Blocker)

 iOS 8 - Cant load image of documentsfolder
 --

 Key: CB-7682
 URL: https://issues.apache.org/jira/browse/CB-7682
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
 Environment: Mac, Cordova, AngularJS
Reporter: graphefruit

 Hello together,
 I have a simple app which downloads an image from the internet, stores it 
 into the /documents folder, use the fileEntry.fullPath and sets this path 
 into the image-src.
 img src =../../Documents/test.png
 With the new iOS 8 Version, the image isn't displayed anymore, with iOS 7 no 
 problems.
 fileEntry.fullPath, fileEntry.toInternalURL(), fileEntry.toURL(), 
 fileEntry.toNativeURL() etc, didn't have any affect.
 (That description is just a simple case, the app itself is much more bigger)
 Can you help me please?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)