Populating the "Now Playing" screen on watchOS 6 - watchkit

I'm trying to display the currently playing audio from my app in the watches Now Playing app.
I'm streaming the audio using the AVPlayer and set the AVAudioSession category and activated the session.
I've also tried to use the MPNowPlayingInfoCenter without any luck.
Is there another way to provide this information.

And just as I hit post I figured it out!
You also have to setup the MPRemoteCommandCenter. 🤦‍♂️
Leaving this here for future reference.

Please show some code for reference, but MvNowPlayingInfoCentre should work fine.
Take a look at this for more information: https://stackoverflow.com/a/41686834/12149235

Related

Making the FIrebasePushNotficaition plugin sample work

I have been trying to make the FirebasePushNotification plugin work. But so far i haven't had much chance.
The notification is sent but nothing happen. I guess it's intercepted because i dont receive it (I tried sending notifs without the plugin it works well) but the code i put in the OnNotificationReceived event isn't triggered.
If some one can help me on this that would be great.
So I decided to download their sample and try to make it work. But I am facing a problem. I deleted their google-services.json. Then I went to the firebase console to create a new one. I added the file to the android project and I reopened the solution. But when I try to set the file property to GoogleServicesJson there isn't this option on the menu.
I tried to close and reopen the solution multiple times but no luck.
What could i try to force this property ?
I thank you for your time.

Azure Notification Hub App Logo for multiple platforms

I have NH working ok, but I want to have an image accompany the push. Basically, this image is a branding option, so it wouldn't change for each push, but could change occasionally.
This seems pretty straightforward for WNS, using the App Logo Override option.
Can something similar be done for iOS and Android? I haven't played with them yet and I don't really need a whole solution, I just can't seem to find it spelled out like it is for WNS.
I did see an example for iOS that involved sending a silent notification that prompted the user to see the image, but that's not what I'm trying to do.
I just want a message from a particular vendor to have their little logo on it.
Is this possible?
TIA
Turns out the best way to do this is to send a URL for an image in the template and substitute it for the applogo image source. Remember that when you do that, the system will not automatically size it for you.

Inner Active add Api with QML

I am trying to get the inner active add Api to work with QML. I have found this Nokia example: http://projects.developer.nokia.com/fifteenpuzzle on how to do it. I plan to just use the add widget they use in my own app but when I compile the app it gives this error: "'KErrNone' was not declared in this scope" on anything excpet Symbian and once it runs on Symbian the add area is just black and after a while I get this error: "AdBannerWidget::onNetworkError = "Error downloading http://cdn1.inner-active.mobi/mnt/InnerActive/Resources/USAGC/eng_pic.gif - server replied: Not Found"".
Please help I have no idea what could be causing this, it's probably something stupid but I really need help.
I also get a error while trying to design the qml because of it not being able to "import Analytics 1.0"
I do have a inner active account and I have tried it using my own tag they generated for me but it still doesn't work.
My name is Nirit and I'm a support manager at inneractive.
we just released our new Beta QML open-sourced project, it is now available on your Dashboard (the SDKs tab).
Please download the .zip file and take the time to read through our clear and concise documentation.
If you have any questions or comments, please don't hesitate to contact me.
Nirit (nirit#inner-active.com).
For the black widget and network error, I bet you have to register first with inneractive to get an actual account.
"KErrNone" seems indeed symbian only. Might be that the project is just no meant to compiled on desktop as such. You maybe would have to #ifdef Q_OS_SYMBIAN some parts of it.

Page change monitor for Safari

I'm looking for an app or add on to use with my ipad that notifies me when a webpage changes. Google chrome has add on for such but I can't find anything for Safari/ipad. Please help!
I have the same problem but have found an app called iChanged lite that appears to do the job but i am in the process of dowloading it.
Good Luck

DRUPAL, video module: manually upload thumbnails

I'm using the video module on Drupal and it works pretty well.
I would like to manually update thumbnails of my videos instead of automatically generate them. Is that possible ?
thanks
Looks tough, there's a recent issue of someone complaining about this at http://drupal.org/node/670054 but there is a setting in the config (under automatic video thumbnailing), look at http://video.heidisoft.com/content/configuring-video-module
It'll be a lot of frustrating tweaks to get that to work, so sorry to say that no you can't manually update thumbnails using this module.

Resources