I\'d like to disable screen saver while my appliction is running. How it can be done? Where is the best place to disable / enable the screen saver? in the first activity? in the
You must also add:
import android.view.WindowManager.LayoutParams;