diff --git a/app/src/main/java/protect/babymonitor/MonitorActivity.java b/app/src/main/java/protect/babymonitor/MonitorActivity.java index e283180..e915734 100644 --- a/app/src/main/java/protect/babymonitor/MonitorActivity.java +++ b/app/src/main/java/protect/babymonitor/MonitorActivity.java @@ -203,27 +203,6 @@ public class MonitorActivity extends Activity super.onDestroy(); } - @Override - public boolean onCreateOptionsMenu(Menu menu) - { - // Inflate the menu; this adds items to the action bar if it is present. - getMenuInflater().inflate(R.menu.start, menu); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) - { - // Handle action bar item clicks here. The action bar will - // automatically handle clicks on the Home/Up button, so long - // as you specify a parent activity in AndroidManifest.xml. - int id = item.getItemId(); - if (id == R.id.action_settings) { - return true; - } - return super.onOptionsItemSelected(item); - } - private void registerService(final int port) { final NsdServiceInfo serviceInfo = new NsdServiceInfo(); diff --git a/app/src/main/res/menu/start.xml b/app/src/main/res/menu/start.xml deleted file mode 100644 index 3c9aad9..0000000 --- a/app/src/main/res/menu/start.xml +++ /dev/null @@ -1,11 +0,0 @@ -