Commit cae4a18d6b3b5fa2cf342b7bd94d0ebf668a498d

Authored by Imanol-Mikel Barba Sabariego
1 parent 439ae266

--no commit message

src/com/upc/pbe/upcnews/MainActivity.java
... ... @@ -24,12 +24,10 @@ public class MainActivity extends Activity implements OnClickListener {
24 24 super.onCreate(savedInstanceState);
25 25 setContentView(R.layout.main_activity);
26 26 Log.d(TAG, "onCreated");
27   - Log.d(TAG,((UpcApp)getApplication()).getLocalPath());
28 27 File tempFolder = new File(((UpcApp)getApplication()).getLocalPath());
29   - boolean success = tempFolder.mkdirs();
30   - if(success)
  28 + if(tempFolder.mkdirs())
31 29 {
32   - Log.d(TAG,"Directory created");
  30 + Log.d(TAG,"Directory " + tempFolder.toString() + " created");
33 31 }
34 32 buttonDescarrega = (ImageButton) findViewById(R.id.button);
35 33 buttonDescarrega.setOnClickListener(this);
... ...