diff --git a/ClientServerLib/AndroidRemote/MainActivity.cs b/ClientServerLib/AndroidRemote/MainActivity.cs index ff59e44b..73a17639 100644 --- a/ClientServerLib/AndroidRemote/MainActivity.cs +++ b/ClientServerLib/AndroidRemote/MainActivity.cs @@ -16,15 +16,14 @@ using Vocaluxe.Base.Server; namespace AndroidRemote { - [Activity (Label = "Vocaluxe Remote", MainLauncher = true)] + [Activity (Label = "Vocaluxe Remote", MainLauncher = true, ConfigurationChanges=Android.Content.PM.ConfigChanges.Orientation)] public class Activity1 : Activity { CClient client = new CClient(); Button bConnect; Button bLogin; - Button bUp; - Button bDown; Button bSendAvatar; + Button bSendProfile; bool loggedIn; byte[] fileBytes; @@ -32,6 +31,8 @@ namespace AndroidRemote Java.IO.File file; Java.IO.File dir; System.IO.FileStream fs; + + bool sendProfile; protected override void OnCreate (Bundle bundle) { @@ -47,21 +48,14 @@ namespace AndroidRemote bLogin = FindViewById