1

parsing text file in android

view story
linux-howto

http://stackoverflow.com – In my application, I create a text file to save readings, and the values look like this: 98, 97, 98, ...... I need to get the readings from the text file and save them in an arraylist. I tried to implement that, but I got run time exception. Code: package com.example.meme; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import android.app.Activity; import android.os.Bundle; import android.os.Environment; import android.widget.TextView; public class test extends Activity{ private static ArrayList& (HowTos)