Hi,
I actually tried this: I set up a KindleFire AVD with Camera
support=no.
I am doing experiment:
--
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.menu, menu);
PackageManager packageManager = getPackageManager();
hasCamera =
packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA);
Log.d("Kids Paint", "has camera: " + hasCamera);
return true;
}
--
But the answer is "has camera: true".
On 11月20日, 下午10时01分, Mark Murphy <[email protected]> wrote:
> When you create the AVD, in the Hardware area, click the New... button
> and choose "Camera support". It will then default to "no". I haven't
> tried this, but it presumably works.
--
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