error in setting an apn in android application
<p>I am working on an android application in which i want to set apn. Tried the code posted on stackoverflow,Can anyone guide me in this problem ?
Following is the code i used.I applied this code on button click..</p>

<pre><code>Intent intent = new Intent(Settings.ACTION_APN_SETTINGS);
                startActivity(intent);
</code></pre>

<p>But how can i set the default apn in android application</p>
