Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to read static JSON or text file

$
0
0

Hi, i am new to appcelerator and have basic question i have static JSON file created and stored under my app (Appcelerator project folder structure) and want to read this file. i have no idea how to do this. i tried with file system and it worked when i create new file and read it runtime. i want to use my existing file and getting undefined is not an object error.

same tried for text file and no success.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>