Apache Axis 是 Apache Web Service 项目中的子项目之一,它是 Apache SOAP 项目的延续。Axis 的主要功能是作为一个 SOAP 的实现来让开发者通过它来构建自己的 Web Service(支持 Java 和 C++)。随着 Web Services 以及 SOA 的不断发展,越来越多的人投入到了相关技术的实现、开发和标准的制定的工作中。Apache Axis 凭借它强大的功能和稳定性倍受开发人员的青睐,成为了用于实现 Web Services 的主要途
前言
在最近的开发中需要获取到SIM卡的网络状态,在源码中看到一个方法:
TelephonyManager tm =(TelephonyManager)context.getSystemService(TELEPHONY_SERVICE);
state =tm.getDataNetworkType();
但是报错了Call requires API level 24 (current min is 21): android.telephony.TelephonyManager#getData