I am using Android Play services's Activity Recognition API. This api is not working in a very reliable manner. Sometimes i have to restart the phone to notification broadcasts. I am using the latest Google play services library
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.gms"
android:versionCode="4323030"
android:versionName="4.3.23 (1069729-030)" >
<uses-sdk android:minSdkVersion="9"/>
</manifest>
I am using the sample code provided by on developer.android.com :
http://developer.android.com/training/location/activity-recognition.html
Any thoughts?
PS: Also let me know if you need any other information, I can post it here.