How to read file for android build

Hi, I am trying to read a txt file which is inside a folder called “maps” for my current application. Android have no system.resourcedirectory. How am I going to do that? [import]uid: 181558 topic_id: 34701 reply_id: 334701[/import]

There are certain file types that are automatically extracted so that you can access them. See this forum thread:

http://developer.coronalabs.com/forum/2012/12/04/no-resource-folder-android

If your files are .txt files, system.pathForFile() should extract them and let you read them from system.ResourcesDirectory. Note the discussion about folders and such inside the zip file.
[import]uid: 199310 topic_id: 34701 reply_id: 137994[/import]

There are certain file types that are automatically extracted so that you can access them. See this forum thread:

http://developer.coronalabs.com/forum/2012/12/04/no-resource-folder-android

If your files are .txt files, system.pathForFile() should extract them and let you read them from system.ResourcesDirectory. Note the discussion about folders and such inside the zip file.
[import]uid: 199310 topic_id: 34701 reply_id: 137994[/import]