Toukirul Alam
Toukirul Alam

Reputation: 11

How to Track the Physical Location of a Google TV with a Custom Android App?

I am developing an application for Google TV and need to continuously track the physical location of the TV. The application aims to monitor and update the location of the device to ensure compliance with regional restrictions and other use cases.

Here’s what I’ve done so far:

  1. Added permissions for location services in the AndroidManifest.xml:

''' '''

  1. Tried implementing LocationManager and FusedLocationProviderClient to get location updates. However, it appears that Google TVs lack built-in GPS hardware, as the location always returns null.

  2. Considered using IP-based geolocation, but it seems to only provide approximate locations and may not be sufficient for accurate tracking.

Questions:

  1. Is there any way to track the precise physical location of a Google TV device?
  2. For TVs without GPS hardware, are there any APIs or services recommended for continuous tracking (e.g., IP-based geolocation, third-party SDKs)?
  3. Does Google TV have specific location APIs or any other device tracking mechanisms for such use cases?

If there’s a limitation in directly tracking the TV, are there best practices to integrate location tracking (e.g., linking the TV to a mobile device with GPS)?

Additional Context:

Any guidance or example implementations would be greatly appreciated.

Upvotes: 0

Views: 16

Answers (0)

Related Questions