AirPlay button a la phone app on WatchKit? - watchkit

The phone app in watchOS shows an AirPlay icon which when clicked switches the audio input and output to the watch itself, using it as it were a bluetooth headset, I guess.
I'd like to do the same for a calling app I work on, but couldn't find anything in the WatchKit documentation.
Is this not available as a public API? AFAIS there doesn't seem to be an equivalent for MPVolumeView on watchOS: http://www.openradar.me/20783803
Any ideas?

Related

Xamarin Forms Deep linking and adding an app icon to phone dialer like whatsapp call

I have a task where I'm expected to develop an android app that has chat and calling features. That is not a problem but the problem is that I have a feature where I must add the app icon to the default phone dialer such that when a user is on the phone dialer or contacts list, my app icon will appear beside the phone call icon as an option to call just like you can make a Whatsapp call directly from your contact list. attached to this question is a sample of the screenshot

Windows style dialog in iOS

I would like implement Custom alert view in iOS like windows dialog style(with Yes,No,Cancel in horizontal) and I have to publish the app in Appstore as well.
Application will get reject from Appstore if I do this customisation?
The approval process in Apple Store, is quite complex, but there is nothing saying that customizing a view will get your app rejected.
Check the guidelines for further information.

Appium iOS 11 RemoteViewBridge - access default app sdk like Photo, Email

App has access to import image from photo and other option is sending doc via email. In automation I could access photo and email options once my app loads the ui on init. This was working in iOS 10 and Xcode 8. Now, Upon upgrade the Xcode to 9 and iOS 11 the same app is not allowing me to access the element in Photo and Email. When I checked the element in Inspector, it shows me the entire Photo/Email page is RemoteViewBridge. Could you help me on this, how to fix this issue?
UIImagePickerController class has a private view hierarchy. The collection view cannot be accessed anymore from appium. In ios 11 you cannot access these elements. Try using iOS 10.3 or wait for the fix. I am accessing using coordinates in my project for the time being.

How to open the notification view from a smartwatch widget?

I would like to make my custom widget which I want to use the short taps on some area of my custom widget to navigate to my notification list and short taps on another area to navigate to my control. Is it possible ?
I found the sample code to open the control from a widget in this answer: How should I do to start SmartWatch Extension from the program code?!
But I didn't found the sample code to open the notification list from a widget.
I'm not sure I completely understand your question.
If you are asking if it's possible to open the notification drawer on your phone from a widget on the SmartWatch the answer is no, the notification drawer cannot be opened using any public APIs in the Android SDK.
If you are talking about opening a notification list on the watch itself, using the SmartExtension SDK Notification API then yes you can but you need to create the UI yourself and retrieve the notifications via the Content Provider. There is an example of a notification extension in the Sony Add-on SDK in the sample code section.

how to code asp.net (.aspx) to show ballon on system tray

I created a page named discussion_monitoring.aspx for fraud monitoring, impolite wording monitor. When detected, I just want to show balloon on system tray. but I haven't found that code to show balloon on taskbar system tray. Most example code I found is on Windows forms, not webform.
Environment: ASP.Net 2.0, Windows XP.
You want to show a balloon in the user's system tray? You can't do it. A web page doesn't have the level of desktop access (shy of an ActiveX control) necessary to make changes like that.
The closest you can hope to achieve is some kind of notification on the web page itself.
If you want the balloon to appear on the server's desktop, you should be able to use the same code that you've seen in a WinForms context. Just import the appropriate WinForms assemblies (System.Windows.Forms, probably System.Drawing), and you're good to go.
Note that it can get hairy, triggering GUI activity on your server from a webapp. You don't want to do things like open a dialog and wait for a response you're never going to get, for instance.
As "Michael Petrotta" said, you can't... But here is the Javascript for showing baloon in the page: http://mckay.cshl.edu/balloons.html

Resources