[android-developers] Capture / Trap for ActivityNotFoundException

2009-03-15 Thread hazlema
I am playing with "android.speech.action.RECOGNIZE_SPEECH" and in the source it says to trap for ActivityNotFoundException. However, I am not sure how I can do this, the activity class doesn't support this event. I found it as part of android.content, but am not sure how to implement it. Multip

[android-developers] Database

2009-03-14 Thread hazlema
I have a problem and I have no idea whats wrong. I have a database called items and it consists of the following fields: "_id integer, list integer, category integer, item text". In my program I have a function called getItems: public Cursor getItems() { return db.query("items",