[android-developers] Re: Accessing a class function from another class

2012-03-29 Thread Matt Green
Hi Lew, Yeah, my terminology was a bit off. I've got a class, an instance of which is run at program start: public class ServerPushActivity extends Activity { ListView listView1; LogItemAdapter logItemAdapter; ArrayListLogRecord logs; public void updateList(){

[android-developers] Re: Accessing a class function from another class

2012-03-29 Thread Matt Green
Hi Lew, Yeah, my terminology was a bit off. I've got a class, an instance of which is run at program start: public class ServerPushActivity extends Activity { ListView listView1; LogItemAdapter logItemAdapter; ArrayListLogRecord logs; public void updateList(){

[android-developers] Re: Accessing a class function from another class

2012-03-27 Thread Lew
Matt Green wrote: I've not been doing Android (or Java) programming very long, so I'm still getting my head around the android/Java specific features. I'm trying to integrate C2DM into a simple app I've made. My current app grabs some JSON data and puts it into a ListView, this is all