1

Getting value from Textview

view story
linux-howto

http://stackoverflow.com – How do I get a value from TextView and store it in a String? Here I am trying to create a string which has the TextView`s value and writing it into a file. The code below is showing a run time error. package com.ralley.par2; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import android.app.Activity; import android.os.Bundle; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; public class Par2Activity extends Activity { /** Called when the activity is first created. */ (HowTos)