The constructor is not supposed to be available outside the package. Use the factory function open() to get a camera object.
We do not support extending the camera API by adding new methods on the camera. If you want to extend the camera, you should use the existing setParameter, getParameter interface. On Mar 9, 9:32 am, "[email protected]" <[email protected]> wrote: > The constructor of Camera has no access specifier. > Why? > > "No specifier" means that it will be accessible from inside the same > package to which the class, method, or field belongs, but not from > outside this package. > > Camera API can be extended depending on camera device, so Camera class > should be easy to extend. > I think the specifier should be "protected". > > Can I know why the constructor of Camera has no access specifier? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
