can i setup a onItemClickListener in android system 's sms inbox to start a custom activity?

39 Views Asked by At

in my acticity ,i open the android system's sms inbox with this code:


Intent mIntent = new Intent(); mIntent.setClassName("com.android.mms", "com.android.mms.ui.ConversationList"); startActivity(mIntent);

how can i set a onItemClickLietener to start my custom activity ?

1

There are 1 best solutions below

0
On BEST ANSWER

i open the android system's sms inbox with this code

Note that many Android users do not use this app, and I would not be surprised if many Android devices do not have this activity.

how can i set a onItemClickLietener to start my custom activity ?

You can't. You are welcome to write your own SMS client app, though.