@@ -29,163 +29,11 @@ crate-type = ["cdylib"]
2929# ###################
3030
3131[package .metadata .android ]
32- # Specifies the package property of the manifest.
3332package = " com.github.rust_mobile.namainloop"
34-
35- # Specifies the array of targets to build for.
36- build_targets = [" aarch64-linux-android" ]
37-
38- # Path to your application's resources folder.
39- # If not specified, resources will not be included in the APK.
40- # resources = "path/to/resources_folder"
41-
42- # Path to the folder containing your application's assets.
43- # If not specified, assets will not be included in the APK.
44- # assets = "path/to/assets_folder"
45-
46- # Name for final APK file.
47- # Defaults to package name.
48- # apk_name = "myapp"
49-
50- # Folder containing extra shared libraries intended to be dynamically loaded at runtime.
51- # Files matching `libs_folder/${android_abi}/*.so` are added to the apk
52- # according to the specified build_targets.
53- # runtime_libs = "path/to/libs_folder"
54-
55- # See https://developer.android.com/guide/topics/manifest/uses-sdk-element
5633#
57- # Defaults to a `min_sdk_version` of 23 and `target_sdk_version` of 30 (or lower if the detected NDK doesn't support this).
5834[package .metadata .android .sdk ]
5935min_sdk_version = 31
6036target_sdk_version = 35
61- # max_sdk_version = 35
62-
63- # See https://developer.android.com/guide/topics/manifest/uses-feature-element
64- #
65- # Note: there can be multiple .uses_feature entries.
66- [[package .metadata .android .uses_feature ]]
67- name = " android.hardware.vulkan.level"
68- required = true
69- version = 1
70-
71- # See https://developer.android.com/guide/topics/manifest/uses-permission-element
72- #
73- # Note: there can be multiple .uses_permission entries.
74- # [[package.metadata.android.uses_permission]]
75- # name = "android.permission.WRITE_EXTERNAL_STORAGE"
76- # max_sdk_version = 18
77-
78- # See https://developer.android.com/guide/topics/manifest/queries-element#provider
79- # [[package.metadata.android.queries.provider]]
80- # authorities = "org.khronos.openxr.runtime_broker;org.khronos.openxr.system_runtime_broker"
81- # Note: The `name` attribute is normally not required for a queries provider, but is non-optional
82- # as a workaround for aapt throwing errors about missing `android:name` attribute.
83- # This will be made optional if/when cargo-apk migrates to aapt2.
84- # name = "org.khronos.openxr"
8537
86- # See https://developer.android.com/guide/topics/manifest/queries-element#intent
87- # [[package.metadata.android.queries.intent]]
88- # actions = ["android.intent.action.SEND"]
89-
90- # See https://developer.android.com/guide/topics/manifest/queries-element#intent
91- # Note: there can be several .data entries.
92- # [[package.metadata.android.queries.intent.data]]
93- # mime_type = "image/jpeg"
94-
95- # See https://developer.android.com/guide/topics/manifest/queries-element#package
96- # [[package.metadata.android.queries.package]]
97- # name = "org.freedesktop.monado.openxr_runtime.in_process"
98-
99- # See https://developer.android.com/guide/topics/manifest/application-element
100- # [package.metadata.android.application]
101-
102- # See https://developer.android.com/guide/topics/manifest/application-element#debug
103- #
104- # Defaults to false.
105- # debuggable = false
106-
107- # See https://developer.android.com/guide/topics/manifest/application-element#theme
108- #
109- # Example shows setting the theme of an application to fullscreen.
110- # theme = "@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
111-
112- # Virtual path your application's icon for any mipmap level.
113- # If not specified, an icon will not be included in the APK.
114- # icon = "@mipmap/ic_launcher"
115-
116- # See https://developer.android.com/guide/topics/manifest/application-element#label
117- #
118- # Defaults to the compiled artifact's name.
38+ [package .metadata .android .application ]
11939label = " NativeActivity Mainloop"
120-
121- # See https://developer.android.com/guide/topics/manifest/meta-data-element
122- #
123- # Note: there can be several .meta_data entries.
124- # Note: the `resource` attribute is currently not supported.
125- # [[package.metadata.android.application.meta_data]]
126- # name = "com.samsung.android.vr.application.mode"
127- # value = "vr_only"
128-
129- # See https://developer.android.com/guide/topics/manifest/activity-element
130- [package .metadata .android .application .activity ]
131-
132- # See https://developer.android.com/guide/topics/manifest/activity-element#nm
133- #
134- # The name of the class that implements the activity, a subclass of Activity
135- #
136- # Defaults to "android.app.NativeActivity"
137- # name = "android.app.MyActivity"
138-
139- # See https://developer.android.com/guide/topics/manifest/activity-element#config
140- #
141- # Defaults to "orientation|keyboardHidden|screenSize".
142- # config_changes = "orientation"
143-
144- # See https://developer.android.com/guide/topics/manifest/activity-element#label
145- #
146- # Defaults to the application's label.
147- # label = "Activity Name"
148-
149- # See https://developer.android.com/guide/topics/manifest/activity-element#lmode
150- #
151- # Defaults to "standard".
152- # launch_mode = "singleTop"
153-
154- # See https://developer.android.com/guide/topics/manifest/activity-element#screen
155- #
156- # Defaults to "unspecified".
157- # orientation = "landscape"
158-
159- # See https://developer.android.com/guide/topics/manifest/activity-element#exported
160- #
161- # Unset by default, or "true" when targeting Android >= 31 (S and up).
162- # exported = "true"
163-
164- # See https://developer.android.com/guide/topics/manifest/meta-data-element
165- #
166- # Note: there can be several .meta_data entries.
167- # Note: the `resource` attribute is currently not supported.
168- # [[package.metadata.android.application.activity.meta_data]]
169- # name = "com.oculus.vr.focusaware"
170- # value = "true"
171-
172- # See https://developer.android.com/guide/topics/manifest/intent-filter-element
173- #
174- # Note: there can be several .intent_filter entries.
175- # [[package.metadata.android.application.activity.intent_filter]]
176- # See https://developer.android.com/guide/topics/manifest/action-element
177- # actions = ["android.intent.action.VIEW", "android.intent.action.WEB_SEARCH"]
178- # See https://developer.android.com/guide/topics/manifest/category-element
179- # categories = ["android.intent.category.DEFAULT", "android.intent.category.BROWSABLE"]
180-
181- # See https://developer.android.com/guide/topics/manifest/data-element
182- #
183- # Note: there can be several .data entries.
184- # Note: not specifying an attribute excludes it from the final data specification.
185- # [[package.metadata.android.application.activity.intent_filter.data]]
186- # scheme = "https"
187- # host = "github.com"
188- # port = "8080"
189- # path = "/rust-windowing/android-ndk-rs/tree/master/cargo-apk"
190- # path_prefix = "/rust-windowing/"
191- # mime_type = "image/jpeg"
0 commit comments