I'm trying to make a simple quick reference app for android. All it would have to do is read some text from a file and show it in a window. I build it for desktop and it ran fine but after building the android version I ran into some trouble. Eclipse wont let me make the apk file because it has some issue with the code responsible for reading the text.
Heres the screenshot of what I got done and where I had trouble: http://uppix.net/2/9/1/169d78787b659b57fac8226a0fdb6.jpg On a unrelated note I learned today that E17 is great for two monitor setups. But back to the problem, I'm not much of a programmer and don't know much java but changing "if (in) {" to "if (in!=null) {" seems to fix the first problem. The second problem looks like just a typo, initiated variable is called input and BufferedReader() is calling inputreader. I can't seem to find the solution for third error. Eclipse says that it's a type mismatch but that does not seem right.
I tried to get that fixed but with my limited knowledge of programing I can't seem to be able to do so. Could anyone please take a look at this and help me out? I would love to have a proof of concept app done this weekend but without this basic function I'm not able to do anything.