onActivityResult Archives - Androhub

Camera Banner

Android working with Camera

Today we are going to learn how to capture image via Camera in Android. Integrating camera can be done in two ways. One is to use android inbuilt camera app which is very easy process. This method won’t give you much control over camera as everything is taken care by inbuilt camera app. This way

Read More
StartActivityForResult Banner

Android StartActivityForResult

In Android we can pass data from one activity to another via Intent using startActivity(). The syntax for this is shown below :

Similarly we can get data from our other activity that is opened by an activity like SecondActivity from MainActivity and we need some message from SecondActivity back again to MainActivity so for this

Read More