mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Add module for file picker for camera and gallery uploads (#2375)
* Use easy image for image picker * Do not use harcoded mime type * Use uploadable file for image uploads * Add picker files in filepicker module * Remove redundant checks for file * Make usage of file extensions consistent * Add javadocs * Fix tests * Enable image upload using bookmark activity * Fix multiple uploads * Fix external image uploads * Fix chooser intents * Fix image quality checks * Segregate internal and external upload intents * Invoke all error messages from one place * Minor changes * Fix tests * Add image processing service tests
This commit is contained in:
parent
fb5a40bba5
commit
52ab39381e
39 changed files with 1553 additions and 574 deletions
|
|
@ -144,6 +144,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="@dimen/subtitle_text"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/bottom_card_title"
|
||||
tools:text="1st image" />
|
||||
|
||||
|
|
|
|||
|
|
@ -463,4 +463,8 @@ Upload your first media by touching the camera or gallery icon above.</string>
|
|||
|
||||
<string name="no_notification">You have no unread Notification</string>
|
||||
<string name="share_logs_using">Share logs using</string>
|
||||
<string name="error_occurred_in_picking_images">Error occurred while picking images</string>
|
||||
<string name="image_chooser_title">Choose Images to upload</string>
|
||||
|
||||
<string name="please_wait">Please wait…</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
<paths>
|
||||
<cache-path name="images" path="images/" />
|
||||
<external-path name="Download" path="./"/>
|
||||
<root-path name="root" path="." />
|
||||
</paths>
|
||||
Loading…
Add table
Add a link
Reference in a new issue