Updating gradle for SpeakerLocator app
authorrtrimana <rtrimana@uci.edu>
Tue, 16 Jan 2018 18:07:16 +0000 (10:07 -0800)
committerrtrimana <rtrimana@uci.edu>
Tue, 16 Jan 2018 18:07:16 +0000 (10:07 -0800)
benchmarks/other/PhoneInterface/SpeakerLocator/app/build.gradle
benchmarks/other/PhoneInterface/SpeakerLocator/app/src/main/java/com/example/xub3/speakerlocator/MainActivity.java
benchmarks/other/PhoneInterface/SpeakerLocator/app/src/main/res/values/strings.xml
benchmarks/other/PhoneInterface/SpeakerLocator/build.gradle
benchmarks/other/PhoneInterface/SpeakerLocator/gradle/wrapper/gradle-wrapper.properties

index 3d9830af7400194cee725cd4282ca52ee4d6759f..d56e24368d1a38242f3a1cb29fd2d41a4d6d3d97 100644 (file)
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 23
-    buildToolsVersion "23.0.3"
+    buildToolsVersion '25.0.0'
     useLibrary 'org.apache.http.legacy'
     defaultConfig {
         applicationId "com.example.xub3.speakerlocator"
index 87af3e05dadf35d6c25c90edf6a469ac4bf25bb5..a8b6b9287b7a7ffe8778ea3f4060e6e59f8d95a5 100644 (file)
@@ -23,7 +23,6 @@ import com.google.android.gms.appindexing.AppIndex;
 import com.google.android.gms.common.api.GoogleApiClient;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -68,9 +67,9 @@ public class MainActivity extends AppCompatActivity implements PositionListener
                initializePositioning();
                FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
                tv = (TextView) findViewById(R.id.hellotext);
-               if (helper.httpclient == null) {
-                       helper.setConnection(getApplicationContext().getResources().getString(R.string.gateway_ip));
-               }
+//             if (helper.httpclient == null) {
+//                     helper.setConnection(getApplicationContext().getResources().getString(R.string.gateway_ip));
+//             }
                fab.setOnClickListener(new View.OnClickListener() {
                        @Override
                        public void onClick(View view) {
@@ -121,8 +120,8 @@ public class MainActivity extends AppCompatActivity implements PositionListener
                File file = new File(Environment.getExternalStorageDirectory(), "positioningPersistence.xml");
                try {
                        positionManager = new PositionManager(file);
-                       Log.d("positionManager", "initialized");
-                       System.out.println("PositionManager: Initialized successfully!");
+                       //Log.d("positionManager", "initialized");
+                       //System.out.println("PositionManager: Initialized successfully!");
                } catch (PositioningPersistenceException e) {
                        e.printStackTrace();
                }
index 6e357b590e06e63973904bddacc80970fb985ddb..c87cf7f9128f7d11ab2a6b7f3992e13c82886bee 100644 (file)
@@ -1,9 +1,9 @@
 <resources>
     <string name="app_name">SpeakerLocator</string>
     <string name="action_settings">Settings</string>
-    <string name="gateway_ip">192.168.2.191</string>
-    <string name="mac_1">74:da:38:68:72:84</string>
-    <string name="mac_2">00:24:98:9a:92:ee</string>
+    <string name="gateway_ip">192.168.0.84</string>
+    <string name="mac_1">b0:b9:8a:73:69:f4</string>
+    <string name="mac_2">b0:b9:8a:73:69:f3</string>
     <string name="mac_3">00:24:98:9a:92:ef</string>
     <string name="mac_4">00:24:98:98:8a:51</string>
     <string name="mac_5">00:24:98:98:8a:50</string>
index 74b2ab0dd88f66079893ee7c77a46dbace4f0fde..c2eea8e27fd12cc1e274a0940f06f350e855e20f 100644 (file)
@@ -5,7 +5,7 @@ buildscript {
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.2.3'
+        classpath 'com.android.tools.build:gradle:2.3.3'
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
index b963a84fe65eee71efa801226fe7d4e857232cd9..1dd327cc67c9b282749f1d2f9e018a47b4cea6bb 100644 (file)
@@ -1,6 +1,6 @@
-#Mon Feb 20 08:45:44 PST 2017\r
-distributionBase=GRADLE_USER_HOME\r
-distributionPath=wrapper/dists\r
-zipStoreBase=GRADLE_USER_HOME\r
-zipStorePath=wrapper/dists\r
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip\r
+#Tue Jan 16 09:33:57 PST 2018
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip