Application context returning null when using getFilesDir()
问题 I don't know why this is happening. When i check the DDMS there is no files dir too. I'm trying to access this folder at my Application subclass. Any idea why this is happening? I need the application context to be global so I can use on classes that doesn't extends Activity. package mci.multipratic; import java.io.File; import java.io.FileInputStream; import java.util.Properties; import android.app.Application; import android.content.Context; public class MultiPraticApp extends Application {