accessibilityservice - Get share content through accessibility in android app -
i have android app, lets people share content other apps it. when receives shared data, looks url in shared text , fetches page , processing on data fetched. designed specific purpose , not generic apps.
it works fine, except people have click share icon , choose our app name. accessibility can reduce work users. able text displayed in app.
- is possible content if click share button. or
- is possible trigger share button , choose our app without disturbing user in anyway
you try if it's 1 specific app. see question how click button in settings using accessibilityservice? clicks button. not scale if want more apps. parse text on screen , http links , process them in background service , show floating button link bubble browser
Comments
Post a Comment