7

How to save new line from android?

view full story
linux-howto

http://stackoverflow.com – I am saving data from edit textbox and getting that to save into pdf....It works fine but if i write text into multiline....it takes as single line...and make pdf file with single line...so how can i get the new line to save into pdf??? Here is code which send data for save data... Intent i = new Intent(AddText.this,GetText.class); i.putExtra("data",editText.getText().toString()); startActivity(i); And in next page i am getting data.... String data = getIntent().getExtras().getString("data"); (HowTos)