Utilização de Mapas do Google - watter/titanium GitHub Wiki

Como gerar Chave no MAPS

https://developers.google.com/maps/documentation/android/start#the_google_maps_api_key

Google API CONSOLE

https://code.google.com/apis/console/

Criação do SHA1 da chave de Desenvolvimento

leslieh@ecelepar17063:/home/leslieh/.titanium/mobilesdk/linux/3.1.1.GA/android$ keytool -list -v -keystore dev_keystore 
Enter keystore password:  

*****************  WARNING WARNING WARNING  *****************
* The integrity of the information stored in your keystore  *
* has NOT been verified!  In order to verify its integrity, *
* you must provide your keystore password.                  *
*****************  WARNING WARNING WARNING  *****************

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: tidev
Creation date: 23/05/2009
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Appcelerator Titanium, OU=Nolan's Gang, O=Appcelerator, L=Mountain View, ST=CA, C=US
Issuer: CN=Appcelerator Titanium, OU=Nolan's Gang, O=Appcelerator, L=Mountain View, ST=CA, C=US
Serial number: 4a1786e2
Valid from: Sat May 23 02:17:22 BRT 2009 until: Wed Jan 14 03:17:22 BRST 2995
Certificate fingerprints:
	 MD5:  66:5E:D1:7F:C4:2C:B9:73:AD:7F:4D:DD:29:12:56:56
	 SHA1: CC:E3:7F:08:FA:03:9C:88:07:BC:CB:AB:7B:88:61:F4:75:9D:47:9F
	 Signature algorithm name: MD5withRSA
	 Version: 1


*******************************************
*******************************************

Manifesto

Permissões no Manifest para usar Android Maps v2
 <!-- Allows the API to download data from Google Map servers -->
            <uses-permission android:name="android.permission.INTERNET"/>
            <!-- Allows the API to cache data -->
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>   
            <!-- Use GPS for device location -->
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
            <!-- Use Wi-Fi or mobile connection for device location -->
            <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
            <!-- Allows the API to access Google web-based services -->
            <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
            <!-- Specify OpenGL ES 2.0 as a requirement -->
            <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
            <!-- Replace <com.domain.appid> with your application ID -->
            <uses-permission android:name="<com.domain.appid>.permission.MAPS_RECEIVE"/>
            <permission android:name="<com.domain.appid>.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
            <application>
                <!-- Replace "PASTE YOUR GOOGLE MAPS API KEY HERE" with the Google API key you obtained -->
                <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="PASTE YOUR GOOGLE MAPS API KEY HERE"/>
            </application>

Manifesto Preenchido

<android xmlns:android="http://schemas.android.com/apk/res/android">
    <manifest android:installLocation="auto">
        <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="15"/>
        <supports-screens android:anyDensity="false"
            android:largeScreens="true" android:normalScreens="true" android:smallScreens="false"/>
	             <!-- Allows the API to download data from Google Map servers -->
        	<uses-permission android:name="android.permission.INTERNET"/>
        	<!-- Allows the API to cache data -->
        	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>   
        	<!-- Use GPS for device location -->
        	<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
        	<!-- Use Wi-Fi or mobile connection for device location -->
        	<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
        	<!-- Allows the API to access Google web-based services -->
        	<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
        	<!-- Specify OpenGL ES 2.0 as a requirement -->
        	<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
        	<!-- Replace <com.domain.appid> with your application ID -->
        	<uses-permission android:name="br.gov.pr.celepar.mod4app01.permission.MAPS_RECEIVE"/>
        	<permission android:name="br.gov.pr.celepar.mod4app01.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
        	<application>
        	    <uses-library android:name="com.google.android.maps"/>
	                <!-- Replace "PASTE YOUR GOOGLE MAPS API KEY HERE" with the Google API key you obtained -->
            	<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyD8YGUw7_sfffDe7jTom9xT8BBJC215utDIM"/>
        	</application>
    </manifest>
</android>
⚠️ **GitHub.com Fallback** ⚠️