![]() Please subscribe to watch that and more Android tutorials like this. I am working on the video tutorial of this article and will upload it on my YouTube channel soon. In this second scenario, Android system will open the user-preferred Camera app, capture the image and deliver the requested data to your activity by calling onActivityResult() method. You either write your own custom Camera or delegate the task of fetching an image to Android through Intents. Let’s elaborate through an example: your app wants to capture an image and display it to the user. Through the combination of these two parts, developers are able to transfer data from one Activity to another and get data back easily. Until now, Intents and onActivityResult were the only choice. ![]() One of the most common tasks in apps is transferring data between two Activities. Since Android came into existence in 2007, Activity has been one of its core components.
0 Comments
Leave a Reply. |