📜 ⬆️ ⬇️

Android Intents Library

image

As you know, Android provides an excellent opportunity to delegate part of the functionality of your application to third-party through intents . In other words, we can send the necessary intent to the system and a third-party application will do all the necessary work for us, returning the finished result to us.

Examples of such actions may be scanning a QR code, sending an SMS message, a call, capturing the camera image of the phone, viewing the address or coordinates on a map, etc.
')
For different tasks in the intent it is necessary to specify different action, category, type, extras. And since this code is repeated from application to application and in order not to look for information about the required extent on stackoverflow each time, I decided to collect such intents into the library .


At the moment, the collection has the following intents:


image
There is also a small demo that demonstrates work with existing intents, which can be downloaded from Google Play .

If someone has thoughts about what intentions are missing, what could be improved or added - welcome!

Source: https://habr.com/ru/post/190668/


All Articles