Android wear Accelerometer/Gyro sensor - wear-os

I am developing a application in android along with the Android wear support. While seeing the documentation from https://developer.android.com/training/building-wearables.html, The following API's are available.
Messaging API
Datalayer API
Data Sync API
I couldn't fine a reference for sensor API. How can i detect the sensors from the Smartwatch, either Accelerometer or Gyro?

You can use all standard Android APIs inside your wearable app: https://developer.android.com/training/wearables/apps/index.html
Wearable app is just like any other Android .apk file, but installed on your watch.
Messaging API, Data Layer API etc are for syncing data between your phone and your wearable device.

Related

How to enable Firebase SMS Authentication in MacOS - Flutter

In my Flutter project, SMS auth is working on the web and Android (yet to test on IOS). When testing on Mac (physical device) I get this error:
UnimplementedError (UnimplementedError: RecaptchaVerifier is not implemented)
I am unable to find documentation on how to make SMS auth work on MacOS. If this is not possible, what suggestions do you have where I can still use Google's SMS Auth on other devices.
I'm pretty sure Firebase Authentication currently only supports phone number verification on mobile clients (iOS, Android and Web). It does not currently support phone number verification on macOS.

How to communicate mobile (Xamarin) with a desktop Application (.NET)

Is it possible to send some kind of message from mobile app (developed using Xamarin.forms with C#) to a desktop application (developed using VB.net or C#)? I would like to send messages from mobile to desktop app. I was thinking on using Bluetooth or maybe WIFI protocol
Other idea that I was thinkin is making desktop application to use a rest service, then also make mobile app to use same rest server. In this way It could be possible to create some kind of bridge between these techs.
Do you have any example or any experience on this?
You can create a web API https://learn.microsoft.com/en-us/aspnet/web-api/overview/older-versions/build-restful-apis-with-aspnet-web-api then host it on your desktop/laptop. That would be the channel between your mobile app and your desktop app.

Intergrate Asp.net web api with azure mobile service(offline-online syncing).xamarin.android

how can you Intergrate Asp.net web api with azure mobile service so as to do offline-online syncing xamarin.android app?
any code or samples
As I known, Mobile Apps in Azure App Service supports Offline Sync while Azure Mobile Services (with the URL like: service.azure-mobile.net) do not support this built-in feature. If you use Azure Mobile Service, I assumed that you need to Migrate your existing Azure Mobile Service to Azure App Service, in order to use offline sync feature.
For developing a Xamarin.Android App with offline sync, you could follow this official tutorial for creating an Azure Mobile App backend and download the Xamarin.Android demo project, then follow this tutorial to enable offline sync for your mobile app. Additionally, you could refer to adrian hall's book about Data Access and Offline Sync for a better understanding of offline sync.

How to push notifications to iOS with Google Cloud Messaging

We have succesfully managed to send push notifications on Android from GCM, but I was wondering how can I connect to Apple Push Notification Service with GCM? Do I need to download some APIĀ“s on the client side or is everything supported on the backend? I am using Xamarin.Forms to develop the frontend.
You will have to use APNS or 3rd party stuffs like PushSharp
Please have a look at the following threads. There is a bit of configuring required to have push notifications enabled in Ios. You need a couple of certificates.
http://developer.xamarin.com/guides/cross-platform/application_fundamentals/notifications/ios/remote_notifications_in_ios/
https://forums.xamarin.com/discussion/20845/how-to-approach-push-notifications-on-xamarin-forms-project
Google recently launched GCM for iOS. There is a Objective-C API available, however, I'm unsure if there is a Xamarin wrapper in place anywhere.
Xamarin has finally published the free component Google Cloud Messaging for iOS
And here is a link to nuget package.

cloud messaging for windows phone

Is their any cloud messaging services for windows phone.
just Like Google Cloud Messaging for Android.
google provid GCM http://developer.android.com/google/gcm/index.html
yah its called WNS (Windows Push Notification Services). You can send out messages(push notifications) from the cloud to the device.
Actually, Microsoft has WNS and MPNS.
WNS works for Windows 8 devices, and MPNS is for Windows Phone devices.
MPNS Link
WNS Link

Resources