From 6f4dc54bd119203da8dd1f91e65c4e4b99ab2ff0 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 May 2023 13:20:43 +0200 Subject: menu --- app/java/src/SettingsActivity.java | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/java/src/SettingsActivity.java (limited to 'app/java/src/SettingsActivity.java') diff --git a/app/java/src/SettingsActivity.java b/app/java/src/SettingsActivity.java new file mode 100644 index 0000000..83e2661 --- /dev/null +++ b/app/java/src/SettingsActivity.java @@ -0,0 +1,41 @@ +package org.pihole.dnsproxy; + +import android.app.Activity; +import android.app.AlertDialog; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; + +import android.net.VpnService; + +import android.os.Bundle; + +import android.util.Log; + +import android.view.Menu; +import android.view.MenuInflater; +import android.view.MenuItem; +import android.view.TextureView; +import android.view.View; + +import android.widget.Button; +import android.widget.Toast; +import android.provider.Settings; + +public class SettingsActivity extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + setContentView(R.layout.settings); + + // if (setting.get(USE_WIFI_LISTENER)) + // requestPermissions(new String[]{ + // android.Manifest.permission.ACCESS_FINE_LOCATION, + // }, 1234); + // startService(WifiListenerService); + } +} -- cgit v1.2.3