I would like to update values through putExtra from an activity to a service, but the values are always the old one.
Activity:
ArrayList<String> listTODO = LoadSelections();
Intent i = new Intent();
i.putStringArrayListExtra("liste", listTODO);
i.setClassName("de.home.ku1fg", "de.home.ku1fg.RemoteService");
bindService(i, mConnection, BIND_AUTO_CREATE);
Remoteservice:
public IBinder onBind(Intent intent) {
listTODO = intent.getStringArrayListExtra("liste");
return myRemoteServiceStub;
}
Now, when I update the "liste" in the activity, there will no change in the service. Any idea?