Apportable: is using windows azure mobile services possible? - azure

I am trying to build my ios application for android. Is there any chance to use windows azure mobile services framework in native objective-c code? Or should I use java and call my azure mobile services table items from it ? Thank you in advance.

If there's an Android version of azure, you could use BridgeKit to bridge the android library to objective c APIs.
http://docs.apportable.com/using-java

There are native Azure Mobile Services SDKs for all major mobile platforms (iOS / Objective-C, Android / Java, Windows Phone, etc). There are excellent tutorials available on the Azure website:
iOS: http://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started/
Android: http://azure.microsoft.com/en-us/documentation/articles/mobile-services-android-get-started/
If you are looking for cross-platform development you could leverage Xamarin (C#), Sencha or PhoneGap which all have samples at the above site as well.

If you want to serve multiple platforms a better approach would be to create a service layer which works against your Mobile Service (f.e. build with ASP.NET Web API). This service layer would be called from your clients. The big advantage is that you don't have to write code multiple times and changes can be done at a central point. If you concentrate on RESTful services nearly every platform can call it.
Currently that seems to be a lot of overhead with an already finished iOS implementation, but imagine the situation when you want to support other platforms, such as Windows 8 or Windows Phone 8. At this point you have the same problems again.

Related

How to listen playback/audio state change in UWP app

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.

ML Kit on desktop

Is it possible to integrate ML Kit/TFLite with java desktop applications, rather than having them run on an iOS/Android device?
I'd like to try out the barcode scanning capabilities on scanned documents.
Thanks
As of now, ML Kit is meant for mobile devices, and thus the iOS / Android focus. There is no desktop application support as of now. We would love the community to take this up as we love ML Kit to be used in as many ways as possible.
If it is just for prototyping something, the closest I can think of is firing up the mobile emulator on the desktop and use ML Kit.

Developing NEST Universal App for Windows 10

Are there any hidden restrictions/costs for developing a NEST application for the Windows platform? I've noticed an iOS and Andriod SDK is available, but presumably the Javascript alternative should suffice?
Does the NEST camera support an open standard for integrating streaming video into a Windows application?
The API is web based and does not put any limitations on being built on Windows, there just isn't a Windows based SDK.
The Nest Cams currently do not support streaming of any type via the API.

The different between Web Performance Test and App Insight

Currently, I had used WinJS to developed UWP app.
I saw the tutorial of Azure Web Performance Test and App Insight.
I confuse each of them, what are the different of both?
When you create a C# UWP application, Visual Studio has an option to integrate Application Insights for your project.
Unfortunately, you don’t have that same option when using UWP in HTML/JavaScript. In that case, you will have to do all plumbing manually. Microsoft provide a SDK for using Application Insight in JavaScript.
We wrote small a wrapper for JavaScript sdk that adds those metadata and everything starts working fine for HTML/JavaScript UWP apps.
http://mcnextpost.com/2015/10/26/uwphtml-using-application-insights-in-your-windows-web-applications/

Is it possible to run an Appcelerator Titanium applicatin in web browser like Flex?

Is it possible to share code between mobile and web versions of an application created with Appcelerator Titanium? I want to create a mobile application but I also want my users accessing the app using desktop Internet browser, like Flex application can be run in Flash Player or AIR. Is it possible to share code between mobile and web versions of the app?
Thanks,
Michal
There is a beta or pre release version of a web sdk that will support that functionality. Will try and track down the link, certain it can be found on the Appcelerator developer blog

Resources