PHP Javascript websystem on android lollipop communicating with android wearable? - javascript

I've created a websystem on a 2008 R2 server running apache.
The system is used on Android 5.0 lollipop smartphones, I'd like to know if it's somehow possible to connect to the google play services API to allow me to connect to android wearables?
The end result ideally (and probably optimistically) is to load the webpage and have a button on an android watch which can communicate with the webpage (running on google chrome) on the android phone.
Is this in someway doable? - I'd like to keep it as some kind of webpage if possible.
All advice appreciated :)
Thanks !

Related

WebRTC video conference between Android and Desktop users

I'm building a simple video conferencing system.
I'm using the following code as my base -> https://www.webrtc-experiment.com/video-conferencing/
It works perfectly on Windows and OSX, they can connect and chat with each other, but I cannot connect or see the video from an Android device.
I'm wondering what the best way of getting this working on Android so that an Android client and a Desktop client can chat together.
The android client seems to connect, but it just doesn't show the video to the PC user and vice versa.
Any help would be greatly appriciated!

Does a non-mobile DJI Drone SDK exist?

I can see that DJI has a drone SDK for mobile apps (iOS/Android), but I would like to pilot the device from client-side JavaScript or desktop C#. Preferably some type of REST api that can be addressed by any language.
Does something like that exist? I don't see anything obvious on their website.
Did you find the DJI Onboard SDK?
It has sample programs for Qt, Linux, and STM32.
You could use the desktop app/web app to send commands to an MQTT server. You would then need to write a simple mobile app to connect to the MQTT server and subscribe to the command channel.
Then as commands come in via your various applications (desktop, web, etc) you translate the commands received from MQTT to the specific DJI SDK commands and send them to the UAV.
If you're looking to straight up control the drone without being connected to the RC controller or a mobile device, then the only option is the onboard SDK. If you are just looking for a way to run code on the drone directly, you would need to go through either the mobile SDK or onboard. There would be no way to do so without onboard or mobile sdk, you would need some device to communicate with your application and transfer those commands to the drone via onboard sdk or just write an android or ios application for the mobile sdk.
Just buy Blue stack emulator for Windows to simulate Android OS. Better option is to explore docker on Windows and spin some android docker container. It is free to host it in Azure also with database inside.

Twilio Client Python not Working in IOS Browser

I have created a simple twilio client application to make phone calls from Web Browser to phones. I used a sample Flask app to generate a secure Capability Token and used twilio.min.js library to handle calls from my HTML.
The functionality works fine in Computer Browsers and Android Phone Browsers, but fails in IOS browsers(checked both in Safari and Chrome). In android the page asks for permission to use mic and headphone but in IOS it doesnot even as for that. Is there anything that I am missing here? It would be really helpful if someone can throw some light into this.
The doc I referred to was : Twilio Hello Monkey Client
Twilio developer evangelist here.
Twilio Client uses WebRTC and falls back to Flash in order to make web browsers into phones. Unfortunately Safari on iOS supports neither WebRTC nor Flash so Twilio Client cannot work within any browser on iOS.
It is possible to build an iOS application to use Twilio Client just not a web application.

Discover devices vendor and model on a local network

I need to find out if it's possible and if so, what is the API for that.
The required scenario:
connect to a wifi network.
from an android app or using javascript from a webpage find out the make and model of devices that are connected to the same router.
I found a way to find the IP addresses, and I saw that Find app can see the manufacturers, but can't tell if it's a mobile device, a tablet, a laptop or a printer.
I thought that a possible way would be to use jmDNS (which I can't get my android project to compile with), and service discovery, but I'm not sure that it will tell me if the device is a tablet or a smartphone.
For Android I can also think of the linux build number to search against a device list compatible with that build. However, I'm not sure about Apple devices.
Is there a way to do that or am I wasting my time?
If there is, will it work in Android or with JS?
Thanks.

Windows Environment and Mobile-Web Applications

We offer a client-server product that runs on Windows Server (2008 R2) and SQL Server (2008 R2).
Our server is implemented via .NET 4.0 and C#.
We're looking to develop a new application that in the background will read and write from the server & DB.
The application should run on desktop, laptops, iOS devices, Android devices and Black Berry devices.
The application is targeted for a technical use (operators, technicians, installers) so rich UI is not a must at all.
What would be the best frameworks & platforms to use o achieve such an application (server side, js library, ui, etc.)
Thanks,
Janiv Ratson.
If you can do it with a web app that would be my first choice. The reason is that the web app will run on all devices.
If web app is not possible for some reason you should go with native, .NET would probably be a good choice, it covers windows, Linux and Mac (via mono) and also you can use mono touch and mono for android to port it to iphone and android.
Since you already work with .NET on Windows, you could cover desktops, laptops with .NET or Mono. Porting to iOS and Android with MonoTouch should not be too difficult especially if you don't have elaborate UI. I have no idea about BlackBerry though.

Categories

Resources