MODE_WORLD_WRITEABLE is deprecated?
<pre><code>File f = new File(MainActivity.appContext.getFilesDir(), "Captured.jpg");
                f.delete();
                //Create new file
                FileOutputStream fos = MainActivity.appContext.openFileOutput("Captured.jpg", Context
                        .MODE_WORLD_WRITEABLE);
                //FileOutputStream out = new FileOutputStream(file);

                fos.close();
                //Get reference to the file
                filezz = new File(MainActivity.appContext.getFilesDir(), "Captured.jpg");
</code></pre>

<p>as MODE_WORLD_WRITEABLE is deprecated and i don't want to go with that code so</p>

<p>can i get the replcement of above code ?</p>