@Override public void onItemClick(AdapterView<?> arg0, View view, int pos, long arg3) { // TODO Auto-generated method stub try { Intent intent = new Intent(); intent.setAction("jimome.action.sendtext"); intent.putExtra("text", baseJson.getTexts()[pos]); context.sendBroadcast(intent); context.finish(); } catch (Exception e) { // TODO: handle exception } }