<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.ramos.munoz.tesis"
    android:versionCode="1"
    android:versionName="1.0" >

    <!-- PERMISOS NECESARIOS -->
    <permission
        android:name="com.ramos.munoz.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" />

    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="com.ramos.munoz.tesis.permission.MAPS_RECEIVE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <!-- CARACTERISTICAS UTILIZADAS -->
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/temaSiste" android:debuggable="false">

        <!-- GOOGLE MAPS API -->
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="AIzaSyAjd2NdjEETzAzx8U3uMBQDQTBaIEAMYuo" />

        <!-- LOGIN -->
        <activity
            android:name="com.ramos.munoz.tesis.LoginActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_main" >
        </activity>

        <!-- NAVEGACION PRINCIPAL -->
        <activity
            android:name="com.ramos.munoz.tesis.MapaActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_principal" >
        </activity>

        <!-- REGISTRO DE USUARIO -->

        <activity
            android:name="com.ramos.munoz.tesis.RegistroDeUsuario"
            android:label="@string/title_activity_registro_de_usuario" >
        </activity>

        <!-- MENU DESPLEGABLE -->
        <activity
            android:name="com.ramos.munoz.tesis.MenuPrincipalActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_menu_pop_up"
            android:theme="@style/dialogo" >
        </activity>

        <!-- PREFERENCIAS ACTIVITY -->
        <activity
            android:name="com.ramos.munoz.tesis.PreferenciasActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_preferencias"
            android:theme="@style/preferencias" >
        </activity>

        <!-- PERFIL ACTIVITY -->
        <activity
            android:name="com.ramos.munoz.tesis.PerfilActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_perfil" >
        </activity>

        <!-- PERFIL/TAB1/EDITAR CAMPO -->
        <activity
            android:name="com.ramos.munoz.tesis.PerfilEditarCampo"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_perfil"
            android:theme="@style/dialogo" >
        </activity>

        <!-- DETALLE ESTACIONAMIENTO -->
        <activity
            android:name="com.ramos.munoz.tesis.MapaDetalleEstacionamiento"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_mapa_detalle_estacionamiento" >
        </activity>

        <!-- VER HISTORIAL DE ESTACIONAMNIENTOS -->
        <activity
            android:name="com.ramos.munoz.tesis.HistorialActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_historial_estacionamiento" >
        </activity>

        <!-- VER HISTORIAL - CALIFICAR -->
        <activity
            android:name="com.ramos.munoz.tesis.HistorialCalificar"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_historial_detalle"
            android:theme="@style/dialogo" >
        </activity>

        <!-- VER HISTORIAL - DETALLE -->
        <activity
            android:name="com.ramos.munoz.tesis.HistorialDetalleActivity"
            android:label="@string/title_activity_historial_detalle" >
        </activity>

        <!-- BUSCAR ESTACIONAMIENTO -->
        <activity
            android:name="com.ramos.munoz.tesis.BuscarEstacionamientoActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_buscar_estacionamiento" >
        </activity>

        <!-- VEHICULOS -->
        <activity
            android:name="com.ramos.munoz.tesis.VehiculoActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_vehiculos" >
        </activity>

        <!-- MAPA MENU TAP -->
        <activity
            android:name="com.ramos.munoz.tesis.MapaTapMenu"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_mapa_tap_menu"
            android:theme="@style/dialogo" >
        </activity>

        <!-- VEHICULO DETALLE -->
        <activity
            android:name="com.ramos.munoz.tesis.VehiculoDetalle"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_vehiculo_detalle"
            android:theme="@style/dialogo" >
        </activity>

        <!-- VEHICULO AGREGAR -->
        <activity
            android:name="com.ramos.munoz.tesis.VehiculoAgregar"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_vehiculo_agregar"
            android:theme="@style/dialogo" >
        </activity>

        <!-- NOTIFICACION ACTIVITY -->
        <activity
            android:name="com.ramos.munoz.tesis.NotificacionActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_notificacion" >
        </activity>

        <!-- BUSCAR ESTACIONAMIENTO RESULTADO -->
        <activity
            android:name="com.ramos.munoz.tesis.BuscarEstacionamientoResultadoActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/title_activity_resultado_b" >
        </activity>
        
         <!-- TUTORIAL -->
        <activity
            android:name="com.ramos.munoz.tesis.Tutorial"
            android:configChanges="orientation|keyboardHidden"
            android:label="a"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <!-- SERVICIO NOTIFICACION -->
        <service
            android:name="com.ramos.munoz.tesis.NotificacionServicio"
            android:configChanges="orientation|keyboardHidden"
            android:icon="@drawable/ic_launcher"
            android:label="SisteNot" >
        </service>

        <!-- SERVICIO LOGIN -->
        <service
            android:name="com.ramos.munoz.tesis.ServicioLogin"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.accounts.AccountAuthenticator" />
            </intent-filter>

            <meta-data
                android:name="android.accounts.AccountAuthenticator"
                android:resource="@xml/login" />
        </service>

        <!-- BROADCAST RECIEVER AL PRENDER EL TELEFONO -->
        <receiver android:name="com.ramos.munoz.tesis.BootReciever" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
        <receiver android:name="com.ramos.munoz.tesis.AlarmaReciever" >
        </receiver>

        <!-- LAUNCHER -->
        <activity
            android:name="com.ramos.munoz.tesis.LauncherActivity"
            android:label="@string/title_activity_launcher" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>