@ -1,25 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2010 - 2011, The MiCode Open Source Community (www.micode.net)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android= "http://schemas.android.com/apk/res/android"
package="net.micode.notes"
android:versionCode="1"
android:versionName="0.1" >
android:versionName="0.1">
<uses-sdk android:minSdkVersion= "21" />
<uses-permission android:name= "android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name= "com.android.launcher.permission.INSTALL_SHORTCUT" />
@ -32,120 +17,100 @@
<uses-permission android:name= "android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:icon="@drawable/icon_app"
android:label="@string/app_name" >
android:icon="@drawable/icon_app_new"
android:label="@string/app_name">
<activity
android:name=".ui.LoginActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:windowSoftInputMode="adjustPan" >
<!-- android:uiOptions="splitActionBarWhenNarrow" -->
android:name=".ui.SplashActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.Note.Fullscreen">
<intent-filter >
<action android:name= "android.intent.action.MAIN" />
<category android:name= "android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name= ".ui.LoginActivity" android:configChanges= "keyboardHidden|orientation|screenSize" android:label= "@string/app_name" android:launchMode= "singleTop" android:theme= "@style/NoteTheme" android:windowSoftInputMode= "adjustPan" >
<!-- android:uiOptions="splitActionBarWhenNarrow" -->
<intent-filter >
<action android:name= "android.intent.action.MAIN" />
<category android:name= "android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.ChangePassword"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:windowSoftInputMode="adjustPan" >
android:windowSoftInputMode="adjustPan">
</activity>
<activity
android:name=".ui.CreatePassword"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:windowSoftInputMode="adjustPan" >
android:windowSoftInputMode="adjustPan">
</activity>
<activity
android:name=".ui.DeletePassword"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:windowSoftInputMode="adjustPan" >
android:windowSoftInputMode="adjustPan">
</activity>
<!-- <activity
android:name=".ui.SearchActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:windowSoftInputMode="adjustPan" >
</activity> -->
<activity
android:name=".ui.NotesListActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustPan" >
<!-- android:uiOptions="splitActionBarWhenNarrow" -->
<!-- <intent - filter> -->
<!-- <action android:name="android.intent.action.MAIN" /> -->
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
<!-- </intent - filter> -->
</activity>
<activity
android:name=".ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:theme="@style/NoteTheme" >
android:theme="@style/NoteTheme">
<intent-filter >
<action android:name= "android.intent.action.INSERT_OR_EDIT" />
<action android:name= "android.intent.action.VIEW" />
<category android:name= "android.intent.category.DEFAULT" />
<data android:mimeType= "vnd.android.cursor.item/text_note" />
<data android:mimeType= "vnd.android.cursor.item/call_note" />
</intent-filter>
<intent-filter >
<action android:name= "android.intent.action.SEARCH" />
<category android:name= "android.intent.category.DEFAULT" />
</intent-filter>
<action android:name= "android.intent.action.INSERT_OR_EDIT" />
<intent-filter >
<action android:name= "android.intent.action.VIEW" />
<category android:name= "android.intent.category.DEFAULT" />
<data android:mimeType= "vnd.android.cursor.item/text_note" />
<data android:mimeType= "vnd.android.cursor.item/call_note" />
</intent-filter>
<intent-filter >
<action android:name= "android.intent.action.SEARCH" />
<category android:name= "android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
<!-- <meta - data>必须包括android:name这个属性, 而且其值必须为"android.app.searchable", -->
<!-- 还必须包括android:resource这个属性, 它指定了我们的search dialog的配置文件。 -->
</activity>
<provider
android:name="net.micode.notes .data.NotesProvider"
android:name=".data.NotesProvider"
android:authorities="micode_notes"
android:exported="false"
android:multiprocess="true">
</provider>
android:multiprocess="true" />
<receiver
android:name=".widget.NoteWidgetProvider_2x"
android:label="@string/app_widget2x2" >
android:label="@string/app_widget2x2">
<intent-filter >
<action android:name= "android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name= "android.appwidget.action.APPWIDGET_DELETED" />
@ -156,11 +121,9 @@
android:name="android.appwidget.provider"
android:resource="@xml/widget_2x_info" />
</receiver>
<receiver
android:name=".widget.NoteWidgetProvider_4x"
android:label="@string/app_widget4x4" >
android:label="@string/app_widget4x4">
<intent-filter >
<action android:name= "android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name= "android.appwidget.action.APPWIDGET_DELETED" />
@ -171,40 +134,32 @@
android:name="android.appwidget.provider"
android:resource="@xml/widget_4x_info" />
</receiver>
<receiver android:name= ".ui.AlarmInitReceiver" >
<receiver android:name= ".ui.AlarmInitReceiver" >
<intent-filter >
<action android:name= "android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver
android:name="net.micode.notes.ui.AlarmReceiver"
android:process=":remote" >
</receiver>
android:name=".ui.AlarmReceiver"
android:process=":remote"></receiver>
<activity
android:name=".ui.AlarmAlertActivity"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
</activity>
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar"></activity>
<activity
android:name="net.micode.notes .ui.NotesPreferenceActivity"
android:name=".ui.NotesPreferenceActivity"
android:label="@string/preferences_title"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Holo.Light" >
</activity>
android:theme="@android:style/Theme.Holo.Light"></activity>
<service
android:name="net.micode.notes.gtask.remote.GTaskSyncService"
android:exported="false" >
</service>
android:name=".gtask.remote.GTaskSyncService"
android:exported="false"></service>
<meta-data
android:name="android.app.default_searchable"
android:value=".ui.NoteEditActivity" />
</application>
</manifest>