I can't seem to find the answer to this anywhere in their docs.
We are considering using Xamarin for an business app that will need to interface over RS232 with an external device. The first version will be on Desktop, but later we want to move to an Android Tablet, which is why we are considering Xamarin.
Is comms access possible through Xamarin on Windows? What about Android?
If there is a serial port on the Android device and if you can use that with a native (Java) app, you will be able to use it with Xamarin.Android. All native API can be bound if not available.
A quick googling shows me there seems to be serial port third party API: http://code.google.com/p/android-serialport-api/
A reference how to do bindings can be found here: http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)
Related
I am developing on a UWP app which need to listen playback/audio state change. such as: can know when other app start/stop to play a audio.
On Windows, I see there is an API "Windows.Media.Audio.AudioStateMonitor", but it only listen sound level change of app's own audio play.
https://learn.microsoft.com/en-us/uwp/api/windows.media.audio.audiostatemonitor?view=winrt-22621
On Android, there is an API that fully meet my requirement. AudioManager#registerAudioPlaybackCallback()
I want to query, is there any API on Windows that can listen playback/audio state change of whole Windows system. Like Android's AudioManager#registerAudioPlaybackCallback()
UWP runs in a sandbox and has no permission to access other app. UWP does not have related API support for this.
It is possible to use the Windows Core Audio API
IAudioMeterInformation::GetPeakValue to query whether the sound is playing.
Since UWP cannot directly use Win32 API, you need to write a project that uses Win32 API first, then package this project with the UWP project and realize the communication between the two project.
You can use IAudioMeterInformation this code in WPF, then use Windows Application Packaging Project to package WPF and UWP project. You can refer to this blog: UWP with Desktop Extension.
I need to send some binary files via bluetooth from tizen g2 watch to android phone and then from phone to watch, as I've searched it I can't implement bluetooth in js files as said here so what is the most straightforward way to do it? can we use tizen wearable debug over bluetooth instead? is it applicable in this case?
I'm new to tizen so I feel confused and I really appreciate any advice about this problem.
You can develop companion app using Samsung Accessory Protocol(SAP) in this scenario. Please go through this link to know more. If you are trying to develop the tizen part in web, then have a look in the File Transfer sample of web section. There're separate applications for sending and receiving files from tizen to android and vice versa. You can combine those to implement the bidirectional communication.
I wanted to access my laptop using my android mobile. I have already accessed using Team Viewer. But it require a Internet connection. I want to access my laptop on my android mobile.
Is there any way to connect.
Assuming your computer is running Windows you'll most likely want to use the built in Remote Desktop Protocol.
Microsoft has a free Andeoid app in the Google Play Store here.
Microsoft has a FAQ page for their Android app here which describes the necessary setup procedure.
If your computer is a Mac or running a Linux based OS you'll probably want to look into using VNC which is usually supported right out of the box although may require some configuration.
When a PC connects to an Android device via USB, the device's information can be found on chrome://inspect. How can I get this information in a Chrome extension?
That information isn't available in the Chrome Apps/Extensions API. You should file a feature request at crbug.com explaining your use case.
If you write a Chrome App, you'll have access to the chrome.usb API, where you can connect to specific devices. See Spark's ADB functionality for an example: https://github.com/dart-lang/spark.
I'd like to examine the possibility of writing an unofficial Windows 8 (WinRT/Metro) sender API for Chromecast. The goal would be to allow Windows 8 Store apps roughly the same functionality of iOS / Android apps through the official sender API available for those platforms.
I've noticed that, although the inner workings of the API haven't really been exposed yet, some of the source code for the Chromecast device is available, and there's an unofficial emulator for the device out on Github (https://github.com/dz0ny/leapcast).
Is this possible, given how Chromecast devices seem to take commands directly from Google?
ChromeCast is using a proprietary protocol called RAMP (Remote Application Media Protocol) to do media control. Once you have setup your ChromeCast device for development, the device will open a port for remote Chrome debugging. Open Chrome at your ChromeCast device IP address port 9222: http://192.168.0.x:9222/
You should see a page with a link to the receiver page of the currently running ChromeCast app. Click the link and then use Chrome developer tools on that page. Take a look at the network and console tabs to see the RAMP commands.
I have open sourced an Android app that shows you how to discover ChromeCast devices and setup the Websocket connection to handle the RAMP commands: https://github.com/entertailion/DIAL