cordova app file path in android code example
Example: cordova js how to load local file in subdir
var path = window.location.href.replace('index.html', '');
var jsonFile = path + "menus/" + menuc + ".json";
$.getJSON(jsonFile, function(result) {
sortAllergies(result);
});