This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputStreamReader InputSR = null; | |
BufferedReader BufferedRdr = null; | |
String thisLine = null; | |
InputSR = new InputStreamReader(getResources().openRawResource(R.raw.fuel_index)); | |
BufferedRdr = new BufferedReader(InputSR); | |
Object[][] arrayString = new String[6][2]; | |
try { | |
// open input stream test.txt for reading purpose. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.os.Bundle; | |
import android.support.design.widget.FloatingActionButton; | |
import android.support.design.widget.Snackbar; | |
import android.support.v7.app.AppCompatActivity; | |
import android.support.v7.widget.Toolbar; | |
import android.text.Editable; | |
import android.text.TextWatcher; | |
import android.view.View; | |
import android.view.Menu; |