'On Android, send Chrome webpage content to app using Share option
On Android, other than using a bookmarklet, can I send webpage content from Chrome to my app?
I know I can do it using a bookmarklet, but it's a bother for users to add and use the bookmarklet. I'd prefer to have my app added to Chrome's share menu. I know I can send the webpage URL this way, but I need to inject JS, do stuff, and send the result to my app. I also know that I can inject JS into a webview in my own app, but that's not what I'm looking for.
This would be the equivalent of an iOS Action extension on Safari.
I know it didn't used to be possible, but figure I'd check again. It's been several years.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
