<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Filesystem access on android</title>
		<link>http://www.allegro.cc/forums/view/617625</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 18 Nov 2018 04:40:12 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When writing an android app using allegro (NDK), i need to be able to write to the actual filesystem. I know that I can use al_android_set_apk_file_interface() and     al_android_set_apk_fs_interface() to set the filesystem to the apk, but I need to be able to write to the actual filesystem to save my config files and to read user themes.</p><p>When trying to use al_path_cstr() on android without setting the apk file interface, the program segfaults.</p><p>How does one access the main/external flash?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Sat, 17 Nov 2018 23:57:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Does your program request, and have, permission to access the file system?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sun, 18 Nov 2018 00:00:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>al_set_standard_file_interface otherwise to switch back
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sun, 18 Nov 2018 00:01:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nope it&#39;s returning nulls when I try and do anything with the &quot;normal&quot; filesystem. When I try and get a path, it segfaults </p><p>Here&#39;s my test program</p><p>== EDIT == <br />I got it  never mind
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Sun, 18 Nov 2018 01:37:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Please share the solution. How do you access the filesystem on Android?</p><p>I see, test_path was NULL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 18 Nov 2018 03:19:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yea, I wasn&#39;t assigning test_path to anything. It&#39;s really tough to get meaningful errors out of an Android app. I use stdout/stderr to log my debug messages, and those are piped to /dev/null on the platform <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Also it looks like the android version of allegro deson&#39;t support Android Video.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nshade)</author>
		<pubDate>Sun, 18 Nov 2018 04:40:12 +0000</pubDate>
	</item>
</rss>
