1
I created a webservice and the application and all this worked right, however I would like my application to update the listview as soon as a new data is entered in the database (this data may come from another device) and I would like you to send a notification as well, however, my problem is in updating the listview, I think I should create an Asynctask or a Service, however, I’ve read about them but I’m having difficulty to understand them and use them, so, there is some other way to do this list update without using Asynctask or Service, if not, someone has a good example to give me?
I have an application that shows me the tasks I should do today, and this information is stored in a database that access through a webservice, but when a new task is inserted in the database I have to go in the application and click on the button to update the listview and so appear the new task.
I would like when the new task is inserted in the bank my mobile app updates the listview automatically and displays a notification or plays an audio or vibrates the phone and etc...