Mishaal Rahman Profile picture
Apr 3 9 tweets 3 min read Twitter logo Read on Twitter
The Chrome team continues evaluating how they'll implement support for the Android Photo Picker. Recently they added a flag that controls what Picker is launched:

1) ACTION_GET_CONTENT intent
2) ACTION_PICK_IMAGES intent
3) ACTION_PICK_IMAGES "Plus" intent
4) Chrome Picker Image
4360520: [MediaPicker]: Add four variations for launch. | chromium-review.googlesource.com/c/chromium/src…

"It is not entirely clear which way of launching the Media Picker is the right one for Chrome, so we're adding four variations to allow for some experimentation."

H/T LanceAdams on Telegram
1) GET_CONTENT is currently handled by DocumentsUI (the system file picker). Google is experimenting with having the new Android Photo Picker "take over" handling of the GET_CONTENT intent. This briefly rolled out in November but was reverted.

blog.esper.io/android-photo-…
2) ACTION_PICK_IMAGES intent is the standard way to invoke the framework Photo Picker on Android 11+ (though Chrome stills seems to require Android 13?). Through GMS, Photo Picker is also backported to Android 4.4+

blog.esper.io/android-photo-…
3) ACTION_PICK_IMAGES "Plus" is interesting. The MIME type is set to */* (ie. all) which Photo Picker does not handle and instead forwards to DocumentsUI. It seems the Chrome team wants the Photo Picker team to add a way to force the Photo Picker to show the "browse" button...
...in the overflow menu; currently this "browse" button only appears when the Photo Picker is invoked through the GET_CONTENT takeover, and tapping it opens the system file picker/DocumentsUI. ImageImage
I personally think this would be useful; give users the option to open the more feature-rich DocumentsUI, no matter how the Photo Picker is invoked, while still defaulting to the prettier Photo Picker for image/video selection.
4) Chrome Picker, this just launches the old in-app media picker, which means you have to grant Chrome gallery access permissions.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Mishaal Rahman

Mishaal Rahman Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MishaalRahman

Apr 5
Google Play has just announced a new data deletion policy that I welcome 🎉

If your Android app allows users to create an account, then Google Play will eventually require you to offer a way for users to initiate account AND data deletion from within the app and from the web.
Google Play will require that the web link for account/data deletion be provided to users through your app's Data Safety section, as shown in the GIF embedded above. This is so users can request deletion WITHOUT reinstalling your app.
When completing the Data Safety form, there'll be new questions related to this data deletion policy. Google's asking developers to submit answers by December 7, 2023. Sometime in early 2024, users will see the new data deletion badge and area in apps' store listings.
Read 5 tweets
Apr 5
Magisk v26.0 has been released 🎉

Here's the full changelog:

Big thanks to @topjohnwu, @vvb2060, yujincheng08, and others for continuing to maintain this excellent tool! v26.0 changelog: [General] ...
Read 4 tweets
Apr 5
Although Google Play currently lets you install Cross-Device Services onto any Android 13 device, the Android-to-Chromebook app streaming feature will NOT work for you unless you the app was already preinstalled in the OS by the OEM. Image
For example, I could install Cross-Device Services onto my Zenfone 8 running Android 13. It installs fine, but it will never work for one reason: It can't get the permissions it needs! Image
Problem 1: Priv-app permissions. Cross-Device Services requests several permissions that can only be granted to privileged apps (located in a priv-app directory) through Android's privileged permission allowlisting mechanism. This must be done at build time by the OEM. Image
Read 8 tweets
Apr 5
I'm writing this tweet from a Chromebook that has Twitter for Android streamed to it from a Pixel 6 Pro running Android 13!
Manually enabled the new "app streaming" feature.

There was a bug preventing it from working on Android 14 DP2, so I downgraded one of my Pixels to Android 13 and then got it to work 😁 ImageImage
Read 9 tweets
Apr 5
Uhhh, Google Pay seems to just be randomly giving users free money right now.

I just opened Google Pay and saw that I have $46 in "rewards" that I got "for dogfooding the Google Pay Remittance experience."

What. Image
Some users on Reddit have gotten over a couple hundred dollars!!! One user says they got $1,072. Wtf.

reddit.com/r/GooglePixel/…
Open GPay, swipe to the "Deals" tab, and see if you have any "rewards" near the top. That's where I'm seeing this.

I suspect this is an error, so that money is just gonna sit in my account for now lol.
Read 4 tweets
Apr 4
Google is finally rolling out the "app streaming" feature they first announced at CES 2022!

This feature uses new APIs in Android 13 to let you stream and control your Android apps from your Chromebook!

This won't be a Pixel-exclusive feature, either! ImageImageImageImage
Full list of devices that are currently expected to support app streaming:

* Pixels
* ASUS Zenfone 9
* Nothing Phone 1
* OPPO A78 5G
* OPPO Find N2 Flip
* Redmi A2
* Redmi Note 12
* Xiaomi 12T
* Xiaomi 12T Pro
I've got it set up. Here are screenshots of the setup process.

Phone: Pixel 6a running Android 14 DP2
Chromebook: HP Chromebook X2 on Chrome OS Version 114.0.5691.0 ImageImage
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(