172 lines
8.6 KiB
XML
172 lines
8.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.telegram.messenger"
|
|
android:versionCode="126"
|
|
android:versionName="1.3.5">
|
|
|
|
<supports-screens android:anyDensity="true"
|
|
android:smallScreens="true"
|
|
android:normalScreens="true"
|
|
android:largeScreens="true"
|
|
android:resizeable="true"
|
|
android:xlargeScreens="true"/>
|
|
|
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
|
|
<uses-feature android:name="android.hardware.telephony" android:required="false" />
|
|
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
|
|
<uses-feature android:name="android.hardware.location.network" android:required="false" />
|
|
<uses-feature android:name="android.hardware.location" android:required="false" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
|
|
<uses-feature android:name="android.hardware.camera" android:required="false" />
|
|
<uses-feature android:name="android.hardware.wifi" android:required="false" />
|
|
<uses-feature android:name="android.hardware.LOCATION" android:required="false" />
|
|
<uses-feature android:name="android.hardware.screen.PORTRAIT" android:required="false" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
<uses-permission android:name="org.telegram.messenger.permission.MAPS_RECEIVE"/>
|
|
<uses-permission android:name="org.telegram.messenger.permission.C2D_MESSAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
|
|
<uses-permission android:name="android.permission.READ_PROFILE"/>
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
<permission android:name="org.telegram.messenger.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
|
|
<permission android:name="org.telegram.messenger.permission.C2D_MESSAGE" android:protectionLevel="signature" />
|
|
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:label="@string/AppName"
|
|
android:theme="@style/Theme.TMessages.Start"
|
|
android:name="org.telegram.ui.ApplicationLoader"
|
|
android:hardwareAccelerated="true"
|
|
android:largeHeap="true">
|
|
|
|
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="your-google-maps-api-key-here" />
|
|
|
|
<activity
|
|
android:name="org.telegram.ui.LaunchActivity"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
|
|
<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.SEND"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="image/*"/>
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="video/*"/>
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="text/plain"/>
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="vnd.android.cursor.item/vnd.org.telegram.messenger.android.profile"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.LoginActivity"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:screenOrientation="portrait">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.CountrySelectActivity"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:theme="@style/Theme.TMessages"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:screenOrientation="portrait">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.IntroActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:screenOrientation="portrait">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.ApplicationActivity"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:theme="@style/Theme.TMessages"
|
|
android:hardwareAccelerated="true"
|
|
android:launchMode="singleTask"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.GalleryImageViewer"
|
|
android:theme="@style/Theme.TMessages.Gallery"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
|
|
</activity>
|
|
|
|
|
|
<activity android:name="net.hockeyapp.android.UpdateActivity" />
|
|
|
|
<receiver android:name="org.telegram.messenger.SmsListener">
|
|
<intent-filter>
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name="org.telegram.messenger.GcmBroadcastReceiver"
|
|
android:permission="com.google.android.c2dm.permission.SEND" >
|
|
<intent-filter>
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
|
<category android:name="org.telegram.messenger" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name="org.telegram.messenger.AuthenticatorService"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.accounts.AccountAuthenticator"/>
|
|
</intent-filter>
|
|
<meta-data android:name="android.accounts.AccountAuthenticator"
|
|
android:resource="@xml/auth"/>
|
|
</service>
|
|
|
|
<service android:name="org.telegram.messenger.ContactsSyncAdapterService"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.content.SyncAdapter" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.content.SyncAdapter"
|
|
android:resource="@xml/sync_contacts" />
|
|
<meta-data android:name="android.provider.CONTACTS_STRUCTURE"
|
|
android:resource="@xml/contacts" />
|
|
</service>
|
|
|
|
<uses-library android:name="com.google.android.maps" android:required="false"/>
|
|
</application>
|
|
|
|
</manifest>
|
|
|