

src/com/cookbook/activity_lifecycle/ActivityLifecycle.java package com.cookbook. (This is similar to taking an incoming phone call.)

imgnew ImageView(this) // give the drawble resource for the ImageView img. Recipe: Utilizing Other Lifecycle Functions setImageResource(R.drawable.android) TextView text (TextView) layout.
