Skip to content

Commit 5811132

Browse files
authored
Merge pull request commons-app#60 from RitikaPahwa4444/get_content_photo_picker
Remove tech jargon from photo picker related content
2 parents 055786b + 4521449 commit 5811132

File tree

2 files changed

+34
-22
lines changed

2 files changed

+34
-22
lines changed

docs.html

+34-22
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ <h2 id="getting-app-logs-from-android-studio"><a href="#getting-app-logs-from-an
107107
<li><a href="https://developer.android.com/studio/debug/am-logcat#running">View the logs</a>.</li>
108108
</ol>
109109

110-
<h2 id="get-content"><a href="#get-content">What is GET_CONTENT?</a></h2>
111-
<p>The Commons app lets you pick what picture(s) you want to upload, using either the camera button or what we call a "picker". The "custom picker" has an icon that includes a small Commons logo, because it has Commons-specific features such as checking whether a picture exists on the Commons server or not. The "normal picker" now has two variants: the "classic picker" and the "GET_CONTENT picker" (you may choose your favourite variant from Settings). To sum up, the app now has 3 pickers:</p>
110+
<h2 id="get-content"><a href="#get-content">What is Document based picker?</a></h2>
111+
<p>The Commons app lets you pick what picture(s) you want to upload, using either the camera button or what we call a "picker". The "custom picker" has an icon that includes a small Commons logo, because it has Commons-specific features such as checking whether a picture exists on the Commons server or not. The "normal picker" now has two variants: the "Document based picker" and the "Media picker" (you may choose your favourite variant from Settings). To sum up, the app now has 3 pickers:</p>
112112
<p>
113113
<ul>
114114
<li>The custom picker that you may use in the Contributions tab:</li>
@@ -118,61 +118,73 @@ <h2 id="get-content"><a href="#get-content">What is GET_CONTENT?</a></h2>
118118
<figcaption>Custom Picker</figcaption>
119119
</figure>
120120
</center>
121-
<li>The classic picker that you may use in the Contributions and Nearby tabs:</li>
121+
<li>The Document based picker that you may use in the Contributions and Nearby tabs:</li>
122122
<center>
123123
<figure>
124124
<img src="images/classic_picker.png" height="400">
125-
<figcaption>Classic Picker</figcaption>
125+
<figcaption>Document based picker</figcaption>
126126
</figure>
127127
</center>
128-
<li>The GET_CONTENT picker that you may try in the Contributions and Nearby tab, it varies from device to device:
128+
<li>The media picker that you may try in the Contributions and Nearby tab, it varies from device to device:
129129
<center>
130130
<figure>
131131
<img src="images/get_content_picker_without_takeover.png" height="400">
132-
<figcaption>GET_CONTENT picker without takeover</figcaption>
132+
<figcaption>The traditional media picker (does not strip location)</figcaption>
133133
</figure>
134134
<figure>
135135
<img src="images/get_content_picker_with_takeover.png" height="460">
136-
<figcaption>GET_CONTENT picker with takeover</figcaption>
136+
<figcaption>The new media picker (strips location)</figcaption>
137137
</figure>
138138
</center>
139139
</li>
140140
</ul>
141141
</p>
142142

143-
<h4>How is the new GET_CONTENT picker different from the classic picker?</h4>
144-
<p>Android recently introduced a new photo picker for devices having Android 11 or higher. Unfortunately, this photo picker removes location tags from the EXIF metadata of images. The new photo picker takes over GET_CONTENT on some devices. This means you will see the new photo picker and your pictures might lose location information in the EXIF metadata.</p>
145-
<p>In order to preserve location information, we decided to go with the system file picker by default for the classic picker and disabled the GET_CONTENT picker.</p>
143+
<h4>How is the new media picker (a.k.a new Android picker) different from the Document based picker?</h4>
144+
<p>Android recently introduced a new photo picker for devices having Android 11 or higher. Unfortunately, this photo picker removes location tags from the EXIF metadata of images.</p>
145+
<p>In order to preserve location information, we decided to go with the Document based picker by default and skipped the new Android picker.</p>
146146

147147
<p>To summarize the advantages and disadvantages:</p>
148148

149-
<p><b>GET_CONTENT Picker:</b>
149+
<p><b>Media Picker:</b>
150150
<ul>
151-
<li><b>Merits:</b> Lists all image providers as marked in red in the figure above, user-friendly interface.</li>
152-
<li><b>Demerit:</b> Removes location tags from EXIF metadata on some devices.</li>
151+
<li><b>Merits:</b> The traditional media picker lists all image providers as marked in red in the figure above, user-friendly interface. You may open the traditional media picker within the new media picker via "Browse" by following the steps mentioned in the next section.</li>
152+
<li><b>Demerit:</b> The new media picker removes location tags from EXIF metadata.</li>
153153
</ul>
154154
</p>
155-
<p><b>Classic Picker:</b>
155+
<p><b>Document based Picker:</b>
156156
<ul>
157157
<li><b>Merit:</b> Preserves location tags on all devices.</li>
158158
<li><b>Demerit:</b> Only allows selection from within the app and Google Drive, no third-party image providers displayed.</li>
159159
</ul>
160160
</p>
161-
<p>You may like to use the classic picker when:</p>
161+
<p>You may like to use the Document based picker when:</p>
162162
<ul>
163163
<li>You want to share the location information present in the EXIF metadata of the images</li>
164164
<li>You choose images from within the file picker and do not use any other Gallery app providers</li>
165165
</ul>
166-
<p>You may like to use the GET_CONTENT picker when:</p>
166+
<p>You may like to use the media picker when:</p>
167167
<ul>
168168
<li>You love sharing images from third-party Gallery apps and other such providers and prefer the existing UI</li>
169-
<li>You are using a device in which the new photo picker does not take over GET_CONTENT</li>
170-
<li>You do not wish to share the location information in the EXIF metadata in case GET_CONTENT takeover is enabled on your device.</li>
169+
<li>You are using a device in which the media picker does not strip location. Please refer to the images above to identify if your media picker strips location.</li>
170+
<li>You do not wish to share the location information in the EXIF metadata and want to use the new Android picker.</li>
171171
</ul>
172172

173-
<h4>Can we enjoy the GET_CONTENT picker without takeover?</h4>
174-
<p>Absolutely yes! You can easily disable the GET_CONTENT takeover on your device by running a simple command. This will enable the app to display all image providers, allowing you to use them within the app.</p>
175-
<p>To run the adb command, follow these steps:</p>
173+
<h4>Can we enjoy the third-party Gallery apps even while using the new Android photo picker?</h4>
174+
<p>Absolutely yes! You can either use 'Browse' within the new Android picker or disable the "takeover" on your device by running a simple command. This will enable the app to display all image providers, allowing you to use them within the app.</p>
175+
<h5>Method 1: Using 'Browse' within the new Android picker</h5>
176+
<p1>To open the system file picker with all the third-party Gallery apps listed, follow the steps given below:</p1>
177+
<ol>
178+
<li>Ensure that the new Android picker is enabled in the Settings.</li>
179+
<li>Open the normal picker. This will open the new Android picker for you.</li>
180+
<li>Tap the options icon (the three-dots at the top right corner).</li>
181+
<li>Click Browse.</li>
182+
<img src="images/new_android_picker_browse.gif" height="400">
183+
<li>Tap the hamburger icon (the three horizontal bars on the top left corner).</li>
184+
</ol>
185+
<p>You can now enjoy all the third-party apps without losing image location!</p>
186+
<h5>Method 2: Using adb commands</h5>
187+
<p>To run the adb commands, follow these steps:</p>
176188
<ol>
177189
<li>Enable developer options and USB debugging on your phone.</li>
178190
<li>Connect your phone to your computer using a USB cable.</li>
@@ -182,7 +194,7 @@ <h4>Can we enjoy the GET_CONTENT picker without takeover?</h4>
182194
<li>Once you have confirmed the connection, execute the following command to disable the takeover:</li>
183195
<pre><code>adb shell cmd device_config put storage_native_boot take_over_get_content false</code></pre>
184196
</ol>
185-
<p>Now you can easily access all the image providers without losing picture locations by using the GET_CONTENT picker!</p>
197+
<p>Now you can easily access all the image providers without losing picture locations while using the new Android picker!</p>
186198

187199
<p align="right"><i><a href="https://github.com/commons-app/commons-app.github.io/blob/master/docs.html">Edit this page</a></i></p>
188200
</div>

images/new_android_picker_browse.gif

14.5 MB
Loading

0 commit comments

Comments
 (0)