Statistics
| Branch: | Tag: | Revision:

securesmartcam / app / src / main / AndroidManifest.xml @ 41590feb

History | View | Annotate | Download (3.97 KB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
      package="org.witness.sscphase1"
4
      android:installLocation="auto">
5

    
6
    <uses-permission android:name="android.permission.READ_MEDIA_STORAGE"/>
7
    
8
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
9

    
10
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
11
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
12
    <uses-permission android:name="android.permission.VIBRATE" android:maxSdkVersion="18"/>
13
    <uses-feature android:name="android.hardware.camera" android:required="false" />
14

    
15

    
16
    <application android:label="@string/app_name" android:icon="@drawable/ic_launcher_ssc"
17
        android:largeHeap="true"
18
        android:name="org.witness.obscuracam.App"
19
        android:theme="@style/AppTheme"
20
        >
21
        <activity android:label="@string/app_name_label" android:name="org.witness.obscuracam.MainActivity"
22
              android:description="@string/app_description"
23
              android:configChanges="orientation|keyboardHidden"
24
            android:theme="@style/AppTheme.NoActionBar"
25
              >
26
            <intent-filter>
27
                <action android:name="android.intent.action.MAIN" />
28
                <category android:name="android.intent.category.LAUNCHER" />
29
            </intent-filter>
30
        </activity>
31
        <activity android:name="org.witness.obscuracam.ui.ImageEditor"
32
            android:configChanges="keyboardHidden|orientation|screenSize"
33
            android:theme="@style/AppTheme"
34
            >
35
                        <intent-filter>
36
            
37
                            <action android:name="android.intent.action.EDIT" />
38
                 <action android:name="android.intent.action.SEND" />
39
                 
40
                <action android:name="android.intent.action.MAIN" />
41
                 <category android:name="android.intent.category.DEFAULT" />
42
                 <category android:name="android.intent.category.ALTERNATIVE" /> 
43
                 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 
44
                 
45
                 <data android:mimeType="image/*" />
46
             </intent-filter>        
47
        </activity>
48
        
49
        <activity android:name="org.witness.obscuracam.ui.ImagePreview" android:label="@string/image_preview" android:configChanges="orientation|keyboardHidden" />
50

    
51
        <activity android:name="org.witness.obscuracam.video.VideoEditor"  android:configChanges="orientation|keyboardHidden|screenSize">
52
                <intent-filter>
53
                 
54
                 <action android:name="android.intent.action.EDIT" />
55
                 <action android:name="android.intent.action.SEND" />
56
                 
57
                <action android:name="android.intent.action.MAIN" />
58
                 <category android:name="android.intent.category.DEFAULT" />
59
                 <category android:name="android.intent.category.ALTERNATIVE" /> 
60
                 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 
61
                 
62
                 <data android:mimeType="video/*" />
63
             </intent-filter>
64
                
65
            </activity>
66
       <activity android:name="org.witness.obscuracam.video.VideoPreferences" />
67
        <activity
68
            android:name="org.witness.obscuracam.ui.AlbumsActivity"
69
            android:label="@string/title_albums"
70
            android:screenOrientation="portrait"
71
            android:theme="@style/AppTheme.NoActionBar"
72
            android:windowSoftInputMode="adjustResize">
73
        </activity>
74
        <provider
75
            android:name="android.support.v4.content.FileProvider"
76
            android:authorities="org.witness.securesmartcam.camera_capture"
77
            android:exported="false"
78
            android:grantUriPermissions="true">
79
            <meta-data
80
                android:name="android.support.FILE_PROVIDER_PATHS"
81
                android:resource="@xml/camera_capture_paths" />
82
        </provider>
83
    </application>
84
</manifest>