Default Android screen on/off settings

is there any way to set phone set only to turn screen on when i get phone call, everything else stay off
my pocket is sending stupid texts or something....