Using CompositionTarget.SurfaceContentsLost Event in UWP for managing RenderTargetBitmap? - events

I was reading up on RenderTargetBitmap for a bug in one of my UWPs where a captured image wasn't displaying correctly. Came across a remark from Microsoft stating RenderTargetBitmap can lose data for some reason or another and that we should be attempting to render the bitmap a second time using CompositionTarget.SurfaceContentsLost event. But I haven't been able to find an example of this event online. And I can't seem to request feedback from Microsoft at this time on their Knowledge base site. Does anyone have some sample code they would be willing to share?
Thank you.

But I haven't been able to find an example of this event online.
There's a ImageSourceUpdateRegion sample in Win2D-UWP-Samples. It registers the CompositionTarget.SurfaceContentsLost event in UserControl_Loaded. You could check this sample to learn how to use this event for your UWP app.

Related

Need ability to get extra attributes for DJIMediaFile: QuickShot type(if taken video with it), timelapse series, AEB series

Hi DJI SDK developer team. My team and I requested a few times such needed information.
Please help us and include following meta to next SDK builds:
We need to know series of shots for Timelapse shooting, AEB shooting. So in our grid of taken photos, we can group them as one item.
Also, we want to show Rocket, Helix, Boomerang, Asteroid, etc. icons on our files grid too.
P.S. Now we already have DJI Pro membership, but the button for support doesn't work.
Thank you for the feedback. I've send this to the proper channel.
The best way to send feature requests or report issues is to email dev#dji.com or use the support through the User Center in developer.dji.com.

How to add additional information about a crash in Mobile Center

I develop a Xamarin.Android application and I use Xamarin.Insights to get information about crash or errors that happen.
I am migrating this project to Mobile Center, thanks to that video (https://www.youtube.com/watch?v=E_uOgl-sO5A&t=680s).
I would like to know how to add additional information about a crash during a crash report.
For instance, I would like to know if the user is connected to wifi or not, or the identity of the user, or anything else.
Or I would like to report an error in a try catch with information about the Exception catched and actual values of variables used at this time.
With Xamarin.Insight, it's very easy :
string sAdditionnalInformation = exc.Message + sTitle + sDescription;
Insights.Report(exc, sAdditionnalInformation , Insights.Severity.Error);
How could I do this with Mobile Center please ?
I have seen the documentation here : https://learn.microsoft.com/en-us/mobile-center/sdk/crashes/xamarin
I know there is the method below to report a crash manually, but I can't add additional information :
Crashes.GenerateTestCrash()
I have seen the event below, but I don't know how to add additionnal information with that. I did not found any documentation about that.
Crashes.SentErrorReport
Any help would be really appreciated please :-)
This functionality is currently not yet supported by Mobile Center but on their Roadmap, see the "Crashes" section here: https://learn.microsoft.com/en-us/mobile-center/general/roadmap
Crashes
Display of attachments sent from the Crashes SDK, in the portal

Windows phone 7 live tiles and push notification

i need help. I have done push notification for my app. I want the tile to change to the image that the push notification sends. How do i do this. All this is to be done in one app itself. The examples that i saw in msdn and other websites show some secondary image which i dont get plus they require two app. I dont understand how it works. Please help. I want the live tile to display the image that the push notification has sent. Sample codes would be appreaciated. Please and Thank you
You may be interested in the Code Samples provided on the following site, these include sample code in both C# and VB.NET and cover various aspects of Windows Phone development, included Live Tiles :-
http://code.msdn.microsoft.com/wpapps/

ObjectiveC/Cocoa Screencapture/Crosshead mouse pointer selector help

I want to write a basic app so I can upload some images to my personal server and as the CMD+Shift+4 Screen capture method apple offers doesn't let you upload your images I thought I would start from scratch... I've looked around quite a lot on how to make something what lets me grab a selection of my screen (like the crosshair apple offer) and can't find any samples/pointers however I've seen other tools such as gyazo use the exact same capture system apple offer :S... Is it some sort of framework I can access in Xcode or something?
If anyone knows how its done I would be very grateful.
Thanks
Liam
You can just run screencapture(1) and capture to a temporary file location which your app then reads.

TV Schedule or Channel Guide Extension for Joomla?

Has anyone seen a TV schedule or channel guide extension for Joomla?
Couldn't this be done with an events management component, such as Jevents?
I investigated all of the event management and calendar extensions. Nothing comes out of the box with a an hourly layout for a week. I may have to alter Jevents, Jcal or create one from scratch.
Gcalendar uses Google Calendar and looks promising, but I need to test it fully to make sure I have full control over the look and feel of the layout.

Resources