FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ProgrammingAndroidExamples/SearchDemo/AndroidManifest.xml at master · beck0505/ProgrammingAndroidExamples · GitHub
beck0505
/
ProgrammingAndroidExamples
Public
forked from
bmeike/ProgrammingAndroidExamples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
ProgrammingAndroidExamples
/
SearchDemo
/
AndroidManifest.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
49 lines (40 loc) · 2.47 KB
Breadcrumbs
ProgrammingAndroidExamples
/
SearchDemo
/
AndroidManifest.xml
Copy path
File metadata and controls
49 lines (40 loc) · 2.47 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?>
<
manifest
xmlns
:
android
=
"
http://schemas.android.com/apk/res/android
"
package
=
"
com.oreilly.demo.android.pa
"
android
:
versionCode
=
"
1
"
android
:
versionName
=
"
1.0
"
>
<!--
this is primarily built for android 2.3+, we include the target for 3.0+ so we can use the searchwidget
-->
<
uses-sdk
android
:
minSdkVersion
=
"
9
"
android
:
targetSdkVersion
=
"
11
"
/>
<
application
android
:
icon
=
"
@drawable/icon
"
android
:
label
=
"
@string/app_name
"
>
<
activity
android
:
label
=
"
@string/app_name
"
android
:
name
=
"
.searchdemo.MainActivity
"
>
<
intent-filter
>
<
action
android
:
name
=
"
android.intent.action.MAIN
"
/>
<
category
android
:
name
=
"
android.intent.category.LAUNCHER
"
/>
</
intent-filter
>
<
meta-data
android
:
name
=
"
android.app.default_searchable
"
android
:
value
=
"
.searchdemo.SearchActivity
"
/>
</
activity
>
<
provider
android
:
name
=
"
.searchdemo.CustomSearchSuggestionProvider
"
android
:
authorities
=
"
com.oreilly.demo.android.pa.searchdemo.CustomSearchSuggestionProvider
"
android
:
readPermission
=
"
com.oreilly.demo.android.pa.searchdemo.CustomSearchSuggestionProvider.READ_MY_DATA
"
android
:
writePermission
=
"
com.oreilly.demo.android.pa.searchdemo.CustomSearchSuggestionProvider.WRITE_MY_DATA
"
>
<
path-permission
android
:
pathPrefix
=
"
/search_suggest_query
"
android
:
readPermission
=
"
android.permission.GLOBAL_SEARCH
"
/>
</
provider
>
<!--
Comment out the above provider that uses .searchdemo.CustomSearchSuggestionProvider and uncomment the
-->
<!--
one below that uses .searchdemo.SearchDBProvider to enable usage of the Search based on the local database
-->
<!--
ALSO: change res/values/bool.xml UseDBSearchLogic to true
-->
<!--
<provider android:name=".searchdemo.SearchDBProvider"
-->
<!--
android:authorities="com.oreilly.demo.android.pa.searchdemo.SearchDBProvider">
-->
<!--
<path-permission android:pathPrefix="/search_suggest_query" android:readPermission="android.permission.GLOBAL_SEARCH" />
-->
<!--
</provider>
-->
<
activity
android
:
name
=
"
.searchdemo.SearchActivity
"
>
<
intent-filter
>
<
action
android
:
name
=
"
android.intent.action.SEARCH
"
/>
</
intent-filter
>
<
meta-data
android
:
name
=
"
android.app.searchable
"
android
:
resource
=
"
@xml/searchxml
"
/>
</
activity
>
</
application
>
</
manifest
>
Back
|
FazBrowse Home
|
New Git URL