I am building a web application that needs to have document scanner functionalities. I made some research to do that fully with web technologies but it seems that it's a bit too complicated for what I need. Is it possible from within a web app to open ios Notes document scanner or Drive document scanner and receive the data the same way that it's possible to use the native camera?
Basically I need to open camera with document scanning mode, that way the document recognition and framing will be done with the native functionality and only my web app to save it.
Related
I'm currently building a web interface that lists a load of data for data entry to peruse through. The website doesn't actually update our back end though. We have a vendor supported custom built Windows application which we use for our data entry.
This web interface is replacing some excel lists + VB. The Excel version of this system is able to pass some data to an already open instance of a custom Windows application and bring into the app a certain ID that's clicked on in Excel, so I'm trying to replicate this from the browser.
So far I'm able to get close by using this JavaScript within IE:
<script type="text/javascript" language="javascript">
function RunFile() {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run(pathToApp, 1, false);
}
RunFile()
</script>
But this method I believe tries to open a new instance of the Windows Application. Not access the currently open version. I think looking at the VB code I need to use the windows "sendKeys" method.
It's not something I've ever done before, or needed to do. So It's very new to me.
Is it possible to pass data to an already open Windows app via a browser?
Are there any other options available, I was thinking maybe Electron could help here maybe? Or am I wrong and fighting a losing battle on this front?
Scenario sounds really complex but maybe you should check if this windows app can be integrated with Office Add-Ins.
From their site:
What can an Office Add-in do?
An Office Add-in can do almost anything a webpage can do inside the browser, such as the following:
Extend Office native UI by creating custom ribbon buttons and tabs.
Provide an interactive UI and custom logic through HTML and
JavaScript.
Use JavaScript frameworks such as jQuery, Angular, and
many others.
Connect to REST endpoints and web services via HTTP and
AJAX.
Run server-side code or logic, if the page is implemented using
a server-side scripting language such as ASP or PHP.
In addition,
Office Add-ins can interact with the Office application and an add-in
user's content through a JavaScript API that the Office Add-ins
infrastructure provides.
Web app
The minimal version of a compliant web app is a static HTML webpage. The page can be hosted on any web server, or web hosting service, such as Microsoft Azure. You can host your web app on the service that you choose.
The most basic Office Add-in consists of a static HTML page that is displayed inside an Office application, but doesn't interact with either the Office document or any other Internet resource. However, because it is a web application, you can use any technologies, both client and server side, that your hosting provider supports (such as ASP.net, PHP, or Node.js). To interact with Office clients and documents, you can use the office.js JavaScript API that we provide.
I'm looking for leads on how to capture web page metadata from the current browser page. I want to create a feature in my application that will allow the user to press a hot key and record meta data from the web page currently open in the user's browser. My application will be running minimized, this feature is to be activated by a global hot key.
I'm using nw.js (formerly Node-Webkit) to create this application, so ideally, the solution would be javascript running in a desktop installation of Node.js. If this is not practical, I understand that I can call platform specific code from nw.js, so solutions developed in any desktop os language would be of interest.
My application targets OS X and Windows.
I'm hoping to capture metadata from all major modern browsers (Chrome, Firefox, Safari and IE 10+).
At a minimum I need to capture the page url, but I also want to capture Keywords, Description and highlighted text for the source web page.
I need to implement this function without modifying the source webpage in any way, and I prefer to avoid the need for browser extensions, bookmarklets or plugins.
If a solution exists using a remote controlled browser extension (no user interaction) that would be of interest, but ideally I want to avoid requiring the end user to install or interact with anything but my application.
My search to date has located no information on reading web page information from applications outside the browser.
Any thoughts or leads are much appreciated.
I've built a web page that shows a map along with geo-tagged images. I would like to also show some real-time sensor data, for example noise levels.
I can put the page in a UIWebView in iOS and I can access the sensors I need from a native app (built in Xamarin if that's relevant).
I can obviously build web services on my server and send the sensory data from the native app, then use ajax to get the data to the web page. While there are good reasons to do this I would still like my app to continue working (albeit with decreased functionality) while it's not connected to the internet - I need to be able to pass the sensory data (json) from the native app to the web page without reloading the web view itself.
Q: Is there a way to continuously pass data from the native app to the page inside the UIWebView?
I have implemented the bridge for Xamarin (and WP8) here: https://github.com/sami1971/SimplyMobile/tree/master/Core/SimplyMobile.Web
Take a look at the WebHybrid class (it has partial class implementation for Android, iOS & WP8 in addition to the core partial class).
Here is a small sample application: https://github.com/sami1971/SimplyMobile/tree/master/iOS/Tests/WebClientTests
Take a look at this Xamarin Component
Allows for bidirectional communication with the UIWebView in
Monotouch.
http://components.xamarin.com/view/jsbridge
I'd like to create a web page which can access a body sensor on an Android tablet (to detect if someone is standing in front of the tablet).
I'd love to do this with a web page (an actual web page, not a PhoneGap/Cordova app). I've seen demos of accessing the webcam from a web page via HTML5/JS in Opera. I'd love to do the same with a body sensor.
Is there ANY way to achieve this? I'm okay with using a browser plugin if necessary or even a customed Android browser (that supports HTML5/CSS3).
Alternatively, is this even possible with PhoneGap/Cordova?
I am wanting to develop an application for mobile devices, which shows in real time where a user (with this software installed on your mobile device) is. The idea would be that one (or more) users could follow the map the displacement of another user via GPS. I want to use PhoneGap with HTML5 and CSS and Javascript.
My question is: Is it possible to do that with these technologies? If yes, where can I get information of how to handle the GPS that way? If you can not, which language would give me this possibility and where can I get information? At first, I intend to develop this Application for Android and IOS.
Yes it’s very much possible with PhoneGap technology. You have to write a web service to keep the GPS coordinates as user updates (or auto updates) in server. You can let other users to connect to Web service and get the info they wanted (i.e. the data they wanted to see the current location of the user). You developed using PhoneGap means, it’ll work for iPhone too.
You can easily develop a web service either using PHP, Java or C# though C# web services are easy to write and maintain but PHP web servers are cheap compare to windows hosting (which you will need to host C# web service).
The question you asked is very broad so can write a 1000 words article and beyond. If you ask specific question I can answer that.