From 8bd0d127edac4b6e3bec63e22738f631a574bf56 Mon Sep 17 00:00:00 2001 From: lado Date: Thu, 20 Oct 2011 14:43:45 +0200 Subject: share function --- .../src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java index 09ee612..f240aa3 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java @@ -41,6 +41,9 @@ public abstract class BaseEventListActivity extends BaseActivity implements OnItemClickListener,SvdrpAsyncListener, SimpleGestureListener { + public static final int MENU_GROUP_SHARE = 90; + + public static final int MENU_SHARE = 90; private SimpleGestureFilter detector; protected EpgClient epgClient; @@ -120,6 +123,9 @@ public abstract class BaseEventListActivity extends Utils.stream(this, event); break; } + case MENU_REFRESH: + Utils.shareEvent(this, event); + break; } return true; @@ -171,6 +177,7 @@ public abstract class BaseEventListActivity extends menu.findItem(R.id.epg_item_menu_live_tv).setVisible(true); } + menu.add(MENU_GROUP_SHARE, MENU_SHARE, 0, R.string.share); //} } -- cgit v1.2.3