aboutsummaryrefslogtreecommitdiffstats
path: root/Software
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-05-07 19:20:41 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-05-07 19:20:41 +0300
commitae628de00d95cfa2982ee9f90ac0d1a44ca80109 (patch)
tree90e7d8f362970ae6b5c56703de2997b415a9fc09 /Software
parentb6a210c5b82c2cf0215e8cdb61e1ab2c1b43f0dd (diff)
downloadTango-ae628de00d95cfa2982ee9f90ac0d1a44ca80109.tar.gz
Tango-ae628de00d95cfa2982ee9f90ac0d1a44ca80109.zip
Working on TCC...
Diffstat (limited to 'Software')
-rw-r--r--Software/Android_Studio/ColorCapture/app/build.gradle105
-rw-r--r--Software/Android_Studio/KeyStore/private_key.pepkbin0 -> 1776 bytes
-rw-r--r--Software/Android_Studio/KeyStore/tcc_key.jksbin0 -> 2287 bytes
-rw-r--r--Software/Graphics/Mobile/Google Play/Result.jpgbin0 -> 83864 bytes
-rw-r--r--Software/Graphics/Mobile/Google Play/Snap.jpgbin0 -> 227435 bytes
-rw-r--r--Software/Graphics/Mobile/Google Play/SnapMatch for play store.docxbin0 -> 108095 bytes
-rw-r--r--Software/Graphics/Mobile/Google Play/Welcome.jpgbin0 -> 181795 bytes
-rw-r--r--Software/Graphics/Mobile/Google Play/feature.pngbin0 -> 544662 bytes
-rw-r--r--Software/Visual_Studio/Notes/Tango.Notes/TCC/Play Console.txt6
-rw-r--r--Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj3
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.Service/Web.config1
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs44
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs2
13 files changed, 93 insertions, 68 deletions
diff --git a/Software/Android_Studio/ColorCapture/app/build.gradle b/Software/Android_Studio/ColorCapture/app/build.gradle
index 8a0752b39..3aa149370 100644
--- a/Software/Android_Studio/ColorCapture/app/build.gradle
+++ b/Software/Android_Studio/ColorCapture/app/build.gradle
@@ -52,63 +52,80 @@ android {
}
}
- splits {
+// splits {
+//
+// // Configures multiple APKs based on ABI.
+// abi {
+//
+// // Enables building multiple APKs per ABI.
+// enable true
+//
+// // By default all ABIs are included, so use reset() and include to specify that we only
+// // want APKs for x86 and x86_64.
+//
+// // Resets the list of ABIs that Gradle should create APKs for to none.
+// reset()
+//
+// // Specifies a list of ABIs that Gradle should create APKs for.
+// include "armeabi-v7a", "arm64-v8a", "x86"
+//
+// // Specifies that we do not want to also generate a universal APK that includes all ABIs.
+// universalApk false
+// }
+// }
- // Configures multiple APKs based on ABI.
+ // Add this block and enable/disable the parameters as follows
+ bundle {
+ density {
+ // Different APKs are generated for devices with different screen densities; true by default.
+ enableSplit false
+ }
abi {
-
- // Enables building multiple APKs per ABI.
- enable true
-
- // By default all ABIs are included, so use reset() and include to specify that we only
- // want APKs for x86 and x86_64.
-
- // Resets the list of ABIs that Gradle should create APKs for to none.
- reset()
-
- // Specifies a list of ABIs that Gradle should create APKs for.
- include "armeabi-v7a", "arm64-v8a", "x86"
-
- // Specifies that we do not want to also generate a universal APK that includes all ABIs.
- universalApk false
+ // Different APKs are generated for devices with different CPU architectures; true by default.
+ enableSplit true
+ }
+ language {
+ // This is disabled so that the App Bundle does NOT split the APK for each language.
+ // We're gonna use the same APK for all languages.
+ enableSplit false
}
}
}
// Map for the version code that gives each ABI a value.
-ext.abiCodes = ['armeabi-v7a':1, 'arm64-v8a':2, 'x86':3]
+//ext.abiCodes = ['armeabi-v7a':1, 'arm64-v8a':2, 'x86':3]
-import com.android.build.OutputFile
+//import com.android.build.OutputFile
// For each APK output variant, override versionCode with a combination of
// ext.abiCodes * 1000 + variant.versionCode. In this example, variant.versionCode
// is equal to defaultConfig.versionCode. If you configure product flavors that
// define their own versionCode, variant.versionCode uses that value instead.
-android.applicationVariants.all { variant ->
-
- // Assigns a different version code for each output APK
- // other than the universal APK.
- variant.outputs.each { output ->
-
- // Stores the value of ext.abiCodes that is associated with the ABI for this variant.
- def baseAbiVersionCode =
- // Determines the ABI for this variant and returns the mapped value.
- project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
-
- // Because abiCodes.get() returns null for ABIs that are not mapped by ext.abiCodes,
- // the following code does not override the version code for universal APKs.
- // However, because we want universal APKs to have the lowest version code,
- // this outcome is desirable.
- if (baseAbiVersionCode != null) {
-
- // Assigns the new version code to versionCodeOverride, which changes the version code
- // for only the output APK, not for the variant itself. Skipping this step simply
- // causes Gradle to use the value of variant.versionCode for the APK.
- output.versionCodeOverride =
- baseAbiVersionCode * 1000 + variant.versionCode
- }
- }
-}
+//android.applicationVariants.all { variant ->
+//
+// // Assigns a different version code for each output APK
+// // other than the universal APK.
+// variant.outputs.each { output ->
+//
+// // Stores the value of ext.abiCodes that is associated with the ABI for this variant.
+// def baseAbiVersionCode =
+// // Determines the ABI for this variant and returns the mapped value.
+// project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
+//
+// // Because abiCodes.get() returns null for ABIs that are not mapped by ext.abiCodes,
+// // the following code does not override the version code for universal APKs.
+// // However, because we want universal APKs to have the lowest version code,
+// // this outcome is desirable.
+// if (baseAbiVersionCode != null) {
+//
+// // Assigns the new version code to versionCodeOverride, which changes the version code
+// // for only the output APK, not for the variant itself. Skipping this step simply
+// // causes Gradle to use the value of variant.versionCode for the APK.
+// output.versionCodeOverride =
+// baseAbiVersionCode * 1000 + variant.versionCode
+// }
+// }
+//}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
diff --git a/Software/Android_Studio/KeyStore/private_key.pepk b/Software/Android_Studio/KeyStore/private_key.pepk
new file mode 100644
index 000000000..a714f2044
--- /dev/null
+++ b/Software/Android_Studio/KeyStore/private_key.pepk
Binary files differ
diff --git a/Software/Android_Studio/KeyStore/tcc_key.jks b/Software/Android_Studio/KeyStore/tcc_key.jks
new file mode 100644
index 000000000..f0197550f
--- /dev/null
+++ b/Software/Android_Studio/KeyStore/tcc_key.jks
Binary files differ
diff --git a/Software/Graphics/Mobile/Google Play/Result.jpg b/Software/Graphics/Mobile/Google Play/Result.jpg
new file mode 100644
index 000000000..840418b39
--- /dev/null
+++ b/Software/Graphics/Mobile/Google Play/Result.jpg
Binary files differ
diff --git a/Software/Graphics/Mobile/Google Play/Snap.jpg b/Software/Graphics/Mobile/Google Play/Snap.jpg
new file mode 100644
index 000000000..6a9b01adb
--- /dev/null
+++ b/Software/Graphics/Mobile/Google Play/Snap.jpg
Binary files differ
diff --git a/Software/Graphics/Mobile/Google Play/SnapMatch for play store.docx b/Software/Graphics/Mobile/Google Play/SnapMatch for play store.docx
new file mode 100644
index 000000000..2f792b533
--- /dev/null
+++ b/Software/Graphics/Mobile/Google Play/SnapMatch for play store.docx
Binary files differ
diff --git a/Software/Graphics/Mobile/Google Play/Welcome.jpg b/Software/Graphics/Mobile/Google Play/Welcome.jpg
new file mode 100644
index 000000000..380deb0bd
--- /dev/null
+++ b/Software/Graphics/Mobile/Google Play/Welcome.jpg
Binary files differ
diff --git a/Software/Graphics/Mobile/Google Play/feature.png b/Software/Graphics/Mobile/Google Play/feature.png
new file mode 100644
index 000000000..71d858c3e
--- /dev/null
+++ b/Software/Graphics/Mobile/Google Play/feature.png
Binary files differ
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/TCC/Play Console.txt b/Software/Visual_Studio/Notes/Tango.Notes/TCC/Play Console.txt
new file mode 100644
index 000000000..ccb3dde0d
--- /dev/null
+++ b/Software/Visual_Studio/Notes/Tango.Notes/TCC/Play Console.txt
@@ -0,0 +1,6 @@
+TCC GMail.
+
+First Name: Twine
+Last Name: TCC
+Email: twine.tcc@gmail.com
+Password: 1Creativity \ No newline at end of file
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
index 2ce33c1c4..2e8171a87 100644
--- a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
+++ b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
@@ -51,13 +51,14 @@
<Content Include="PPC\Virtual Flash Drive.txt" />
<Content Include="PPC\Windows 10 LTSB.txt" />
<Content Include="PPC\Touch.txt" />
+ <Content Include="TCC\Play Console.txt" />
<Content Include="TeamViewer\License.txt" />
<Content Include="VMWare\License Key.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
+ <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.Service/Web.config b/Software/Visual_Studio/TCC/Tango.TCC.Service/Web.config
index 831e845aa..d84b6b117 100644
--- a/Software/Visual_Studio/TCC/Tango.TCC.Service/Web.config
+++ b/Software/Visual_Studio/TCC/Tango.TCC.Service/Web.config
@@ -46,6 +46,7 @@
</appSettings>
<system.web>
+ <customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.6.1">
</compilation>
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs b/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs
index 04d22a7b6..a6cb84c5f 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs
@@ -11,29 +11,29 @@ using Tango.Core.Helpers;
namespace Tango.BL
{
- public class ObservablesContextConfiguration : DbConfiguration
- {
- public static String FolderPath { get; private set; }
+ //public class ObservablesContextConfiguration : DbConfiguration
+ //{
+ // public static String FolderPath { get; private set; }
- static ObservablesContextConfiguration()
- {
- FolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Twine", "Tango", "EFCache", Path.GetFileNameWithoutExtension(AppDomain.CurrentDomain.FriendlyName));
- }
+ // static ObservablesContextConfiguration()
+ // {
+ // FolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Twine", "Tango", "EFCache", Path.GetFileNameWithoutExtension(AppDomain.CurrentDomain.FriendlyName));
+ // }
- public ObservablesContextConfiguration() : base()
- {
- Directory.CreateDirectory(FolderPath);
- var modelStore = new DefaultDbModelStore(FolderPath);
- SetModelStore(modelStore);
- }
+ // public ObservablesContextConfiguration() : base()
+ // {
+ // Directory.CreateDirectory(FolderPath);
+ // var modelStore = new DefaultDbModelStore(FolderPath);
+ // SetModelStore(modelStore);
+ // }
- public static void ClearModelStore()
- {
- try
- {
- Directory.Delete(FolderPath);
- }
- catch { }
- }
- }
+ // public static void ClearModelStore()
+ // {
+ // try
+ // {
+ // Directory.Delete(FolderPath);
+ // }
+ // catch { }
+ // }
+ //}
}
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs b/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs
index 9f6797b9a..de882c910 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs
@@ -227,7 +227,7 @@ namespace Tango.BL
/// </summary>
public static void ClearModelStore()
{
- ObservablesContextConfiguration.ClearModelStore();
+ //ObservablesContextConfiguration.ClearModelStore();
}
/// <summary>