8

Can't start Activity from ListActivity

view full story
linux-howto

http://stackoverflow.com – I don't know what's wrong with this code. My app crashes when I run it. Here's the code: package com.example.smsTest; import java.util.List; import android.app.ListActivity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; public class Messages extends ListActivity { Button btnNew; private SQLiteAdapter mySQLiteAdapter; private Broadcas (HowTos)