fython / PackageTracker

Track your package simply on Android.
GNU General Public License v3.0
339 stars 43 forks source link

Suggestion: detect Package number in the clipboard #36

Closed ArchieMeng closed 7 years ago

ArchieMeng commented 7 years ago

There are lots of times that user will copy package number from JD, TAOBAO or other apps. So how about detect package number from clipboard by ClipboardManager? On this way, no permission is required.

fython commented 7 years ago

Is it possible to receive a clipboard event in background? Seems Google Translate can work well. Maybe it's a good idea.

ArchieMeng commented 7 years ago

It seems possible. I found this. https://stackoverflow.com/questions/19963785/service-android-clipboard-listener