Display a variable in Android Widget
<p>I have a String variable that is declared and edited in the Main Activity.</p>

<p>I would like it to be display in a widget, but not sure how.</p>

<p>In the Widget file I have:</p>

<pre><code>remoteViews.setTextViewText(R.id.widgetAmount, String.valueOf(number))
</code></pre>

<p>but the number variable is declared in another class.</p>
