Capture images from a phone camera? [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need a simple way to capture images from smartphones without writing an app for every Operating System ( android, ios, winphone ).
Is there a way to capture images from a phone camera ( obviously without using OS API ) on a web page ?

Short answer: no.
Your best bet is to use Apache Cordova. However, note that the web page needs to be wrapped in a native WebView as an app, as it is not possible to take a picture using the phone's camera directly from a web page. The advantage of using Cordova/Phonegap is that you do not need to write custom code for each platform.
http://docs.phonegap.com/en/3.3.0/index.html
Usage example

Related

Can I use javascript with in an Android App [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am a real beginner in flutter and dart, i am trying to implement some web page (specifically pandemic.events) functionality with in a really simple android app..
my first thought is just to copy the web page with all of its' javascript inside the app and manipulate a little bit some parts that i find lacking.
i am struggling with using javascript inside my flutter app (writing import package:js... in main.dart).
Is there even a possibility to use javascript inside a flutter android app ?
you can use JavaScript code and packages in your Flutter code with https://pub.dev/packages/js
I don't know about Flutter but you can implement web page functionalities in a Progressive Web App which is a JavaScript technique to build mobile Apps both for Android and iOS

Can you run a background iBeacon/Eddystone scan in web-bluetooth using a service worker? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
With the release of new web-bluetooth features, I believe iBeacon/Eddystone beacon scanning is possible in PWAs using web-bluetooth. I am running a use-case and I would like some help on achieving a background service worker, which scans for beacons in background using chrome service-workers or something similar in smartphones?
Is this possible and if yes how?
According to the Chrome feature status page, the Web Bluetooth scanning feature has not been implemented at all as of May 2019. This makes it impossible to scan for beacons: https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md#scanning-api
There are other APIs implemented that let you find and connect to Bluetooth devices, but because you cannot see and decode the advertisements (what the above unimplemented API would provide), you cannot use them as beacons.

How to interface an hardware device using javascript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I had developed a web application in ASP.NET MVC using C# which is used for billing purpose. But now the client had a new requirement that he need to connect swiping device so that the customers can pay using their cards.
Now the issue is that how i communicate with the device from javascript? i had tried web socket but is not succeed.Is there any ways to make this possible ?
You can use the self host Web API to communicate with the swiping device.
You can simply create a self hosted Web API to communicate with the swiping device
Make it run on the client machine
Call the API from your java script
It will work perfectly
Look at the documentation of the swiping device, it should explain how you should interface with it.
Of course there's no web browser API to interface with every imaginable peripheral device, so you're simply going to have to put your software development skills to work and create a compatibility layer.

show live TV from a connectted USB DVB-T stick (on windows) on a local web page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to buy a DVB-T stick which gets connect to PC and laptop by USB and has a software to play live TV on windows. What I want to do with that is to show the live TV stream from that stick on a web browser instead of the original windows software. The reason behind that is I need to use it in a digital signage program which only supports web platform for these kind of medias.
As far as I know, if I could make a html page which contains the player to show the live stream from the USB stick, the job is done, but my question is how to write that html page exactly. Any suggestion?
Thanks for paying attention to my question and helping me in advance.
This is not possible with HTML. Also PHP and JavaScript will not fit this problem. Because that are web based languages. You can not access plugin devices in any way.
The only way you can do is to write an application in C#/C++/Java which will read the usb and open it in a webview to show.

HTML App for Mac/Windows [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I wanted to create a program coded in HTML/CSS/JS, I already looked at cordova and phonegap, the only problem here is that I don't want to create an iOS or Android app, I want to create a Mac/Windows App. As far as I know there isn't the possibility in cordova or phonegap to create a Mac/Windows App (even though I believe I saw something similar to this in an old version of phonegap). So, do anyone of you have any idea how to make this possible?
Greetz,
Zocker3333.
Try looking at nodewebkit. This can build HTML/JS based applications for Windows, Mac and Linux and is based around Node.JS

Categories

Resources