summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-20 14:43:45 +0200
committerlado <herrlado@gmail.com>2011-10-20 14:43:45 +0200
commit8bd0d127edac4b6e3bec63e22738f631a574bf56 (patch)
treea2e8b282a89580e0cab76cb65febdf5b68058e88
parent1a5c307940d0e94be9503192cba5bc69d7f2c06e (diff)
downloadvdr-manager-8bd0d127edac4b6e3bec63e22738f631a574bf56.tar.gz
vdr-manager-8bd0d127edac4b6e3bec63e22738f631a574bf56.tar.bz2
share function
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java7
1 files changed, 7 insertions, 0 deletions
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<T extends Event> extends
BaseActivity implements OnItemClickListener,SvdrpAsyncListener<T>,
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<T extends Event> extends
Utils.stream(this, event);
break;
}
+ case MENU_REFRESH:
+ Utils.shareEvent(this, event);
+ break;
}
return true;
@@ -171,6 +177,7 @@ public abstract class BaseEventListActivity<T extends Event> extends
menu.findItem(R.id.epg_item_menu_live_tv).setVisible(true);
}
+ menu.add(MENU_GROUP_SHARE, MENU_SHARE, 0, R.string.share);
//}
}