diff --git a/src/com/upc/pbe/upcnews/MainActivity.java b/src/com/upc/pbe/upcnews/MainActivity.java index 45d970f..d39db77 100644 --- a/src/com/upc/pbe/upcnews/MainActivity.java +++ b/src/com/upc/pbe/upcnews/MainActivity.java @@ -54,16 +54,10 @@ public class MainActivity extends Activity implements OnClickListener { Request req = new Request(Uri.parse("http://10.0.2.157/upload/segments/pbe1.ts")); //req.setVisibleInDownloadsUi(false); - req.setDestinationInExternalPublicDir(Environment.getExternalStorageDirectory().toString()+"/UPC NEWS", "a.ts"); + req.setDestinationInExternalPublicDir(Environment.getExternalStorageDirectory().toString()+"/UPC NEWS", "b.ts"); manager.enqueue(req); - /*Descarrega desc = new Descarrega(manager); - try { - desc.descarrega("http://revistes.upc.es/~imanol/PBE/sample_ep_128k-00004.ts", Environment.DIRECTORY_DOWNLOADS, "marc.ts"); - } catch (IOException e) { - e.printStackTrace(); - }*/ - +