On some customer devices calling getExternalFilesDir( null )
(and rarely getFilesDir()
) from Application.onCreate()
returns null.
The documentation says nothing about not being able to call these methods from an Application object and on most devices they work just fine. Anybody have any idea why these methods would return null and should I call them exclusively from an Activity object?