How to capture object or record for inbuilt applications, like settings, calendar, phonebook..etc

My app always talks to inbuilt apps to login with different user modes, Hence Need to record or capture object id’s for inbuilt apps