![]() |
Android API Question Greetings When I check for camera existence in android phone I start with the following function : public static boolean deviceHasCamera(Context context) { if ( context.getPackageManager().hasSystemFeature(Packa geManager.FEATURE_CAMERA)) return true; else return false; } The question is why should I pass context as an argument and what is Context Identifier :D Thanks |
| All times are GMT -6. The time now is 05:57 AM. |