-
Notifications
You must be signed in to change notification settings - Fork 1
/
AndroidManifest.xml
49 lines (45 loc) · 2.36 KB
/
AndroidManifest.xml
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="radio.app"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-sdk android:targetSdkVersion="13" android:minSdkVersion="4"/>
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.Light">
<!-- The Main Activity (for searching and viewing favourites ) -->
<activity android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- The Activity for a City (show's list of stations) -->
<activity android:name=".StationActivity"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock.Light">
<!-- enable the search dialog to send searches to StationActivity -->
<meta-data android:name="android.app.default_searchable"
android:value=".CityActivity" />
</activity>
<activity android:name=".CityActivity"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock.Light">
<!-- Search queries passed to this activity -->
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
<!-- enable the search dialog to send searches to SearchableActivity -->
<meta-data android:name="android.app.default_searchable"
android:value=".CityActivity" />
</activity>
<!-- <intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> -->
</application>
</manifest>