I would like to have a badge icon + counter on the lock screen for my Silverlight 8.1 app. While migrating the app from SL 8.0 to SL 8.1 I also switched to Windows Notification Service (WNS) to be able to have access to the action center.
Now, I cannot find a way to have the badge logo on the lock screen show the icon of my app.
Steps to reproduce in a blank app:
Create a new SL 8.1 phone app
Switch to WNS in WMAppManifest.xml
Open lock screen settings and see the icon is broken
I can define the badge logo both in the WMAppManifest.xml file:
<DeviceLockImageURI IsRelative="true" IsResource="true">Assets/LockScreen.png</DeviceLockImageURI>
Or in the new Package.appxmanifest.xml file:
<m3:LockScreen Notification="badge" BadgeLogo="Assets\LockScreen.png" />
But in both case, it doesn't work (icon is missing):
I also tried various image resolution but that doesn't solve the issue.
Thanks,
In our Silverlight 8.1 app with lockscreen notification support and WNS we have used:
in WMAppManifest.xml
<DeviceLockImageURI IsRelative="true" IsResource="false">Assets\Tiles\LockImage.png</DeviceLockImageURI>
in Package.appxmanifest
<m3:LockScreen Notification="badgeAndTileText" BadgeLogo="Assets\BadgeLogo.png" />
The icons we use - they need to be only white-to-transparent colors. LockImage.png is 38x38m, BadgeLogo.png is 58x58.
Note: We don't have in the <Extension ExtensionName="LockScreen_Notification_IconCount" ... /> tag in WMAppManifest.xml - if you define both Notification="badgeAndTileText" in Package.appxmanifest and LockScreen_Notification_IconCount in WMAppManifest.xml, your app will have two entries in the Lockscreen app settings combobox and that's something you don't want.
In case of Silverlight 8.1 app with WNS just define the lock screen settings in Package.appxmanifest and it should work just fine.
Make sure that your logo has some sort of Transparency in it.
It's been clearly explained throughout this article.
Lock screen notifications for Windows Phone
Related
First of all I'm new as React-Native programmer. Currently I want to add a button to my React-Native(Expo) app, in which the user can turn off or on a setting. Is this possible and if so, how can I do that? For example in Android > Settings > Mobile Networks > Turn off mobile roaming?
Thank you in advance
I have tried to use HeadlessJS or a module called background actions. But there are no well documented examples and I also don't know if those modules answer my question. Because my task is more "straightforward" since I keep the app running in the foreground.
I am building a react app for a kiosk with a windows operating system.
The app is supposed to appear as full screen (F11 look) right when it launches (without clicking any buttons).
I saw that as of a few years ago chrome does not support full screen launch. Has there been any changes with that?
unfortunately not directly. However, you can alter the shortcut to the web app by adding these two properties: --fullscreen --kiosk
I have a Windows Phone Silverlight 8.1 project, and I have localized application title with AppResLib project from Microsoft (http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967550(v=vs.105).aspx) until here all ok.
But I needed to add a background task to update my live tile, because of this I changed the "Notification Service" to WNS, ok,not problem here, all working great.
Unfortunately, now my app gets the "Display Name" for Application Tile Title from the new Package.manifiest and "#AppResLib.dll,-100" is not working anymore. Note that the title of the app continues localized.
The new way to localized the Application Tile Title App neither is working, on a Windows Phone Silverlight 8.1 I can not add a .resw resource files to get this work: ms-resource:ApplicationTitle.
Any suggestions?
Thanks in advance.
It's broken in WP8.1 (see details: http://msdn.microsoft.com/en-us/library/dn642084(v=vs.105).aspx)
Localized tiles unsupported with Windows Notification Service
If your Windows Phone 8 app uses resource files to provide localized text for tiles, described in How to build a localized app for Windows Phone 8, your tiles will continue to function properly when you upgrade to Silverlight 8.1 as long as you continue to use the Microsoft Push Notification Service framework for your app’s push notifications. This is the default behavior when upgrading. If you choose instead to move to the Windows Notification Service, which is used by all Windows Phone Store apps, the localized text will be inaccessible and will not be displayed on your tiles. For information about choosing the push notification service for your app, see Choosing MPNS or WNS for a Windows Phone Silverlight 8.1 app.
Prior to Windows Phone 8.1 version we have abilty to open picture from picture hub using App Connect from Picture Hub (apps... link when open specific picture in picture viewer).
How to open picture from 3rd party app in WP 8.1 Silverlight app?
I upgrade project to Silverlight 8.1 but I don't get my app in a list with edit options.
Anyone?
In order to register for Edit picker, your app needs to declare the following extension in WMAppManifest
<Extension ExtensionName="Photos_Extra_Image_Editor"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
More info can be found on MSDN.
I had a similar but not exactly the same problem. I made an app for wp8 silverlight. The app appeared in the edit list for photos or images.
When I upgraded the project to wp81 my app appeared in the edit list but it wasn't called. It just happend nothing.
I found this comment on social.msdn.microoft.com:
"After updating to the new developer preview (8.10.14147.180) this problem is gone on my phone. It is of course still there in my emulator since it isn't updated (8.10.12358.1191). So the question now is when I can release the WP8.1 specific version of my app, since this functionality is a rather central part of it..."
and I can confirm this.
On my emulator it does not work (OS Version 8.10.12358.1191) but on my device (OS Version 8.10.14147.180) it works.
I am using Windows 7 Ult., IE9, Chrome. I have just installed Silverlight 5 and am trying to develop an app using DevExpress DXMap control and Silverlight. However, I am having issues with Silverlight it seems. When I go to this site (http://www.silverlight.net/learn/overview/what's-new-in-silverlight-5/introduction-to-silverlight-5-3d) to watch a video on the Silverlight 3d feature, the video player which I believe is a Silverlight control loads, but then disappears. When I run the app with the DXMap control, the page loads a blank area with only the zoom control, navigation pad, and scale visible.
I have tried finding a solution to this problem, but have not been successful. Any suggestions?
Okay, I found out what was the issue. I thought that not checking the "Host the silverlight application in a new web site" option (since I never had a website as yet) would let the application load on its own, but I had to enable the "Host the silverlight application in a new web site" option to get it associated with a test page.