i have to make a notepad where i write,edit,clear the text.
this notepad need to save on sd card as an xml file.
i also need to read the file when it will in sd card.
i am new in android and i can not understand how to manage it.
<Title>
<edittext>
<path>(xml file saved in sd card)...</path></edittext></title>
then this xml need to call by activty.
is there any possible way or any easiest way to do it?
There’s an Android notepad tutorial: http://developer.android.com/resources/tutorials/notepad/index.html
It would be a good place to start.
If you are trying to load the notepad text, then you’ll need to do that in code. Something like
Then in code,
Then you just need to write the
loadTextFromFile()method to actually get the notepad text. This is the same as you would do it in Java.