The TC55 has an magnetic sensor to detect car cradle insertion. We want to use this sensor, to get a Trigger event from a Gun Grip. Therefore we need an API, or function we can use to catch this event. Any Idea ?j
Gun Grip Development for TC55 |
Gun Grip Development for TC55The TC55 has an magnetic sensor to detect car cradle insertion. We want to use this sensor, to get a Trigger event from a Gun Grip. Therefore we need an API, or function we can use to catch this event. Any Idea ?j |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
1 Replies
Since this solution is overloading the car cradle solution, you can easily monitor the "Car Dock" events provided by native Android.
You can look here for specific Intents to monitor: http://developer.android.com/training/monitoring-device-state/docking-m…
You will get ACTION_DOCK_EVENT each time the hall effect is triggered and released. The extras in the Intent tell you if the hall effect has been activated (EXTRA_DOCK_STATE_CAR ) or released (EXTRA_DOCK_STATE_UNDOCKED)