Capturing and Saving Images using Camera in xPages - xpages

I have a requirement of capturing person image using camera and storing in IBM Notes native database and displaying it a field / area on front end (on xpage). Can I achieve this functionality in xpages? Supported equipment e.g. camera?
Can you please guide me is this possible? If yes how it's possible for both thick and thin client.
Thanks in advance,
Best Regards,
Qaiser

If you want to do this using a web application/ XPage (and not an app) you can't access the camera directly. However, if you use a file upload control on a mobile device (Android or iOS smartphone or tablet), it will ask you if you want to select a picture from the local gallery or take a picture.
I would use that feature to take and immediately upload the picture to the database. I recently wrote an article how to accomplish that using DropzoneJS: that plugin allows you to add for example a button to your XPage that says "Take picture" and immediately upload it to your Domino database once the picture is taken.

Related

The search option does not show on a mobile device using Housez theme

I decided to use the Housez theme as it advertises as super easy and flexible to use. I am not a web designer but have managed to get my site up and running. www.islandestates.net The problem I have is that there is no search option for the properties on a mobile device? The desktop version works well but how do I get a search box onto the mobile version?
The support from Housez is non existent, I have submitted a request to favetheme but they never reply.
Any help would be aprreciated.
Malcolm

Can we read text from the selected objects in perception simulation

I am automating the hololense application using perception simulation. In one of the scenario, I need to perform click action on the specific objects based on the name.So, Is it possible to read the text of the selected objects ? (Note: I have selected the objects using right hand /light hand move and object is selected with distinguished color )
It seems that you want to build test automation for your app or file explorer base on the Hololens2 emulator. And what your requirement is making it automatically tap an object with a matching name in the emulator.
If so, the emulator does not support the feature which recognizing text or direct returning data from the application memory. However, you can provide more information about your business request and submit a feature request via feedback hub on new feature request to be considered in future releases of HoloLens2 emulator.
For how to post feedback request, you can follow this doc: Send feedback to Microsoft with the Feedback Hub app.
Out of the field of HoloLens app development, you can code your own desktop program to capture the view in the emulator window, and then use OCR technology to recognize the character in the screen. Finally, customize your input to the simulator according to the result. However, this is not a simple way.

How to customize the the POLL UI and Announcement UI in Windows 8.1 app using C# and xaml?

I have implemented ME in Windows Universal 8.1 app. When i create any announcement or any poll it appears in the black screen in the app like below.
But i want to change this UI as per my requirements. How can i change this?
Anybody please help me with a sample code.
Thanks in advance
We don't have a sample for this but you will find the place to customize the appearance on the client side in the "Resources" folder of the SDK in your Windows app solution.
1) Use html/EngagementNotification.html & overlay/EngagementOverlayNotification.xaml to change the base notification which shows up when you set up the campaign from the server side. You can add company logo/branding, images, change the size, orientation etc.
2) Use html/EngagementAnnouncement.html & overlay/EngagementOverlayAnnouncement.xaml to change the subsequent announcement that gets displayed in the form of poll or text or web announcement. Again you can change look and feel etc.
If you are sending a web announcement from the service where you can specify the HTML in the content of your announcement then the HTML content you send from the service gets merged with the HTML you have customized on your client and will be presented such.
Hope this helps.
Thanks!

attaching a file via iPad using Lotus Notes XPages

I am fairly sure this is not possible because of limitations of the iPad but has anyone worked with the iPad and XPages to allow a user to choose a file from the iPad to attach on an XPage? For example, the user wants to attach a PDF file...where would he be able to get it on the iPad. I'm not an iPad expert, but from the little that I know, I don't think this is possible.
Thanks in advance.
iOS 6 allows you to upload photos or vidoes - not any other files.

In XPages I can't get the File Upload Control to work inside of Mobile Controls

Now that iOS devices can upload from their picture library or camera, I'm trying to use the file upload control to get ahold of these pictures via an xpage. If it's a plain XPage it's working fine - but if I try to wrap this inside of the Mobile Controls from the extension library I can't get the picture to save. Other values save to the document but not the picture.
The file upload control is bound to a rich text field.
Any ideas would be appreciated!!!!
Place the file upload inside an Iframe.
Interesting. Are you saying that you can make the file upload control work with an XPage on an iOS device? I was of the clear impression that you do not have access to the camera from a web-app. In this case you need to wrap your web-app into a layer that can access the physical (e.g. Apache Cordova aka PhoneGap)....?
I know that some of these features are on their way in html5, however, the have so far been very unreliable (crashing the phones often).
/John

Resources