I am getting this exception while I am trying to call an activity from another one. The complete exception is
android.content.ActivityNotFoundExcept
Looking at the documentation here what you want is:
intent.setClassName("com.x.y", "className");