-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* GH-341 - GH-577 Fixed the Save Photo To Album starting from camera - Android - saveToPhotoAlbum feature fixed by taken into count content - uri. (writeUncompressedImage method) ( see: #611 (comment) ) - make saveToPhotoAlbum future proof by using the MediaStore to insert the taken image - made a method to calculate the compressFormat based on the encodingType (JPEG or PNG) - layout of the performCrop method is adjusted - removed unused rotate variable inside processResultFromGallery method * Add extra VO class to the plugin.xml * added package declaration to new VO * GH-341 - GH-577 #669 (comment) listen to review
- Loading branch information
1 parent
43d6591
commit ebe0517
Showing
3 changed files
with
109 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.apache.cordova.camera; | ||
|
||
public class GalleryPathVO { | ||
private final String galleryPath; | ||
private String picturesDirectory; | ||
private String galleryFileName; | ||
|
||
public GalleryPathVO(String picturesDirectory, String galleryFileName) { | ||
this.picturesDirectory = picturesDirectory; | ||
this.galleryFileName = galleryFileName; | ||
this.galleryPath = this.picturesDirectory + "/" + this.galleryFileName; | ||
} | ||
|
||
public String getGalleryPath() { | ||
return galleryPath; | ||
} | ||
|
||
public String getPicturesDirectory() { | ||
return picturesDirectory; | ||
} | ||
|
||
public String getGalleryFileName() { | ||
return galleryFileName; | ||
} | ||
} |