How to get the current Time
<p>How to get the current time in Android?</p>

<p>When i use </p>

<pre><code>int hours = java.sql.Time.this.getHours();
</code></pre>

<p>i get the error:</p>

<pre><code>No enclosing instance of the type Time is accessible in scope
</code></pre>
