-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathManifest.mdepth
More file actions
36 lines (30 loc) · 826 Bytes
/
Manifest.mdepth
File metadata and controls
36 lines (30 loc) · 826 Bytes
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
Model Manifest {
Node ManifestDescription {
namespace : String="http://schemas.android.com/apk/res/android";
package : String;
versionCode : String="1";
versionName : String="1.0";
sdk : String;
app_info : AppInfo[1];
permissions : Permission[*];
}
Node AppInfo {
icon : String="@drawable/icon";
label : String="@string/app_name";
activities : Activity[*];
}
// e.g. <uses-permission android:name="android.permission.SEND_SMS"/>
Node Permission {
name : String;
}
Node Activity {
name : String;
label : String="@string/app_name";
intent : IntentFilter;
}
// e.g. http://developer.android.com/guide/topics/intents/intents-filters.html
Node IntentFilter {
action : String="android.intent.action.MAIN";
category : String="android.intent.category.LAUNCHER";
}
}