hi.i want to create a log file for my project and write all the exceptions in to that file..mycode is working in emulator but not in mobile..what is the reason????
i dont know how to append to an existing file..so every time when i need to append exception to logfile i just read that logfile and content is stored into a stringbufer and then append the last exception to string buffer..then i rewriting the file..is it a correct method or not????
2nd way i created logfile and everytime when an excepion occurs i append into the stringbuffer and when my application exit all the exceptions in the string buffer is written to the logfile..
suggest me the correct way....
pls help me to complete my project..am confused