rubymotion/BubbleWrap — pull request #84 by clayallsopp (2012-07-04 04:12:57+00:00)
Title: Device::Camera integration

As mentioned in issue #82 and #83, this integrates `Camera` as a submodule of `Device`.

It allows you to do this:

```ruby
# Uses the front camera
BW::Device.front_camera.picture(media_types: [:movie, :image]) do |result|
...
end

# Uses the rear camera
BW::Device.rear_camera.picture(media_types: [:movie, :image]) do |result|
...
end

# Uses the photo library
BW::Device::Camera.any.picture(media_types: [:movie, :image]) do |result|
...
end
```

Problems/questions:

1. Because `Device` now depends on this, `Camera` has been moved to `core`. Thoughts?
2. A `Camera` object isn't necessarily tied to a physical camera (i.e. what if you just want to get photos from the library). is there an alternative or preferable format for this?

@jamesotron