How to make camera work like scanner in .Net - asp.net

I have created a webapplication. Basically it gets the barcode string from an uploaded Image. Now I am planning of making it more fancy.
Instead uploading an image (either by iphone /ipad to capture the image or upload from library). I just want to scan the image from camera and get the barcode string to my backend database which will further load the pop up with invoice details.
Could someone share some ideas. I have researched all over the google and found that it can be done with own libraries. But I am not quite sure how to do that. Any tutorials or links that actually scans the barcode not just take a picture, upload and decode would be appreciated.

Related

Flutter/Dart/Firebase - Reduce unnecessary data loading

I tried searching my specific problem but I could not find any suitable solution.
I would like to thank everybody in advance for your help.
I am currently developing an iOS app.
The App represents a user profile which can be updated by the user.
Everything from the authentication, registration and the possibility to update your user data works fine with the help of Firebase. Now I would like to optimize some code.
So the application has 2 Screens, HomeScreen and EditScreen.
(Besides the Screens needed for registration and login).
To keep my question short:
How can I reduce the amount of data which is loaded from firebase?
Example:
1. User is on the HomeScreen, to build the view his image loads from Firebase Storage
2. He wants to edit his Image and therefore switches to the Editscreen, where his image will be loaded again
3. After changing his image, the new image will be uploaded to Firebase Storage and he can see his new image on the Editscreen
4. If he now switches back to the HomeScreen his new image will be loaded again from Firebase
Is there a good way to reduce the amount of loading?
Like caching the image between step 1 and 2?
As there is always a little delay in displaying his image.
Thanks!
Sadly I am not allowed to share any code.
You can check out the flutter_advanced_networkimage package. It will cache your photo upon load. For everything else, you should just move your profile object (or whatever it is that calls for the firebase user's information) above those routes and pass it down through your widget tree through arguments or state management.

XAMARIN FORM : how to send message to specific number of watsapp

i have page in which i have image of watsapp icon. What i want is when i tap on that image it go to watsapp to specific number which will be our company number, so client can text us or send any image or file through watsapp
The easiest way would be through the custom URL scheme as described here: https://faq.whatsapp.com/en/iphone/23559013
Which basically tells you to open a URI like this: whatsapp://send?text=Hello%2C%20World!. You can simply open it by calling to the Device.OpenUri method of Xamarin.Forms. This should work cross-platform for iOS and Android.
If you want to share a photo immediately this isn't possible as far as I know. It is possible to someone that is in your recent chats, by the sharing API, but to my knowledge you can't send it to a random number. At least not for iOS, it might be different for Android.

Stop Dropzone.js from stripping exif data

Is there anyway I can make dropzone.js keep the exif data with the image it's uploading?
I have an asp.net application that get's the date/time taken of a user uploaded image and has been working great using an asp.net fileupload control.
I'd like to implement Dropzone.js - but every file uploaded seems to be missing all of the exif data I was able to read via the fileupload control.
I've searched the repo/faq/docs and can't find anything relevant regarding exif data.
EBKAC! After removing Dropzone.js and attempting to upload the same images - I found out that the images I'm using DON'T have the info on them. (I'm surprised as they are from an old phone) So this issue has NOTHING to do with Dropzone.js

Asp.Net Google style file upload

Does someone knows of a user control that can work exactly like the file upload Google has?
I want that the use will select the files to upload, then that upload will start and the progress bar will work, and the user can continue to the next field he has to fill in the page as the file is uploaded in the background.
Willing to pay. Free is better.
Thanks
I recently used AjaxUploader with great results. One of its demos is actually GMail Style. It runs $99 for 1 domain.

flex - check image dimensions before upload using filereference

In my Flex application, I use a FileReferenceList that the user can populate with multiple files using fileList.browse() before upload.
I check each file's size and use fileList[i].upload() to upload to my server, this works fine.
I have a suspicion that this is not possible, but before upload I would like to convert each FileReference into an Image in order to check it lies within certain dimension tolerances.
I realise I can do this server side, but ideally I would like the check to appear on both client and server. Can anyone offer any help?
Thanks!
Take a look at this post at the Yahoo! Flash Blog. Flash 10 lets you work with images locally. They give a nice example with code of how you can process FileReference objects, specifically image files.

Resources