Can anyone tell what is the C# equivalent of
Environment.GetFolderPath (Environment.SpecialFolder.Personal)
in Android?
I use monodevelop for android development.
Can anyone tell what is the C# equivalent of
Environment.GetFolderPath (Environment.SpecialFolder.Personal)
in Android?
I use monodevelop for android development.
You usually don't need it since creating/reading files etc without pathing them uses this directory:
public String getApplicationDataDirectory() throws Exception
{
return getApplicationContext().getPackageManager().getPackageInfo(getPackageName(), 0).applicationInfo.dataDir;
}