Home | History | Annotate | Download | only in HTMLViewer
      1 <!--
      2 /* //device/apps/Browser/AndroidManifest.xml
      3 **
      4 ** Copyright 2006, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License");
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 
     21         package="com.android.htmlviewer">
     22 
     23     <original-package android:name="com.android.htmlviewer" />
     24     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     25     <application android:label="@string/app_label">
     26         <activity android:name="HTMLViewerActivity" android:label="HTMLViewer"
     27                   android:theme="@android:style/Theme.Holo" >
     28             <intent-filter>
     29                 <category android:name="android.intent.category.DEFAULT" />
     30                 <action android:name="android.intent.action.VIEW" />
     31                 <data android:scheme="file" />
     32                 <data android:scheme="content" /> 
     33                 <data android:mimeType="text/html"/>
     34                 <data android:mimeType="text/plain"/>
     35                 <data android:mimeType="application/xhtml+xml"/>
     36                 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
     37             </intent-filter>
     38          </activity>
     39          
     40          <provider android:name="FileContentProvider"
     41                  android:exported="false"
     42                  android:authorities="com.android.htmlfileprovider"
     43                  android:syncable="false" android:multiprocess="false"
     44                  android:grantUriPermissions="true" /> 
     45 
     46     </application>
     47     
     48 </manifest>
     49 
     50