Android Training/Getting a Result from the Activity

From Android Wiki