I have developed a program which detects human in real time(webcam) and displays it to the webpage of the local network. This is done by creating a server and websockets using Node.js and opencv.
Now, I have to develop an android app where i should get a notification everytime when the human is detected from the webcam video of a local host. How can i achieve this using node.js server and android interfacing?
Any suggestions or inputs with code examples would be more helpful.
Try using ionic to convert between webpages and android. Then use push notifications to alert the user.
Related
I have developed a game using the technologies mentioned above, however I would like the game not to need a web server to play it, but to run as if it were a desktop application.
I have read that with node js you can create a local web server and with that to run the game, but I don't know how to achieve it.
The idea is that the game has an icon on the desktop and after executing it, it can be played, that is, everything is integrated and the person who has the game does not need to download external programs such as xampp.
Final note: is this possible for smartphones?
Your best bet is ElectronJS, it is a NodeJS library that lets you package browser code as a desktop app. It works for macOS, Linux, and Windows.
Website: https://electronjs.org
Edit: Also once the app is packaged and in your computer you won’t need an internet connection. Final note, it turns it into an actual app so like app for macOS and exe for windows. So they won’t need a web server on their computer to run it.
I'm thinking to pass to a web app IDE like cloud9 to host my apps currently in development.
The problem with this is that i don't know how to test my code in the way I normally do with a simulator, locally.
I'm trying to develop on a remote server, and building on that remote server, an i want to test the app with my real device, with live reloading absolutely. If it's not possible to use my real device i could use an emulator and it's ok, but I'd prefer to use my phone.
I see you are using metro-bundler, you can achieve this by using the Tunnel option in connection:
This will create a global link to communicate with any of your devices. Then you can easily use the QR code or just the generated link in your own mobile device using expo app.
Now you can debug and test with your actual physical phone or emulator without publish it.
So I have an idea for an app that'll include numerous short video clips. 1st question, is it possible to publish a React/NodeJs/MongoDb application on the android app store using PhoneGap/Cordova? 2nd question, assuming that the first question is possible, how and where would I store/call these video clips for the app?
I've never developed on this scale, any and every tip is appreciated!
Thank you.
I have worked on an application where i had to store small intro videos and pictures of a product, here is what i did and what you can do as well (of course you can choose other technology stacks)
What i did was use native Android Development(Java) for the android app and use PHP(Lumen) for backend where i store my videos on Cloud Storage on GCP.
You can build & publish your android app with PhoneGap(or Cordova choose which ever you are familiar with) and send the videos to your server for storage, your server can be built with NodeJS and MongoDB.
But if you haven't yet checked out Firebase i highly recommend it since it will remove many of the backend work(like uploading a video etc) and make development faster
This question is about the basic feasibility of this project but you are welcome to recommend ideas on how it could be done. I would like to create a hosted Java web application that creates a Server in the local network of the device.
For example: You can go to example.com in your Browser and start the application that creates a server in the local network of the device (Windows-PC). Other devices (Android) can connect to the server (UDP) with an installed Android-App.
Is this concept possible? I am afraid browser security renders this level of access impossible..
As others have pointed out it is not possible.
I will instead choose a local Java application that has to be installed.
We are building a HTML5 application, we have a need for colloboration between two users the same way as in Google Docs two users can simultaniously edit a document and they can see each others changes.
In our case the document is never stored at server side. And we will only have HTML5 app running in IE10 on XBOX, Windows PC (7 or 8) and Windows Phone (7.5 and 8).
The users will be on same WiFi network.
Where can we find some samples to learn how we can use Windows Azure services/ Mobile services for this scenario.
Thanks,
Navneet
You are probably looking at something like this:
http://laktek.com/2010/05/25/real-time-collaborative-editing-with-websockets-node-js-redis/
For HTML5, you can use Websockets...which can be implemented in Azure using Node.js or using the SignalR (http://signalr.net/) that abstracts websockets/polling in ASP.NET and runs in Windows Azure.