Starting new activity does not pause current
<p>in my Code I am calling a new activity but the old one gets not paused</p>

<pre><code>@Override
public boolean onTouch(View v, MotionEvent event) {
    if (event.getAction() == MotionEvent.ACTION_DOWN) {
        float x = event.getX();
        float y = event.getY();
        float[] userCordinates = new float[2];

        userCordinates[0] = x;
        userCordinates[1] = y;
        userSequence.add(userCordinates);
        for (int r = 0; r &lt; copySeq.size(); r++) {
            ImageView iv = (ImageView) (findViewById((Integer) copySeq.get(r)));
            int[] loc = new int[2];
            iv.getLocationOnScreen(loc);
            float xRangeMax = iv.getRight();
            float xRangeMin = iv.getLeft();
            float yRangeMax = iv.getBottom();
            float yRangeMin = iv.getTop();

            Integer point = (Integer)copySeq.get(r);

            if (x &lt;= xRangeMax &amp;&amp; x &gt;= xRangeMin
                &amp;&amp; y &lt;= yRangeMax &amp;&amp; y &gt;= yRangeMin) { 
                if(copyColor.get(r).equals("green")){
                Intent intent = new Intent(this, ChildLevel.class);
    startActivity(intent);
            }
            break;
        }
    }
}
</code></pre>

<p>When the new <code>Activity</code> is started this code snip in the current <code>Activity</code> is executed but it should be executed when I am coming back. E.g. this <code>Activity</code> should be paused at exactly in this point.</p>

<pre><code>    if (userSequence.size() &gt;= finalSequence.size()) {
        childLevel=false;
        save();
        check(userSequence);
        touchView.setEnabled(false);
    }
}    
return false;
</code></pre>

<p>Could anyone please tell me what I am doing wrong? Thanks!</p>