Hi!
I want to test that my app behaves correctly without camera support but I
have no device without camera. So I created a avd with Camer support set to
no.
However when I run the emulator this call still returns true
public boolean hasCamera() {
PackageManager packageManager = application.getPackageManager();
return
packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA);
}
Is this a bug in the emulator that I should report or am I missing
something?
thx
manfred
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en