Android中的动态数据[关闭]

I am displaying a value from my database field. when I change the value from database, I need to restart the activity to see the new value.

Now, I am looking for a block of code that will continuously check for the new value.

Thanks.

Blockquote This is my first post. so sorry about the title or language I used. Blockquote

well no one will write a block of code for you. But yes suggestion is you can do this using thread and or AsyncTask. and As per my knowledge AsyncTask is the best option. Here is some tutorial which may help you..

1.this is best tutorial for AsyncTask

2.official android dev. link

3.This is also nice

Best Luck