Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Technofreak

6530 posts

Uber Geek

Trusted

#248286 18-Mar-2019 17:50
Send private message

I run an non Android OS (Sailfish) that has a compatibility layer that allows the use of Android apps.

 

Why is it that some apps need access to Google Play Services and some don't? Sailfish doesn't natively support Play Services.

 

For example HereWeGo and Waze work and have access to location (GPS) on the phone yet Gaspy will not work because it cannot obtain a location. Gaspy doesn't specifically state it needs Play Services but I suspect this may be the cause of the problem with that app and one or two other apps I have had issues getting to work.

 

Some apps that require Play Services still work but not all functions are available, e.g. Sportstracker which will not display a map but still records the activity which can be uploaded normally.





Sony Xperia XA2 running Sailfish OS. https://sailfishos.org The true independent open source mobile OS 
Samsung Galaxy Tab S6
Dell Inspiron 14z i5


Create new topic
muppet
2568 posts

Uber Geek

Trusted

  #2201181 18-Mar-2019 21:24
Send private message

Because there are a lot of APIs that are part of Google Play Services.

 

For example, Firebase Messaging, formely Google Cloud Messaging.  It's the platform that almost all apps (in the Play Store) use to push messages to your phone.  Because it means that only Play Services keeps a single TCP session open for push messages, instead of every app keeping a session open which would never let your phone sleep.

 

There are tonnes of other APIs that are part of Google Play Services that aren't part of stock Android.  It's been Googles "clever" way to keep Android itself open source, but basically useless.  You need the proprietary Google Play Services for the full Android experience most people expect.

 

Location API is another one you've found.  Yes, apps can query the GPS directly, but it's much much easier (And better for battery) that only Play Services does it and then it can tell all the other apps where the phone is.  That's why your app doesn't work, it's trying to access the Play Services Location API.




muppet
2568 posts

Uber Geek

Trusted

  #2201183 18-Mar-2019 21:26
Send private message

You could try installing https://opengapps.org/ which is a Free "clone" of some of the more commonly used Play Services APIs.


muppet
2568 posts

Uber Geek

Trusted

  #2202229 20-Mar-2019 09:21
Send private message

Just realised I farked up here.

 

OpenGApps is just a open repackaging of Google's actual apps.

 

The open source "reverse engineer" build thing is called the MicroG project.

 

Apologies.

 

Still, if you can get OpenGApps working on your device, a lot more things will work properly.




Technofreak

6530 posts

Uber Geek

Trusted

  #2202278 20-Mar-2019 10:31
Send private message

Thanks, looks like there is a package I can install via Terminal that works.




Sony Xperia XA2 running Sailfish OS. https://sailfishos.org The true independent open source mobile OS 
Samsung Galaxy Tab S6
Dell Inspiron 14z i5


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.