diff --git a/ClientServerLib/AndroidRemote.sln b/ClientServerLib/AndroidRemote.sln index eaf69974..321f91d1 100644 --- a/ClientServerLib/AndroidRemote.sln +++ b/ClientServerLib/AndroidRemote.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroidRemote", "AndroidRemote\AndroidRemote.csproj", "{D97EF6F3-7C3F-439F-B022-647948E206D2}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vocaluxe App", "AndroidRemote\Vocaluxe App.csproj", "{D97EF6F3-7C3F-439F-B022-647948E206D2}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +15,10 @@ Global {D97EF6F3-7C3F-439F-B022-647948E206D2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution - StartupItem = AndroidRemote.csproj + StartupItem = AndroidRemote\Vocaluxe App.csproj + Policies = $0 + $0.DotNetNamingPolicy = $1 + $1.DirectoryNamespaceAssociation = None + $1.ResourceNamePolicy = FileFormatDefault EndGlobalSection EndGlobal diff --git a/ClientServerLib/AndroidRemote/MainActivity.cs b/ClientServerLib/AndroidRemote/MainActivity.cs index f8c1203e..be0d9fa1 100644 --- a/ClientServerLib/AndroidRemote/MainActivity.cs +++ b/ClientServerLib/AndroidRemote/MainActivity.cs @@ -14,7 +14,7 @@ using Android.Provider; using ClientServerLib; using Vocaluxe.Base.Server; -namespace AndroidRemote +namespace org.vocaluxe.app { [Activity (Label = "Vocaluxe App", MainLauncher = true, ConfigurationChanges=Android.Content.PM.ConfigChanges.Orientation)] public class Activity1 : Activity @@ -36,7 +36,7 @@ namespace AndroidRemote System.IO.FileStream fs; bool sendProfile; - + protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); @@ -194,7 +194,7 @@ namespace AndroidRemote { RunOnUiThread (() => { - if (Address != "Timeout") + if (Address != CDiscover.sTimeout) { tIP.Text = Address; Connect (); diff --git a/ClientServerLib/AndroidRemote/Properties/AndroidManifest.xml b/ClientServerLib/AndroidRemote/Properties/AndroidManifest.xml index 27a886f7..d5cfa4b4 100644 --- a/ClientServerLib/AndroidRemote/Properties/AndroidManifest.xml +++ b/ClientServerLib/AndroidRemote/Properties/AndroidManifest.xml @@ -1,7 +1,7 @@  - + - + diff --git a/ClientServerLib/AndroidRemote/Properties/AssemblyInfo.cs b/ClientServerLib/AndroidRemote/Properties/AssemblyInfo.cs index 5341aa14..6bc541b2 100644 --- a/ClientServerLib/AndroidRemote/Properties/AssemblyInfo.cs +++ b/ClientServerLib/AndroidRemote/Properties/AssemblyInfo.cs @@ -5,7 +5,7 @@ using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. -[assembly: AssemblyTitle("AndroidRemote")] +[assembly: AssemblyTitle("Vocaluxe App")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] diff --git a/ClientServerLib/AndroidRemote/Resources/Resource.designer.cs b/ClientServerLib/AndroidRemote/Resources/Resource.designer.cs index c3e1d8d1..c6d2ef78 100644 --- a/ClientServerLib/AndroidRemote/Resources/Resource.designer.cs +++ b/ClientServerLib/AndroidRemote/Resources/Resource.designer.cs @@ -9,9 +9,9 @@ // //------------------------------------------------------------------------------ -[assembly: global::Android.Runtime.ResourceDesignerAttribute("AndroidRemote.Resource", IsApplication=true)] +[assembly: global::Android.Runtime.ResourceDesignerAttribute("org.vocaluxe.app.Resource", IsApplication=true)] -namespace AndroidRemote +namespace org.vocaluxe.app { diff --git a/ClientServerLib/AndroidRemote/AndroidRemote.csproj b/ClientServerLib/AndroidRemote/Vocaluxe App.csproj similarity index 97% rename from ClientServerLib/AndroidRemote/AndroidRemote.csproj rename to ClientServerLib/AndroidRemote/Vocaluxe App.csproj index d6389e8f..3a3f6891 100644 --- a/ClientServerLib/AndroidRemote/AndroidRemote.csproj +++ b/ClientServerLib/AndroidRemote/Vocaluxe App.csproj @@ -1,163 +1,163 @@ - - - - Debug - AnyCPU - 10.0.0 - 2.0 - {D97EF6F3-7C3F-439F-B022-647948E206D2} - {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Library - AndroidRemote - Resources - Assets - Resource - True - Resources\Resource.designer.cs - AndroidRemote - Properties\AndroidManifest.xml - - - true - full - false - bin\ - DEBUG;MONO - prompt - 4 - false - None - - - none - true - bin\ - prompt - 4 - false - false - MONO - true - - - - - - - - Newtonsoft.Json.MonoDroid.dll - - - - - - - - ClientServerLib\CClient.cs - - - ClientServerLib\CConnection.cs - - - ClientServerLib\Structs.cs - - - ClientServerLib\DeffieHellman\BigInt.cs - - - ClientServerLib\DeffieHellman\DeffieHellman.cs - - - ClientServerLib\DeffieHellman\StrongNumberProvider.cs - - - ClientServerLib\CDiscover.cs - - - ClientServerLib\Server\CCommands.cs - - - ClientServerLib\Server\VocaluxeStructs.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I - - - - - Attribute - - - - - EventArgs - - - - - Exception - - - - - - - - - _ - m_ - - - - - - _ - m_ - - - - - - - - - - T - - - - - - - - - - + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {D97EF6F3-7C3F-439F-B022-647948E206D2} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + org.vocaluxe.app + Resources + Assets + Resource + True + Resources\Resource.designer.cs + VocaluxeApp + Properties\AndroidManifest.xml + + + true + full + false + bin\ + DEBUG;MONO + prompt + 4 + false + None + + + none + true + bin\ + prompt + 4 + false + false + MONO + true + + + + + + + + Newtonsoft.Json.MonoDroid.dll + + + + + + + + ClientServerLib\CClient.cs + + + ClientServerLib\CConnection.cs + + + ClientServerLib\Structs.cs + + + ClientServerLib\DeffieHellman\BigInt.cs + + + ClientServerLib\DeffieHellman\DeffieHellman.cs + + + ClientServerLib\DeffieHellman\StrongNumberProvider.cs + + + ClientServerLib\CDiscover.cs + + + ClientServerLib\Server\CCommands.cs + + + ClientServerLib\Server\VocaluxeStructs.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + I + + + + + Attribute + + + + + EventArgs + + + + + Exception + + + + + + + + + _ + m_ + + + + + + _ + m_ + + + + + + + + + + T + + + + + + + + + + \ No newline at end of file diff --git a/ClientServerLib/ClientServerLib/CDiscover.cs b/ClientServerLib/ClientServerLib/CDiscover.cs index 978ae654..75df21bf 100644 --- a/ClientServerLib/ClientServerLib/CDiscover.cs +++ b/ClientServerLib/ClientServerLib/CDiscover.cs @@ -14,8 +14,8 @@ namespace ClientServerLib public class CDiscover { - public readonly string sTimeout = "Timeout"; - public readonly string sFinished = "Finished"; + public static readonly string sTimeout = "Timeout"; + public static readonly string sFinished = "Finished"; private string _Keyword; private string _BroadcastAddress;