开源协议:Apache License,Version 2.0
Base Project:https://github.com/SherlockGougou/AndroidUtils/blob/master/src/utils/RomUtil.java
源项目:https://github.com/SherlockGougou/AndroidUtils/blob/master/src/utils/RomUtil.java
RomUtil is a method in Language Java in order to judge users’ ROM.
RomUtil 是 Java 中判定 ROM 的方法,主要是判定国产系统(由于他们很多地方都与原生不同,需要用不同的方法来达成相同的效果)
Thanks to @SorrowClover,we moved it to Androlua.
感谢 @SorrowClover,我们一起将这个方法转移到了 Androlua.
Download the Project and open main.lua,there are the method for how to use.
下载工程并且打开 main.lua,其中有调用方法。
If you want to use it in your own Project,copy libs/RomUtil.dex to your Project’s libs.
如果你想要使用这个方法,请将 libs/RomUtil.dex 复制到工程根目录的 libs 文件夹。
Import code:
import "ml.cerasus.RomUtil.*"
PLEASE ACCEPT THE LICENSE FIRST OF ALL!
请遵守协议来使用本项目!
Copyright [2018-2019] [RomUtil @Createlite、@SorrowClover]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.