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/AndroidRemote.csproj b/ClientServerLib/AndroidRemote/AndroidRemote.csproj
deleted file mode 100644
index be3a86b4..00000000
--- a/ClientServerLib/AndroidRemote/AndroidRemote.csproj
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
- 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
- SdkOnly
- MONO
-
-
-
-
-
-
-
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ClientServerLib/AndroidRemote/MainActivity.cs b/ClientServerLib/AndroidRemote/MainActivity.cs
index 4eecab0f..9c86ac57 100644
--- a/ClientServerLib/AndroidRemote/MainActivity.cs
+++ b/ClientServerLib/AndroidRemote/MainActivity.cs
@@ -14,43 +14,47 @@ using Android.Provider;
using ClientServerLib;
using Vocaluxe.Base.Server;
-namespace AndroidRemote
+namespace org.vocaluxe.app
{
- [Activity (Label = "Vocaluxe Remote", MainLauncher = true, ConfigurationChanges=Android.Content.PM.ConfigChanges.Orientation)]
+ [Activity (Label = "Vocaluxe App", MainLauncher = true, ConfigurationChanges=Android.Content.PM.ConfigChanges.Orientation)]
public class Activity1 : Activity
{
+ private readonly int REQUEST_TAKE_PICTURE = 1;
+ private readonly int REQUEST_PICK_PICTURE = 2;
+
CClient client = new CClient();
+ CDiscover discover;
Button bConnect;
- Button bLogin;
Button bSendAvatar;
Button bSendProfile;
TextView tIP;
TextView tPassword;
- bool loggedIn;
+ ProgressDialog pDialog;
+
byte[] fileBytes;
Java.IO.File file;
+ Java.IO.File file2;
Java.IO.File dir;
System.IO.FileStream fs;
bool sendProfile;
-
+
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
-
- loggedIn = false;
-
- // Set our view from the "main" layout resource
+
SetContentView (Resource.Layout.Main);
+ pDialog = new ProgressDialog (this);
+ pDialog.SetCancelable (false);
bConnect = FindViewById