Which android version is required for android new Geofencing feature ? Not able to get particular information on Android documentation..
If you are using Google Geofence API you need Google Play services. Devices older than Android 2.2 or devices without the Google Play Store app are not supported.
As #Waza_Be commented it requires API8 and will work on devices with at least Froyo.
Related
I will be developing an app that uses Google Vision API in order to scan barcode. I am successfully able to write and test the app. However, I found out that the API has to be supported for Android's ICS i.e. version 4 and above. I am using Google Play Services 8.4 version. Will I be able to use this app? I have just created a prototype of app only.
In short is there any relationship between google play services and android version? If yes where can I find it. Thanks.
you may refer to this link in order to know more regarding google play services and android versions. https://developers.google.com/android/guides/setup
Here is what I was looking for. I wanted to check if version 8.4 of google play services is available for android 2.3 or not.
I'm building a simple android app that uses Google maps api to display map and navigation. As you may know Google maps need Play services Library to run on client android phone. i want my app to run in much older android OS's(14,15,..)
Problems:
1- Clients need to install or activate Play services app.
2- then Clients have to update play services app to the latest version to use my app with google maps.
3- how to make app to run in older androids? just by specifying min sdk ?
so in order to solve first and third problem i've no idea but for the second one :
building project with older Play service dependencies may help but i dont know how to do this or even it helps or not.
it'll appreciate if guys offer any solutions !
Thank you all.
What are the recommended practices for maintaining the widest backwards compatibility of an Android app while depending on Google Play Services?
Here are the pointers I was able to aggregate concerning backwards compatibility, including those that use Google Play Services.
The Google Maps Android API uses OpenGL ES version 2 to render the map. The least Android API version that has support for this is API 8 or Android 2.2 .
Compile against the oldest version of Google Play Services that contains the APIs that you need. As further discussed in this thread, refrain from using wildcards like 5.+ because that updates to the latest play services. Instead use a widely used version like com.google.android.gms:play-services:5.0.89.
Use the V4 support library to verify and request permissions.
com.android.support:support-v4:23.0.1
You might also check some additional insight from this SO thread.
I was reading this tutorial http://www.androidhive.info/2015/02/android-location-api-using-google-play-services/ and I find it amazing that this one and many others never state what versions they support.
There must be a simple list which contains what libraries are for what api versions, not just Google Play library but for everything else, from reading file paths to camera api. An example would be just the camera api 2, which is for api version 21 and above. A nice list listing all of this would be very helpful!
It's extremely time consuming tracking down all of this information.
I would say that there is one - in packages documentation you can easily filter by API number.
Official Android APIs have their API number define on official Android documentation like #sebap123 said.
Google Play Services isn't part of Android itself. It's a complimentary add-on. Google Play Services runs on Android 2.3 or higher. All new GPS APIs included in GPS will run on all these devices that have GPS(Android 2.3 or higher). Unlike new Android APIs that only run on new version of Android.
I need to use the Google Map API for my android application, but as we are now aware that API versoin 1 is deprecated, I can not use MAP API v2.0 for the lower versions of Android.
So can you please give me any suggestions what alternative can be used to show google map to the lower versions of Android?
Thanks,
Shubhangi.
The Maps API are bundled with Google Play services and are compatible with Android 2.2 and higher. All devices with Android 8 API level support OpenGL 2.0, so devices with Android 2.1 version can't support Google Maps v2. You can check in the Documentation
Note: Note, though, that not all Android 2.2/2.3 devices have the ability to get the Play Services Framework, particularly those devices that never received the Play Store and are stuck with the old Android Market. Android 3.0+ should be fine
I want to develop a test application that implements Activity Recognition on Android 4.1, but I saw on the documentation that only 4.2.2 is supported. I saw also that apps like AutomateIt (that includes Recognition functionality) work on my Jellybean 4.1. How could achieve this?
Google's own sample code works back to API Level 8, according to its manifest. Everything in Google Play Services should work back to a similar API level, as the documentation states:
When using these services, you can distribute your app on Google Play to all devices running Android 2.2 or higher, and some services support even more devices.
Briefly: update GooglePlayServices to the latest version.
ActivityRecognitionApi itself works starting from API 8.
Thus your problem could be that you have an old version of GooglePlayServices.
I had this issue on old device with Android 2.3.
As I understood that the problem was in the installed version of Google Play services (6.3); the issue has gone after updating GPservices app to 7.8.99.
The was no straight way to update by pressing “update” button, but I had to delete manually Google Pay services app and then Android automatically installed the latest at that moment version 7.8.99.
My app started to show current activity quite accurate.
The strange thing is that Activity Recognition was introduced in much earlier version of Google Play services (earlier than 4.0).
In conclusion, I would say that the prerequisites for correct work of google activity APIs are:
Google Play services client library (latest version)
Android version 2.2 (API level 8) or newer.