Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Witch Field supports Camera Capture
Witch Field supports Camera Capture [message #1795721] Thu, 27 September 2018 09:35 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 30
Registered: June 2014
Member
Hello,
How can I capture Image from camera to PictureField.
Kind Regards
Anis
Re: Witch Field supports Camera Capture [message #1795727 is a reply to message #1795721] Thu, 27 September 2018 10:37 Go to previous messageGo to next message
Patrick Bänziger is currently offline Patrick BänzigerFriend
Messages: 90
Registered: September 2011
Member
Hallo Anis

This feature is usually only available on mobile phones.
The AbstractImageField does not support this directly, but you can either


  • Show an AbstractFileChooserField (example)
  • Add a menu to the image that launches a FileChooser (example).


In both cases, set the allowed file extensions (getConfiguredFileExtensions / Constructor Argument) to the common image types and your phone should bring up the suitable interface to pick from a gallery or take a picture with the camera.
You can test this in the Demo app

Re: Witch Field supports Camera Capture [message #1795728 is a reply to message #1795727] Thu, 27 September 2018 10:49 Go to previous messageGo to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 30
Registered: June 2014
Member
Ok, thanks, the only way is to select the file of the image and can not steam it from a camera ?
Kind Regards
Re: Witch Field supports Camera Capture [message #1795731 is a reply to message #1795728] Thu, 27 September 2018 11:15 Go to previous message
Patrick Bänziger is currently offline Patrick BänzigerFriend
Messages: 90
Registered: September 2011
Member
That depends on your device and browser.

My Android + Chrome combination allows me to "Choose from gallery" or "Take a picture", which directly opens the camera app.
I suggest you try the demo app I linked on your target device to see how it works.
Previous Topic:SqlBind error
Next Topic:Fill Horizontal Form
Goto Forum:
  


Current Time: Mon Oct 14 22:57:26 GMT 2019

Powered by FUDForum. Page generated in 0.01762 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top