I have this in the onCreate method as follows:
ListView lv = (ListView)findViewById(android.R.id.list);
adapter = new ModuleAdapter(this);
lv.setAd
ListView lv = (ListView)findViewById(android.R.id.list); - it's if you trying to get android System resources, but you want listview wich you describe on xml layout.
Let's say it's look like:
so you need change your code to
ListView lv = (ListView)findViewById(R.id.listView1);
Some explain: android.R - it's default resources of Android OS - llike buttons,images, listview items layouts and etc. R. - it' your project resoures full path likes [your package path].R for example: com.example.R