36.8 Extracting the Gestures File from the SD Card
As each gesture was created within the Gesture Builder application, it was added to a file named gesture.txt located in the storage of the emulator or device on which the app was running. Before this file can be added to an Android Studio project, however, it must first be copied off the device storage and saved to the local file system. This is most easily achieved by using the Android Studio Device File Explorer tool window. Display this tool using the View -> Tool Windows -> Device File Explorer menu option. Once displayed, select the device or emulator on which the gesture file was created from the drop-down menu, then navigate through the filesystem to the following folder:
sdcard/Android/data/pack.GestureApp/files
Locate the gesture.txt file in this folder, right-click on it, select the Save As… menu option and save the file to a temporary location as a file named gestures.
Figure 36-2
Once the gestures...