how can i stop service in activity
<p>*I am writing this code on button click .</p>

<pre><code>public void onstopServiceClickHandler(View view){       
        Intent intent=new Intent(DownloadQueueActivity.this, ProductDownloadService.class);
        stopService(intent);        
        //lv_productList.setAdapter(downloadQueueAdapter);
        //startServiceButton.setVisibility(View.VISIBLE);
        Toast.makeText(_instance, "click stop service",Toast.LENGTH_SHORT).show();
    }*
</code></pre>

<p>but service method onDestory is called.Service is not stop.Help me how to stop service in activity</p>
