I am learning GoogleMaps through Lynda.com.In Displaying GooglePlay Services License they used a method called GooglePlayServicesUtil.getOpenSourceSoftware.I a m not able to find it.Can somebody please point out what the method has changed too? Thanks
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I assume that you mean getOpenSourceSoftwareLicenseInfo()
. If so, they deprecated it, because it is no longer needed. They show their own software licenses in their own apps; you no longer need to show the license information yourself. Quoting what is in the JavaDocs at the moment:
This license information is displayed in Settings > Google > Open Source on any device running Google Play services. Applications do not need to display this license text, and this method will be removed in a future version of Google Play services.