As described in the title, my problem is can't control the activity recognition request properly. My code like this:
arclient.requestActivityUpdates(ACTIVITY_DETECT_INTERVAL, pIntent);
the ACTIVITY_DETECT_INTERVAL =2*60*1000 (2 mins),
but the log shows
01-27 12:21:49.412: I/ActivityRecognitionService(5458): Still 92
01-27 12:21:54.462: I/ActivityRecognitionService(5458): Still 92
01-27 12:21:59.492: I/ActivityRecognitionService(5458): Still 69
01-27 12:22:04.562: I/ActivityRecognitionService(5458): Still 76
01-27 12:22:09.662: I/ActivityRecognitionService(5458): Still 76
01-27 12:22:14.592: I/ActivityRecognitionService(5458): Still 92
01-27 12:22:19.612: I/ActivityRecognitionService(5458): Still 77
01-27 12:22:24.622: I/ActivityRecognitionService(5458): Still 92
01-27 12:22:29.672: I/ActivityRecognitionService(5458): Still 92
01-27 12:22:34.892: I/ActivityRecognitionService(5458): Still 85
01-27 12:22:39.812: I/ActivityRecognitionService(5458): Still 92
it turns out the interval is always 5 seconds . Who can give me a hand, thanks in advance.