Unity send SMS message - sms

I'm currently using Unity for developing an application for Android and IOS and I'm able to use the function: Application.OpenURL("mailto:" + email_address + "?subject=Email&body=msg from Unity");
to send emails from within my application, and I know you can use a similar function to open up the mobile devices SMS system however I'm unsure on how to actually go about this.
If anyone can please advise how I can open up the native SMS system through "Application.OpenURL()" that'd be fantastic. I'm also open to using an alternative solution if anyone's aware.

You can use a variety of OpenURL commands to open up numerous apps in iOS. Android has a comparable nomenclature too. Of course I don't know if below will work in Android but it's worth a shot.
var sms_number : String = "+17032129831"
Application.OpenURL("sms:" + sms_number);

Related

Voip or voice call record - Xamarin.forms

I am trying to develop a xamarin.forms app which have the functionality to make call and record it.Why I am writing this question is I want some clarifications regarding this.I cant find a proper solution on web.
1 The app workflow will be like this. When user tap on the number on my app it will open the dialer (in Android and iOS). User will complete the call and return back to app.The app will get the call record and store it.
Is this scenario possible with Xamarin.forms? If possible, any links will be appreciated.
2. Suppose the above scenaerio is not possible, then what will be the best approach? I heard about Twilio voip call sdk for xamarin. Is Twilio really support voip call for xamarin? I found these links, but it seems outdated.
https://www.twilio.com/blog/2014/11/twilio-client-for-xamarin-part-3-android.html
https://www.twilio.com/blog/2014/10/twilio-client-for-xamarin-part-2-ios.html Is there any other voip sdk available which will fullfil my requirement.Any help is appreciated. Because I have been stuck on this for days.
EDIT If I implement Twilio calling in web and calling it as a webview in mobile.Can I make work above scenario?

Sharing Files with other Chrome Extensions using ARC

We have an Android application that we have developed and are testing with ARC. Part of the functionality is to share Word/PDF and other documents with other applications on an Android device and then have them pass the content back to us when done. However, since ARC applications run in their own sandbox instance of Android there are no other applications to share with using the standard intents. I know that Chrome Extensions can message each other, but is there a way to access this functionality from an Android APP running arc. Ideally we'd like to share a document have it open in say Google Drive, and then be able to get it back from there using the standard Android intents. Is this possible, or do we have to look at other ways to accomplish this (i.e. SDKs.)
Update: Here is the code we use to launch external activities to have them open files for editing:
Uri uri = Uri.fromFile(attachmentFile);
Intent intentUrl = new Intent(Intent.ACTION_VIEW);
intentUrl.setDataAndType(uri, applicationType);
intentUrl.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
getContext().startActivity(externalActivityIntent);
You can get the file from Google Drive or any other file provider available on the chromeOS using the new intent: ACTION_OPEN_DOCUMENT

Is it possible to get an app to open up when entering a beacon region / within range of a beacon/ibeacon

I'm exploring the end user experience for a beacon prototype but I'm struggling to find any end-user scenarios that involve the app becoming active / opening up on the screen when within range.
I can get the app to send a notification and this is the most likely experience on both Android and iOS but does anyone know if it is possible to get the app to open up?
It's unlikely that I'd want real customers to have their experience interfered with in this way, I think it's ok if the app is already running and is open but not if it's running but not open.
Thanks
On Android this is possible. The reference app for the Android Beacon Library demonstrates how to do exactly this.
On iOS, it is not possible due to OS security restrictions. See here for details. The best you can do is send a local notification to the user when the beacon is detected, then if the user gestures to it, bring up the app.

How can I place a phone call programmatically from a Mac app?

With the advent of handoff/continuity in OS X Yosemite, I was hoping there would be an API for this. I can't find one Googling. Alternatively, is there a way to open designated phone call making app like Skype to place a call? I've seen links on web pages to phone numbers that auto-open my Skype app. Is that the way to do it - with some HTML embedded in my Mac app?
You can use the same "tel:5555555555" URL syntax that you use on mobile platforms. So, for example to call the number 5555555555 you can do:
if let url = NSURL(string: "tel:5555555555") {
NSWorkspace.sharedWorkspace().openURL(url)
}

How to create a desktop notifications for your web application?

I've tried searching and surprisingly I couldn't find anything on this. I have seen a few web apps that have desktop applications. For instance in gmail you can go into the settings and enable desktop notifications and get an alert even if you don't have the browser open at all. Also, there is an app called "slack" that I have been playing around with and I somehow got desktop notifications enabled. Also, google hangouts gives me notifications every once in a while. I don't know if this is a google chrome thing, or if it is a mac specific thing. Does anyone have any idea how these apps are posting these notifications?
Is it a browser specific thing? A platform specific thing? Did I download some type of desktop app that I have forgotten about that is enabling these apps to do this? Has anyone else created a desktop alert for their web app and how did you do it?
A similar question asked -
Chrome Desktop Notification.
From a front-end standpoint, there is EventSource for this, though you could also use websockets or polling (checking every few minutes/seconds).
Event Source and Server-Sent Events.

Resources