I just begin programming with android home widget, so i could set text to a textview in home widget from my widget provider by settextviewtext() but when i want to get text from
read this for widget tutorial and what you can do with it.
CommonsWare in this question says:
You can't. App widgets are write-only: you can push data to them, but you cannot read them.
Instead, when you update your app widget with new text, you will need to store that text somewhere, perhaps in a file.