あなたが疑問に思うのは、「numY」の値が変更される傾向があるときは言及していないので、無視します。しかし、おそらく AsynTask を使って、このタスクをあなたのアプリケーションの背景。
ここにあなたを始められる何かがあります:
if (numx > numy) {
EditText mNumXEdit = (EditText) findViewById("etnumx");
mNumXEdit.RequestFocus();//focus the View
//sends Toast notification to user in order to alert him he needs to take action
Toast.makeText(getApplicationContext(),
"[ENTER MESSAGE]",
Toast.LENGTH_LONG).show();
}