how to dial special charaters in Uri method?
<p>Hi I'm making an application to automate/activate call forwarding via sms all are working except of parsing some characters for the call forwarding code..</p>

<p>this is my code to execute the call forwarding code which is documented here: <a href="http://en.wikipedia.org/wiki/Call_forwarding#Keypad_codes" rel="nofollow">http://en.wikipedia.org/wiki/Call_forwarding#Keypad_codes</a></p>

<pre><code>Intent callIntent = new Intent(Intent.ACTION_CALL);
                callIntent.setData(Uri.parse("tel:"+Uri.encode("#")+Uri.encode("#")+"21"+Uri.encode("#")));
                ((Intent)callIntent).addFlags(268435456);
                this.context.startActivity((Intent)callIntent);
</code></pre>

<p>the code to cancel the call is ##21# but my application always got an error and looks like it cannot read my command as posted above but if I will dial it manually it is fine..</p>
