Make list within another app
<p>I did listview tutorial. I can't see how to integrate the list making program into another program I have.</p>

<p>I want to fill an array with sensor input values in one method of my public class, and then display the array as a list after that. </p>

<p>Is it possible to call the list making code as a function, in response to some user activity within the 'sensor' method? How do I do this?</p>

<p>Excuse me if this is stupid, I am a beginner to Java. </p>

<p>Any advice appreciated.</p>
