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

6523 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
2538 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.


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Note that to use Quic Broadband you must be comfortable with configuring your own router.
muppet
2538 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
2538 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

6523 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 »

New Suunto Run Available in Australia and New Zealand
Posted 13-May-2025 21:00


Cricut Maker 4 Review
Posted 12-May-2025 15:18


Dynabook Launches Ultra-Light Portégé Z40L-N Copilot+PC with Self-Replaceable Battery
Posted 8-May-2025 14:08


Shopify Sidekick Gets a Major Reasoning Upgrade, Plus Free Image Generation
Posted 8-May-2025 14:03


Microsoft Introduces New Surface Copilot+ PCs
Posted 8-May-2025 13:56


D-Link A/NZ launches DWR-933M 4G+ LTE Cat6 Wi-Fi 6 Mobile Hotspot
Posted 8-May-2025 13:49


Synology Expands DiskStation Lineup with DS1825+ and DS1525+
Posted 8-May-2025 13:44


JBL Releases Next Generation Flip 7 and Charge 6
Posted 8-May-2025 13:41


Arlo Unveils All-New PoE Adapter With Enhanced Connectivity
Posted 8-May-2025 13:36


Fujifilm Instax Mini 41 Review
Posted 2-May-2025 10:12


Synology DS925+ Review
Posted 23-Apr-2025 15:00


Synology Announces DiskStation DS925+ and DX525 Expansion Unit
Posted 23-Apr-2025 10:34


JBL Tour Pro 3 Review
Posted 22-Apr-2025 16:56


Samsung 9100 Pro NVMe SSD Review
Posted 11-Apr-2025 13:11


Motorola Announces New Mid-tier Phones moto g05 and g15
Posted 4-Apr-2025 00:00









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.