Commit 745a1c94c125de5ae9735910ae421cf2a111f923
1 parent
c3be8f46
build fix
Showing
4 changed files
with
3 additions
and
13 deletions
VitamioBundle/.project
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <projectDescription> | 2 | <projectDescription> |
3 | - <name>io.vov.vitamio.activity.InitActivity</name> | 3 | + <name>VitamioBundle</name> |
4 | <comment></comment> | 4 | <comment></comment> |
5 | <projects> | 5 | <projects> |
6 | </projects> | 6 | </projects> |
project.properties
src/com/upc/pbe/upcnews/BandwidthMeasurer.java
@@ -16,8 +16,7 @@ public class BandwidthMeasurer { | @@ -16,8 +16,7 @@ public class BandwidthMeasurer { | ||
16 | Log.d(TAG, "Diferencia de temps = " + TimeDifference / 1000); | 16 | Log.d(TAG, "Diferencia de temps = " + TimeDifference / 1000); |
17 | Log.d(TAG, "Diferencia de bytes = " + rxDiff); | 17 | Log.d(TAG, "Diferencia de bytes = " + rxDiff); |
18 | if (rxDiff != 0) { | 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 | Log.d(TAG, "Velocitat actual (KB/s): " + (bps / 8e3)); | 20 | Log.d(TAG, "Velocitat actual (KB/s): " + (bps / 8e3)); |
22 | } else { | 21 | } else { |
23 | bps = -1; // No s'han trasmès dades | 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,7 +14,6 @@ public class UpcApp extends Application implements | ||
14 | final static String TAG = "Aplicacio"; | 14 | final static String TAG = "Aplicacio"; |
15 | private SharedPreferences prefs; // Conjunt de preferencies de l'aplicacio | 15 | private SharedPreferences prefs; // Conjunt de preferencies de l'aplicacio |
16 | private String url = null; | 16 | private String url = null; |
17 | - private String desc; | ||
18 | private final static String localPath = Environment.getExternalStorageDirectory().getPath() + "/UPC NEWS/"; | 17 | private final static String localPath = Environment.getExternalStorageDirectory().getPath() + "/UPC NEWS/"; |
19 | private HLS h; | 18 | private HLS h; |
20 | private int quality; | 19 | private int quality; |
@@ -58,12 +57,4 @@ public class UpcApp extends Application implements | @@ -58,12 +57,4 @@ public class UpcApp extends Application implements | ||
58 | public void onSharedPreferenceChanged(SharedPreferences arg0, String key) { | 57 | public void onSharedPreferenceChanged(SharedPreferences arg0, String key) { |
59 | Log.d(TAG, "onSharedPreferenceChanged for key: " + key); | 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 | \ No newline at end of file | 61 | \ No newline at end of file |