There are two ways to install spy apps: physically on your device or through a Wi-Fi network.Once hackers place such a “bug” onto your smartphone, the app records your data and sends it to a cloud database.