This is the solution I go for.
I haven't found how to get the KeyEVent for the "spyglass key" (I think it is the same as KEYCODE_ENTER), so What I did is to enable the submit button on the SearchView" and I get a call to onQueryTExtSubmit()
each time it is clicked (method of the onQueryTextListener).
sv = (SearchView) findViewById(R.id.viewer_search);
sv.setOnQueryTextListener(searchListener);
sv.setSubmitButtonEnabled(true);
sv.setIconifiedByDefault(false);
And
private OnQueryTextListener searchListener = new OnQueryTextListener() {
@Override
public boolean onQueryTextSubmit(String query) {
// do my stuff
return true;
}
. . .