Is it possible to use the ML Kit SDK on Wear OS? - wear-os

I am wondering if anyone knows if it is possible to use the ML Kit SDK on Wear OS devices? I know Wear OS is based on Android, and I've seen references online to Firebase notifications working on Wear OS.
I have googled combinations of the terms "ML Kit", "Firebase ML Kit" and "Wear OS" but not found any definitive answers.
I don't have code on hand, but I am wondering would it even be possible to import/use the SDK on Wear OS apps in the first place.
Expected results would be being able to instantiate and use some of the machine learning models from the ML Kit API on a Wear OS watch.
Battery usage and efficiency are secondary at the moment, I'm just wondering if it is possible at all.

I have never tied it but I think it is possible. In the end, the Andorid Wear 2.0 (WearOS) is just another regular Android and it supplies direct internet access from the device.
I was able to succesfully use RenderScript on Wear devices but on the other hand I've faced an issue that Google Awareness API was not available on Wear. THis seem not to be the expected state.
Probably in the end you will need to do feasibility study on your own.
You can try to use some android MLKit sample and simply run it on Wear device.

Related

How control the Mavic Air drone with the computer

right now, I’m on a study project for School. I'm french. I have the Mavic Air drone, and I do to control my drone with my computer. DJI Developer has some SDK for different plateforme, whose a Windows SDK. But it was in beta version and he don't support the fly mod.
I think, to take the OX SDK (Android Version in JAVA) and translate it into a Java App for a Windows version. OX SDK support drone control commands. You thinks it's a good ideas ? And some people can help to translate this app ?
Can you help me find a solution? Have you some command-line to give to me?
Thanks you all.
It's unclear from your question if you've actually tried to implement the Windows 10 SDK and ran into difficulties or if you saw something which stated flight is not supported by the SDK. According to the SDK documentation (https://developer.dji.com/windows-sdk/), high & low level flight control are supposed to be supported. For example, the ComponentManager.FlightControllerHandler has methods such as StartTakeoffAsync, StartGoHomeAsync, etc. Joystick control is available via the VirtualRemoteController.UpdateJoystickValue method. So far, I have only used these while my Mavic Air is in simulation mode (without propellers on!) and haven't encountered any issues. But I haven't seen any documentation that states the beta SDK doesn't support actual flight either. Before launching into a conversion effort (does DJI even provide the source? I haven't checked...), I'd stick with with Win10 SDK.

How to use SDK of SmartEyeglass in "Xamarin"?

I would like to use Xamarin software as developing "Smart eye glass" which is Sony products.
I am wonderring that "sony_smarteyeglass_sdk_v1.5" is allowed to use in "Xamarin"?
I know that "AndroidStudio" is compatible with Sony products(Smartglass).
The SmartEyeglass SDK is really just a set of java libraries for Android that give you the correct interface to the SmartEyeglass device. All of the code runs on the Android device and therefore you have access to any functionality that any other Android app has.

Adobe AIR on Mac - Access Bluetooth data

I am exploring some ideas and trying to make three different applications talking each other via bluetooth.
Two of them would run on Android phones, while the third would run on a MacMini. I can use Bluetooth on the Android phones almost without problems by using native extensions, but I am a bit confused about how to access it on the Mac Mini.
Any research about native extension leads me to mobile related links.
Any idea on how I could send and receive data to/from bluetooth on osX?
Is native extensions the way to go? And in case that was the way, do you know if there is any Native Extension available that I can use? Writing one on my own can be a bit overwhelming...
Yes, you'll need a native extension to access Bluetooth on the Mac.
The process should be more or less the same as on mobile, except of course the Mac extension will need to be built to target OS X instead of Android. A quick Google search turned up this article which might help get you headed in the right direction:
How to Create an Adobe AIR Native Extension for Mac OSX
Library FPBluetooth.ane supported platforms iOS+OSX.

iBeacon app for android and IOS doubts

I'm trying to learn something about iBeacon and I have a question:
As far as I understood Apple provides API in order to develop iBeacons app since IOS7, but for android how does it work? The only thing I found is that It works only from version 4.3 (Is it correct?) But are there any sdk or library to use?
Yes, you can use the open source Android Beacon Library, which gives Android the same basic capabilities to detect and transmit as beacons as provided by CoreLocation on iOS devices. This library is designed to be vendor neutral, and works with a wide variety of beacons. There are also a number of proprietary Android SDKs offered by beacon manufacturers, some of which harness special features that only work with those beacons.
The main thing to understand on Android is that while 4.3+ devices can all detect Bluetooth LE transmissions, there is no native beacon framework, and working with beacons typically requires quite a bit of logic beyond reading the Bluetooth LE packets they send out. As a result, Android beacon apps typically bundle a small library like mentioned above with the app to provide beacon detection and/or transmission capability.
Full disclosure: I am the lead developer for the Android Beacon Library.
You can use as well kontakt.io Android SDK which handles Beacons with IBeacon profile. In the latest release some optimizations in terms of battery consumption were made. Additionally, it supports filtering and modes (Android Lollipop and upwards) according to which scan is performed (explanation in brief here).
To start, visit http://docs.kontakt.io/android-sdk/quickstart/ and follow the instructions.
There is a sample app demonstrating SDK functionalities here. I suggest observing the project as it is the first place where new changes are being introduced.
As #davidgyoung pointed, there is no native framework for IBeacons in Android at the moment.

Smartphone for use with the NXT

Greetings.
I will be getting a new smartphone for work. It needs to work with Telus, so the iPhone, and Android-based phones are out. The available phones appear to be include a number of BlackBerries, HTC phones, Motorola phones, as well as LG, Samsung, and ZTE phones.
I have a LEGO Mindstorms NXT robot, and would like a phone for which I could potentially write a program that would communicate with it over bluetooth. (LEGO does provide a cellphone app but it only works with some Nokia, Sony Ericson, and BenQ-Siemens phones).
From my research thus far, it sounds like many phones support J2ME and that I could install NetBeans to develop for it. (I haven't programmed in Java in years.) Unfortunately, it sounds like even if the phone does have bluetooth capabilities, they aren't necessarily accessible from J2ME.
Lastly, I'd rather like to develop from my Mac. (I could boot into another OS or fire up a VM, but I'd prefer not to.) NetBean's IDE download page says, "Java ME is only available for Windows and Linux." There appear to be workarounds -- is it a pleasant environment to work in?
So, my question is, does anyone know if any of these phones are, um, pleasant to develop a simple bluetooth application for, preferably from the Mac?
- Edit -
It turns out that my contract has not expired, and I've replaced my partially functional phone with a Treo 700 we had around. I appreciate all the answers. I started setting up a J2ME environment (until I learned that I may as well set up a Palm environment, and have started on that.) When I do get a new phone, though, I was sure be looking at the S60 phones -- heck, it might even trump an iPhone or Android phone, at least for ease of creating hobby applications.
You may be interested in this application NXT Director. The author says it has been tested with the following models of Palm based devices, Treo 650, LifeDrive, Zire72, SONY TH55/E and Tungsten series. It may also work with your 700.
Nokia ported python to the S60 smartphone platform. That means you can just write python scripts with your favorite text editor and then run them on any of these phones. The python port includes APIs for the camera, bluetooth, SMS, dialing, sounds, text to speech synthesis, location services...
I found it very easy to install the python interpreter and console on my phone and immediately start running scripts, no other tools required. If you have a strong thumb and like a challenge then you can even write the scripts directly on your phone :-)
If you want to run an S60 phone emulation on your PC then you will need windows and even then it is complicated to set up. For small hobby projects you can live without the emulator though.
You can try following combination for J2ME development on Mac OS X
Eclipse - http://www.eclipse.org/
EclipseME - http://eclipseme.org/
MPowerPlayer - http://mpowerplayer.com/sdk

Resources