Commit 745a1c94c125de5ae9735910ae421cf2a111f923

Authored by Imanol-Mikel Barba Sabariego
1 parent c3be8f46

build fix

VitamioBundle/.project
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <projectDescription>
3   - <name>io.vov.vitamio.activity.InitActivity</name>
  3 + <name>VitamioBundle</name>
4 4 <comment></comment>
5 5 <projects>
6 6 </projects>
... ...
project.properties
... ... @@ -12,4 +12,4 @@
12 12  
13 13 # Project target.
14 14 target=android-10
15   -android.library.reference.1=../../UPC NEWS/VitamioBundle
  15 +android.library.reference.1=VitamioBundle
... ...
src/com/upc/pbe/upcnews/BandwidthMeasurer.java
... ... @@ -16,8 +16,7 @@ public class BandwidthMeasurer {
16 16 Log.d(TAG, "Diferencia de temps = " + TimeDifference / 1000);
17 17 Log.d(TAG, "Diferencia de bytes = " + rxDiff);
18 18 if (rxDiff != 0) {
19   - bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en
20   - // bits per segon.
  19 + bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en bits per segon.
21 20 Log.d(TAG, "Velocitat actual (KB/s): " + (bps / 8e3));
22 21 } else {
23 22 bps = -1; // No s'han trasmès dades
... ...
src/com/upc/pbe/upcnews/UpcApp.java
... ... @@ -14,7 +14,6 @@ public class UpcApp extends Application implements
14 14 final static String TAG = "Aplicacio";
15 15 private SharedPreferences prefs; // Conjunt de preferencies de l'aplicacio
16 16 private String url = null;
17   - private String desc;
18 17 private final static String localPath = Environment.getExternalStorageDirectory().getPath() + "/UPC NEWS/";
19 18 private HLS h;
20 19 private int quality;
... ... @@ -58,12 +57,4 @@ public class UpcApp extends Application implements
58 57 public void onSharedPreferenceChanged(SharedPreferences arg0, String key) {
59 58 Log.d(TAG, "onSharedPreferenceChanged for key: " + key);
60 59 }
61   -
62   - public void setDesc(String s) {
63   - desc = s;
64   - }
65   -
66   - public String getDesc() {
67   - return desc;
68   - }
69 60 }
70 61 \ No newline at end of file
... ...