Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I find the Google Play Services attribution text?

Google Maps documentation says that one has to include the Google Play Services attribution text as part of a "Legal Notices". The attribution text is available by making a call to GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo. But GooglePlayServicesUtil is not available until Android 2.2. My app is designed for 2.0, so what is this text and where do I get it?

like image 829
Bevor Avatar asked Feb 27 '13 12:02

Bevor


2 Answers

This is what a

Log.d("DEBUG", GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(this));

reveals (Feb 2013 - this may have changed meanwhile! See the first comment):

This product includes software from the The Android Open Source Project Copyright (c) 2005-2008, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/

And then the Apache License Version 2.0 follows.

Edit Jan 3 2016: GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(Context) is now deprecated.

Use GoogleApiAvailability.getInstance().getOpenSourceSoftwareLicenseInfo(Context); instead.

Edit Oct 31 '17 As donfuxx said its no longer need to be shown in app. Google doc

like image 121
Matt Handy Avatar answered Oct 19 '22 04:10

Matt Handy


Where can I find the attribution information?

You can find the attribution in the line(s) shown on the bottom of the Content in the
products along with copyright notices, such as “Map data ©2012 Google, Sanborn”. Note that the exact text of the attribution changes based on geography and content type. The attribution text must be legible to the average viewer or reader

Taken from: http://www.google.com/permissions/geoguidelines/attr-guide.html

Here is a page with more general info, along with a Permissions Tool you can use if your use-case is more complex.

This Image depicts exactly the text you're looking for.

like image 36
drew moore Avatar answered Oct 19 '22 05:10

drew moore