Hi, I'm having trouble getting an android app to read from a text file. I tried using the code from my Java project, but apparently that's one of the things that are different in Android Dev...

Code:
public void levelFile(){
try{
	String stage = new String("assets//levels//temple1.txt");
tilescan=new Scanner(new File(stage));
//int b=0;
while(tilescan.hasNextLine()){
tilex=tilescan.nextInt();
tilexstr=Integer.toString(tilex);
tilexarray.add(tilexstr);
tiley=tilescan.nextInt();
tileystr=Integer.toString(tiley);
tileyarray.add(tileystr);
	//b++;
}
	tilescan.close();
}catch(Exception e){System.out.println("error");}
}