void Window3() { if (GUI.Button(NewRect(5, 5, 40, 10), "Show Alert", style)) { AndroidNativeFunctions.ShowAlert("This Message", "This Title", "Ok", "Back", "Later", ShowAlertAction); } if (GUI.Button(NewRect(5, 20, 40, 10), "Show Alert Input", style)) { AndroidNativeFunctions.ShowAlertInput("This Text", "This Message", "This Title", "Ok", "Cancel", ShowAlertInputAction); } if (GUI.Button(NewRect(5, 35, 40, 10), "Show Alert List", style)) { AndroidNativeFunctions.ShowAlertList("This Title", new string[] { "Blue", "Red", "Green", "Yellow" }, ShowAlertListAction); } if (GUI.Button(NewRect(5, 50, 40, 10), "Set Max Volume Level", style)) { AndroidNativeFunctions.SetTotalVolume(15); // 15 Max } if (GUI.Button(NewRect(5, 65, 40, 10), "Set Min Volume Level", style)) { AndroidNativeFunctions.SetTotalVolume(0); //0 Min } if (GUI.Button(NewRect(55, 5, 40, 10), "Get Volume Level", style)) { print("Volume Level: " + AndroidNativeFunctions.GetTotalVolume()); } if (GUI.Button(NewRect(55, 20, 40, 10), "is Connect Internet", style)) { print("is Connect Internet: " + AndroidNativeFunctions.isConnectInternet()); } if (GUI.Button(NewRect(55, 35, 40, 10), "is Connect WiFi", style)) { print("is Connect Wifi: " + AndroidNativeFunctions.isConnectWifi()); } if (GUI.Button(NewRect(55, 50, 40, 10), "Get Battery Level", style)) { print("Battery Level: " + AndroidNativeFunctions.GetBatteryLevel()); } if (GUI.Button(NewRect(55, 65, 40, 10), "Send Email", style)) { AndroidNativeFunctions.SendEmail("Android Native Functions Super Unitypackage.", "Android Native Functions", "*****@*****.**"); } if (GUI.Button(NewRect(5, 80, 40, 10), "<<", style)) { window = 2; } if (GUI.Button(NewRect(55, 80, 40, 10), ">>", style)) { window = 1; } }