I'm having a problem with storing a file (string) on phone. Its only 1 file with temperatures in it. But when i store a file, it just doesn't show up anywhere. Its never made. Tried some java tehnics with ObjectOutputStream but it doesn't work eider. What am i doing wrong?
So, this opens the file and gets all of the text from it and puts it in tempLocal text field. But this method throws a nullpoint exception according to LogCat. Also this is all happening in Timer (Handler), and every time he refreshes, he makes a new temperature.txt file and stores it with old and new value. I can't figure out what is null here in this method.
Im not sure i understand. I make StringBuffer pom as global variable. Then in method vratiTemperate() i do : pom.append((char)ch); In loop so i get all the text from file i open. Not sure what im doing wrong...