How to check telephony and camera availability for SDK version < 5
问题 Standard way of checking camera and telephony hardware availability works only since SDK >= 5: PackageManager pm = this.getPackageManager(); boolean hasTelephony=pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); boolean hasCamera=pm.hasSystemFeature(PackageManager.FEATURE_CAMERA); My problem that I need to runtime define availability of telephony and camera in SDK 3 (Android 1.5) Any ideas? P.S. I understand that Android 1.5 is very outdated, but still I do have bunch of customers