Flic Bluetooth Button and Xamarin Forms - xamarin.forms

I have written my mobile app in Xamarin.Forms and it works great in iOS and Android. My users are wanting to me to integrate a Flic button into the program. Flic is a bluetooth button that allows integration into your app. Click once and something in your app can happen. Click twice ... click and hold ... etc.
The sdk for Flic is quite good but they limit examples and information to just "raw" Android or iOS. Can anyone suggest how to integrate the sdk/dll files into xamarin.forms? I don't know much about bindings, etc.

how to integrate the sdk/dll files into xamarin.forms?
Fortunately, someone has already done it.You can add the binding library of iOS and Android from Nuget.
You can implement the method in iOS and Android .Then use the dependency service to call the method in forms.
If you want to learn more about how to bind native library or package in iOS and Android.
You can refer to iOS Document and Android Document.

Related

Use native Calling and Chat API in Xamarin forms

I am building a dating app in xamarin forms. Everything is setup like login,peoples profiles ,payments etc. But now i got stuck on implementing voice call and chat functionality.
There are many library available of native IOS and android like Sinch,Twillio they are not available for xamarin forms. Is there any way of using these library (Specially sinch api).
I tried to achieve it using binding feature available in xamarin but end up with failure. As binding feature only useful in case AAR(Android archive) or Jar library. I was looking for some example or guidance where something like calling/chat/image editor (i.e. where UI and coding involve) has been implemented in xamarin by using native API.
You can use SendBird Messaging SDK and Chat API for Mobile Apps and Websites.
It has support for Xamarin officially and It has a nuget package NOT OFFICIAL for Xamarin.Forms It's works perfectly you can download here
Additionally, you can use this sample on Github that use this nuget package.
This answer is not spam. It's only a recommendation
You can use CometChat Xamarin SDK, It fits your above requirements perfectly. It has Audio/Video call functionalities builtin along with Audio/video broadcast & screen share. For more information you can check out the documentation at the following link:
https://developer.cometchat.com/docs/xamarin-forms-quick-start

Meteor audio calling

I am building chat app and want to add voice chat feature. I came across webRTC protocol and there is package available for it in Meteor. But I found that it is developed for browsers. So if I used it in my application, I believe it will only work on the browser version.
Is there a way to implement audio calling feature that will work on IOS and Android as well?
For iOS and Android (Cordova), you need to use Cordova or PhoneGap package which implements WebRTC protocol and API.
You can easily google it, for reference take a look on phonertc package. I've used it in a few projects and can confirm what it works inside of Meteor app.

share content from mobile app in flex

I am developing a mobile app using flex 4.5
I want to let the user share a plain text using any of the apps available in his device (whatsapp, facebook, skype, bluetooth, ..). How can I do that? I know how to email, sms and call. But don't know how to share.
Please help
Air does not have native support for this feature, however you can use it with the navigateToURL method, but its still very clumsy.
You need to use Android SDK Share Intent URL's to access the native share menu's.
more info here: Air Share Intent

Styling HTML5 desktop notifications

I've included this plugin for desktop notifications in my Laravel 3 project.
http://aquaron.com/jquery/desktopify
It works fine, only problem is i can't find a way to "style" the notifications!
Is styling the desktop notifications even possible? If it is can someone please point out for me how it is done!
Unfortunately this library uses only .createNotification() and not .createHTMLNotification(), but Google just dropped .createHTMLNotification() support on version 28. There's a warning about this:
Warning: webKitNotifications.createHTMLNotification() in the web notifications API has been deprecated. The new web notifications API only allows text. Chrome notifications API will be promoted to stable soon and web notifications will be updated to use the new rich notifications format.
But it is doing it differently, using this rich notifications.
But this is just for chrome, so if you need it for all browsers, you will have to write your own implementation or find another library to help you.

Is there away to start a phones native Navigation tool from Flex 4.5?

I am building a mobile application in Flex 4.5 and from this app I would like to start the device's native navigation tool, like Google Navigation for example.
Is there a way to open the Navigation App using Flex 4.5?
As far as I knew, there was no way to launch other applications from a mobile Flex App.
Some native apps can be opened using URLs. It is, basically, the Flash Platform version of saying "Let the OS Handle it." If you HTTP link to a video, for example, it may open in a native player or it may open in the browser.
You can open the native text messaging program using sms as the protocol. As far as I know, there is no universal URL to open navigation services.
This post alludes to the fact that linking to maps.google.com will do it.
You can look into using the AIR Geolocation services APIs; but that is intended for in-app usage not launching other apps.
You can try using StageWebView to open up google maps or something. I don't think there's a way to open the native navigation app because it might not be there and they're different for each device.

Resources