public class Utils {
public static List getMessages() {
//File file = new File(\"file:///android_asset/helloworld.txt\");
AssetMan
It maybe too late but for the sake of others who look for the peachy answers :
public static String loadAssetFile(Context context, String fileName) {
try {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(context.getAssets().open(fileName)));
StringBuilder out= new StringBuilder();
String eachline = bufferedReader.readLine();
while (eachline != null) {
out.append(eachline);
eachline = bufferedReader.readLine();
}
return out.toString();
} catch (IOException e) {
Log.e("Load Asset File",e.toString());
}
return null;
}