ThalisonRC
New Member
I am a little bit novice in android. I actually want to write the information that is shown in the logcat into an xml file that will be saved in the phone or in the computer. Here is the logcat shown for my application and I would like to actually save the Pressure and Size in to an xml file under the Pressure/Size tag. How can I do that?\[code\]04-04 02:38:45.057: I/System.out(14272): Pressure 0.2333333504-04 02:38:45.057: I/System.out(14272): Size 0.22745104-04 02:38:46.217: I/System.out(14272): Pressure 0.2000000204-04 02:38:46.217: I/System.out(14272): Size 0.2235294304-04 02:38:46.702: I/System.out(14272): Pressure 0.2666666804-04 02:38:46.702: I/System.out(14272): Size 0.2745098204-04 02:38:47.222: I/System.out(14272): Pressure 0.2333333504-04 02:38:47.222: I/System.out(14272): Size 0.2666666804-04 02:38:47.657: I/System.out(14272): Pressure 0.2333333504-04 02:38:47.657: I/System.out(14272): Size 0.2313725704-04 02:38:48.087: I/System.out(14272): Pressure 0.1666666704-04 02:38:48.087: I/System.out(14272): Size 0.1686274604-04 02:38:48.502: I/System.out(14272): Pressure 0.304-04 02:38:48.502: I/System.out(14272): Size 0.301960804-04 02:38:48.907: I/System.out(14272): Pressure 0.2333333504-04 02:38:48.907: I/System.out(14272): Size 0.239215704-04 02:38:49.267: I/System.out(14272): Pressure 0.2333333504-04 02:38:49.267: I/System.out(14272): Size 0.2588235404-04 02:38:49.732: I/System.out(14272): Pressure 0.2000000204-04 02:38:49.732: I/System.out(14272): Size 0.2156862904-04 02:38:50.137: I/System.out(14272): Pressure 0.2333333504-04 02:38:50.137: I/System.out(14272): Size 0.250980404-04 02:38:50.647: I/System.out(14272): Pressure 0.2333333504-04 02:38:50.647: I/System.out(14272): Size 0.2470588404-04 02:38:51.042: I/System.out(14272): Pressure 0.1666666704-04 02:38:51.042: I/System.out(14272): Size 0.1882353104-04 02:39:10.822: I/System.out(14272): Pressure 0.2333333504-04 02:39:10.822: I/System.out(14272): Size 0.2235294304-04 02:39:10.987: I/System.out(14272): Pressure 0.2666666804-04 02:39:10.987: I/System.out(14272): Size 0.2666666804-04 02:39:11.177: I/System.out(14272): Pressure 0.2333333504-04 02:39:11.177: I/System.out(14272): Size 0.2666666804-04 02:39:11.482: I/System.out(14272): Pressure 0.2000000204-04 02:39:11.482: I/System.out(14272): Size 0.22745104-04 02:39:11.787: I/System.out(14272): Pressure 0.2333333504-04 02:39:11.787: I/System.out(14272): Size 0.2196078604-04 02:39:12.137: I/System.out(14272): Pressure 0.2333333504-04 02:39:12.137: I/System.out(14272): Size 0.2352941304-04 02:39:12.472: I/System.out(14272): Pressure 0.2000000204-04 02:39:12.472: I/System.out(14272): Size 0.2235294304-04 02:39:12.792: I/System.out(14272): Pressure 0.2000000204-04 02:39:12.792: I/System.out(14272): Size 0.176470604-04 02:39:13.122: I/System.out(14272): Pressure 0.2333333504-04 02:39:13.122: I/System.out(14272): Size 0.262745104-04 02:39:13.937: I/System.out(14272): Pressure 0.2666666804-04 02:39:13.937: I/System.out(14272): Size 0.2745098204-04 02:39:14.472: I/System.out(14272): Pressure 0.1666666704-04 02:39:14.472: I/System.out(14272): Size 0.1372549104-04 02:39:15.007: I/System.out(14272): Pressure 0.304-04 02:39:15.007: I/System.out(14272): Size 0.3058823604-04 02:39:15.482: I/System.out(14272): Pressure 0.2666666804-04 02:39:15.482: I/System.out(14272): Size 0.2666666804-04 02:39:15.877: I/System.out(14272): Pressure 0.2000000204-04 02:39:15.877: I/System.out(14272): Size 0.2470588404-04 02:39:16.097: I/System.out(14272): Pressure 0.2666666804-04 02:39:16.097: I/System.out(14272): Size 0.26666668\[/code\]