Use this code for get all information

O/P: (in emulator)

in Android Phone :