I am trying to call the following function from a static method.
File directory = getDir(folderName, Context.MODE_PRIVATE);
Any suggestions on how to fix Cannot make a static reference to the non-static method getDir(String, int) from the type ContextWrapper
Do
Also look here for a better explanation of what you were doing wrong.