<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.duoku.cocosx.demo"
    android:installLocation="auto"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="9" />

    <uses-feature android:glEsVersion="0x00020000" />

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />

    <uses-permission android:name="android.permission.READ_LOGS" />
    <uses-permission android:name="android.permission.SEND_SMS" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.webkit.permission.PLUGIN" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.READ_SMS" />
    
    <!-- ================= migu 基地配置  start ================ -->
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
    <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS"/>
    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS"/>
    <!-- ================= migu 基地配置  end ================ -->

    <application
        android:name="com.duoku.cocosx.demo.DemoApplication"
        android:allowBackup="true"
        android:icon="@drawable/ic_icon"
        android:label="@string/app_name" >

        <!-- Tell Cocos2dxActivity the name of our .so -->
        <meta-data
            android:name="android.app.lib_name"
            android:value="MyGame" />

        <!-- ================================baidu single sdk meta data start================================ -->
        <meta-data
            android:name="dksdk_appid"
            android:value="4110" />

        <meta-data
            android:name="dksdk_appkey"
            android:value="b80b8ecead42c8678537d282096df15c" />

        <meta-data
            android:name="dksdk_appsecret"
            android:value="828e3bd4c3c9903cbde222e2d6e51920" />

        <!-- dksdk_channel表示渠道,请开发者向我方运营索要需要推广的渠道号 -->
        <meta-data
            android:name="dksdk_channel"
            android:value="13744" />

        <!-- dksdk_ver表示sdk版本 -->
        <meta-data
            android:name="dksdk_ver"
            android:value="208" />
        <!-- ================================baidu single sdk meta data end================================ -->

		<!-- ===============!!!!!!!!!替换此处LauncherActivity为自己项目的入口Activity!!!!!!!!!!!!======== -->
		<activity
            android:name="com.duoku.cocosx.demo.LauncherActivity"
            android:configChanges="orientation|keyboardHidden" 
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 
            android:screenOrientation="portrait">
		</activity>
<!--         <activity -->
<!--             android:name="com.duoku.cocosx.demo.LauncherActivity" -->
<!--             android:configChanges="orientation|keyboardHidden|screenSize" -->
<!--             android:screenOrientation="portrait" -->
<!--             android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > -->
<!--             <intent-filter> -->
<!--                 <action android:name="android.intent.action.MAIN" /> -->

<!--                 <category android:name="android.intent.category.LAUNCHER" /> -->
<!--             </intent-filter> -->
<!--         </activity> -->
        
        <activity
            android:name="org.cocos2dx.cpp.AppActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:screenOrientation="portrait"
            android:theme="@style/DK.Theme.NoBackGround.NoAnimation" >
        </activity>
        <!-- ================================baidu single sdk 基础配置 start ================================ -->
        
        <!-- ================= migu 基地配置  start ================ -->
        <activity
            android:name="cn.cmgame.billing.api.GameOpenActivity"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            android:configChanges="orientation|keyboard|screenSize"
            android:screenOrientation="sensor">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.CHINAMOBILE_OMS_GAME" />
                <category android:name="android.intent.category.CHINAMOBILE_GAMES" />
            </intent-filter>
        </activity>
        <activity android:name="cn.cmgame2_0.launch_model.shortcut.main.MiguHomeActivity"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.Dialog">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="cn.cmgame2_0.category.migu_home"/>
            </intent-filter>
        </activity>
        
        <service
        	android:name="cn.cmgame.billing.service.GameService">
    	</service>
        <!-- ================= migu 基地配置  end ================ -->
        
        
        
        <!-- Activity屏幕方向要同代码中设置一致 -->
        <activity
            android:name="com.duoku.platform.single.ui.DKRecommendActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:screenOrientation="portrait"
            android:theme="@style/DK.Theme.NoBackGround.NoAnimation" >
        </activity>
        <activity
            android:name="com.duoku.platform.single.ui.DKStartDownloadActivity"
            android:configChanges="orientation|keyboardHidden"
            android:screenOrientation="portrait"
            android:theme="@style/dksdk_theme_dialog" />
        <activity
            android:name="com.duoku.platform.single.ui.DKLotteryDrawActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:screenOrientation="portrait"
            android:theme="@style/DK.Theme.NoBackGround.NoAnimation" >
        </activity>

        <receiver android:name="com.duoku.platform.single.receiver.PushMessageReceiver" >
            <intent-filter android:priority="2147483647" >
                <action android:name="com.baidu.android.pushservice.action.MESSAGE" />
                <action android:name="com.baidu.android.pushservice.action.RECEIVE" />
                <action android:name="com.baidu.android.pushservice.action.notification.CLICK" />
            </intent-filter>
        </receiver>
        <receiver
            android:name="com.baidu.android.pushservice.PushServiceReceiver"
            android:process=":bdservice_v1" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
                <action android:name="com.baidu.android.pushservice.action.notification.SHOW" />
                <action android:name="com.baidu.android.pushservice.action.media.CLICK" />
                <action android:name="android.intent.action.MEDIA_MOUNTED" />
                <action android:name="android.intent.action.USER_PRESENT" />
                <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
                <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
                <action android:name="com.baidu.android.pushservice.action.frontia.user" />
            </intent-filter>
        </receiver>
        <receiver
            android:name="com.baidu.android.pushservice.RegistrationReceiver"
            android:process=":bdservice_v1" >
            <intent-filter>
                <action android:name="com.baidu.android.pushservice.action.METHOD" />
                <action android:name="com.baidu.android.pushservice.action.BIND_SYNC" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_REMOVED" />

                <data android:scheme="package" />
            </intent-filter>
        </receiver>

        <service
            android:name="com.baidu.android.pushservice.PushService"
            android:exported="true"
            android:process=":bdservice_v1" >
            <intent-filter>
                <action android:name="com.baidu.android.pushservice.action.PUSH_SERVICE" />
            </intent-filter>
        </service>
        <service
            android:name="com.baidu.android.pushservice.CommandService"
            android:exported="true" />
        <service
            android:name="com.duoku.platform.single.gameplus.service.GPDownloadService"
            android:enabled="true"
            android:exported="true"
            android:process="com.baidu.platform.gameplus.service" >
            <intent-filter>
                <action android:name="com.baidu.platform.gameplus.service" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </service>
        <service android:name="com.duoku.platform.single.gameplus.install.GPSilentInstallService" />

        <receiver 
            android:name="com.duoku.platform.single.gameplus.broadcast.GPNotificaionReceiver" >
            <intent-filter>
                <action android:name="baidu.platform.gameplus.intent.action.CANCLE_NOTIFICATION" />
                <action android:name="baidu.platform.gameplus.intent.action.DO_NOTIFICATION_CLICK" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_ADDED" />
                <action android:name="android.intent.action.PACKAGE_REPLACED" />

                <data android:scheme="package" />
            </intent-filter>
        </receiver>

        <!-- 支付模块配置 -->
        <!-- 注意:支付模块的Activity屏幕方向要同代码中设置一致 -->
        <activity
            android:name="com.duoku.platform.single.ui.DKContainerActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:screenOrientation="portrait"
            android:theme="@style/DK.Theme.NoBackGround.NoAnimation" >
        </activity>
        
        <activity
		    android:name="com.alipay.sdk.app.H5PayActivity"
		    android:screenOrientation="portrait" >
        </activity>

        <!-- 聚合微信支付 start -->
        <activity
            android:name="com.ipaynow.wechatpay.plugin.inner_plugin.wechat_plugin.activity.WeChatNotifyActivity"
            android:configChanges="orientation|keyboardHidden|keyboard|smallestScreenSize|locale|screenLayout"
            android:screenOrientation="behind"
            android:theme="@android:style/Theme.Dialog" >
        </activity>
        <!-- 聚合微信支付 end -->

		<!-- for weixin plugin -->
        <activity 
            android:name="com.baidu.platformsdk.wxpay.PayActivity"
            android:configChanges="orientation|navigation"
            android:exported="false"
            android:windowSoftInputMode="adjustPan"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
        <!-- for weixin plugin end -->

		<!-- 联通沃商店支付 Start -->
        <activity 	android:name="com.unicom.wostore.unipay.paysecurity.SecurityActivity"
            android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
            android:configChanges="screenSize|orientation"
            android:screenOrientation="landscape">
		</activity>

		<service  android:name="com.unicom.wostore.unipay.paysecurity.SecurityServiceFramework"/>

        <!-- 联通沃商店支付 End-->

        <!-- 登陆模块配置 -->
        <activity
            android:name="com.duoku.platform.single.bdpass.DKAccountContainerActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:screenOrientation="portrait"
            android:theme="@style/DK.Theme.NoBackGround.NoAnimation" >
        </activity>
        
        <!-- ================================baidu single sdk 基础配置 end ================================ -->
        
    </application>

</manifest>