Just our of curiousity, I wanna know how the android system knows what method calls to automatically make. In other words, how is the SDK communicating with the android system? There are a lot of things that are going on behind the scenes, but how does android know what to call automatically? For example onCreate or onPause or onStop, These are all methods that are automatically called when an activity changes state, but how does Android know that?