Commit 2121290e68b5036c828d21ed23f766dd8cd4affa

Authored by Imanol-Mikel Barba Sabariego
1 parent 8a68e8c4

--no commit message

src/com/upc/pbe/upcnews/MainActivity.java
@@ -54,16 +54,10 @@ public class MainActivity extends Activity implements OnClickListener { @@ -54,16 +54,10 @@ public class MainActivity extends Activity implements OnClickListener {
54 Request req = new Request(Uri.parse("http://10.0.2.157/upload/segments/pbe1.ts")); 54 Request req = new Request(Uri.parse("http://10.0.2.157/upload/segments/pbe1.ts"));
55 55
56 //req.setVisibleInDownloadsUi(false); 56 //req.setVisibleInDownloadsUi(false);
57 - req.setDestinationInExternalPublicDir(Environment.getExternalStorageDirectory().toString()+"/UPC NEWS", "a.ts"); 57 + req.setDestinationInExternalPublicDir(Environment.getExternalStorageDirectory().toString()+"/UPC NEWS", "b.ts");
58 manager.enqueue(req); 58 manager.enqueue(req);
59 59
60 - /*Descarrega desc = new Descarrega(manager);  
61 - try {  
62 - desc.descarrega("http://revistes.upc.es/~imanol/PBE/sample_ep_128k-00004.ts", Environment.DIRECTORY_DOWNLOADS, "marc.ts");  
63 - } catch (IOException e) {  
64 - e.printStackTrace();  
65 - }*/  
66 - 60 +
67 61
68 62
69 63