Use a variable in a URL object in Android
<p>Can I use a variable in the following code?</p>

<pre><code>String Var = "\"http://dl.dropbox.com/u/44966/xml%20roma.xml\"";
URL url1 = new URL(Var);
</code></pre>

<p>Is it only allowed to use a literal string, as in the following line?</p>

<pre><code>URL url1 = new URL("http://dl.dropbox.com/u/44966/xml%20roma.xml");
</code></pre>

<p>In my application it is imperative that I use a variable.</p>
