On Android, it’s a declaration to the system that you would like to scan a barcode. ![]() ![]() If you weren’t lucky, it was a few months of research & haphazard coding to figure out how to do that yourself. Want to scan a barcode? In the olden platforms, if you were lucky, this involved time and effort finding and comparing barcode-scanning libraries that handled as much as possible of camera interaction, image processing, an internal database of barcode formats, and UI cues to the user of what was going on. Whenever the subsequently called activities B, C or D finish and need to pass data back to A, now you need to. For example, imagine your Activity A (Main Activity) could call Activity B (Camera Request), Activity C (Audio Recording), Activity D (Select a Contact). One of those actions is the ACTIONSEND command. The requestCode helps you to identify from which Intent you came back. They are my favorite feature of Android development. Intents allow us to communicate data between Android apps and implicit intents can also accept actions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |