Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在考虑将一些自定义数据放入 AndroidManifest.xml 的可能性。例如,此特定应用版本的 SQLite 数据库版本。
当然,我可以将这些数据硬编码在源或偏好中的某个地方,但我仍然想知道这是否可能?
为什么不将它作为常量放入 res/values xml 文件(可能是 res/values/strings.xml)中?