Calculator app for Android
<p>I'm thinking about an algorithm for building a calculator. My first idea was to do an array and after click some button save the value of pressed button to this array. And after click the button "=" I would walked this array via cycle for (for example) and from entered value I will make up the expression - for example:
 1.iteration - "5"
 2.iteration - "5"
 3.iteration - "+"
 4.iteration - "8"
 END OF ARRAY</p>

<p>So the result expression will be: 55+8</p>

<p>But I'm not sure, if this idea is right - I think it's a bit complication -- exist some pretty way, how to do?</p>

<p>Thanks</p>
