我想要通过长按一个列表项弹出分享功能,
点击分享能调用安卓自带的分析功能,我已经实现到这一步了
但是点击分享却没有调用,下面是我想调用系统分析的代码
switch (item.getItemId()) {
case R.id.context_delete:
int noteId = (int)info.id;
if (noteId > 0)
_db.deleteNote(noteId);
reloadNote();
// Returns to the caller and skips further processing.
return true;
case R.id.context_share:
int noteId1 = (int)info.id;
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.ACTION_SEND,noteId1);
default:
return super.onContextItemSelected(item);
}
应该怎样才能调用啊?
http://blog.csdn.net/xyz_lmn/article/details/16856843
http://blog.sina.com.cn/s/blog_4b20ae2e0101estd.html