It really depends if you've already established which device you're talking about. If it's clear which device you're talking about, you can use the. If not, or if you're talking about devices in general, you can use a.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.