Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Camera fill
Started by richard11 Nov 11 2018 02:18 PM

2 replies to this topic
android camera fill
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

richard11

[GLOBAL: userInfoPane.html]
richard11
  • Contributor

  • 242 posts
  • Corona SDK

I'm building something that requires rendering the devices camera image on screen, but I don't actually need to take a photo or record a video - literally just need the image rendered so that the user knows what they're pointing at.

 

https://docs.coronalabs.com/api/type/ShapeObject/fill.html offers a fill method that would be perfect, but states that it's iOS only, and typically, it's Android that I'm building this for.

 

There are Android friendly plugins in the marketplace which look to me like they're doing this, e.g. https://marketplace.coronalabs.com/corona-plugins/qr-scanner , so presumably either the documentation is just out of date and this actually will work in Android, or there's another method I've not been able to find.

 

Any pointers please?



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,380 posts
  • Corona SDK

AFAIK, This does not work for Android.  The plugin is probably doing it all on its own via some native coding.



[TOPIC: post.html]
#3

richard11

[GLOBAL: userInfoPane.html]
richard11
  • Contributor

  • 242 posts
  • Corona SDK

Ah... Well that's a bummer!

Can I do any trickery with the photo/video capture methods perhaps? E.g. capture a shot every 1 second and render that to the screen?


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: android, camera, fill