Creating directories on Android

Discussion about using Moai SDK - post questions, issues, and ideas here.

Moderators: naturally, seebs

Creating directories on Android

Postby glen » Fri May 04, 2012 3:34 pm

Has anyone been able to get MOAIFileSystem.affirmPath to work on the documents directory in android? It always seems to fail for me.

UPDATE: Issue solved. A fix checked in by Patrick 17 days ago to moai-dev solves this. Android NDK or zipfs munges the input string, so the buffer was getting blown away after the first pass. Since android document directory paths looks like: /data/data/your-app/files. The only call that made it to mkdir was "/data/"
glen
 
Posts: 30
Joined: Fri Jan 06, 2012 4:11 pm

Return to Moai SDK

Who is online

Users browsing this forum: No registered users and 2 guests

x