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 3d9830a..d56e243 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 87af3e0..a8b6b92 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 6e357b5..c87cf7f 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 74b2ab0..c2eea8e 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 b963a84..1dd327c 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