Visualizing Audio while recording in Windows Phone 8 - c#

I`m trying to make an windows phone 8 app which simply allow you to click a button which result in start recording and showing any visualization that indicate that its recording something like a bar or a vu meter , I managed to make the recording part, now i dont know what type of projects i should use to support making such visualization.
does Windows phone 8 apps support using XNA to draw in a box inside a xaml file ?
what is the tag i can use to draw inside using XNA code ?

If you're targeting WP8 you can't use the hybrid SL/XNA model. That said, you can certainly use a Hybrid solution that draws using DirectX. You can find general information here and a sample here (note that it uses DrawingSurfaceBackgroundGrid, you probably want DrawingSurface).

Related

How to take high quality photo from integrated camera in WPF

I'm implementing WPF app where I need to take high quality photos from integrated camera. So far I've been successful with capturing video and taking frames from it (described for example here: Wpf and C # capture webcam and network cameras).
But this is not what I want - because video frame quality is not so great. I have MS Surface 4 Pro which has 8Mpx camera with full HD video support and with the above method I'm able to just get full HD frame from it. But I would like to have full 8Mpx picture, like it is possible to take in the native Windows Camera app.
In UWP I would probably have been successful with CameraCaptureUI class, but I didn't find any clues for WPF.
Does anyone has an idea how this could be implemented?
I've found out that XAML Islands do work with .NET Framework 4.8. So I've been able to implement a WPF solution using UWP components MediaCapture and CaptureElement. With that I can take photos with full resolution which was my goal.
Simple sample project can be found here: https://github.com/ondrasvoboda/WPFCamera, consider it just as a proof of concept.
If your app will run on Windows 10 or above, you can now use most of the APIs from Windows 10 in a WPF application.
https://blogs.windows.com/windowsdeveloper/2019/04/30/calling-windows-10-apis-from-a-desktop-application-just-got-easier/

Desktop Integration in Universal Windows App

Im trying to develop an app for Windows 10 which I hope to submit to the store. I want to get access to the Taskbar APIs so I can set the progress level (green bar behind the process text).
In Windows 7 I used the some of these APIs:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd391692(v=vs.85).aspx
They were wrapped by this handy library which I used in my C# app:
http://blogs.microsoft.co.il/sasha/2009/02/12/windows-7-taskbar-apis/
I cant find the equvilant for UWA Desktop Extension, Any ideas?
Mike
Basically the images are comes from the app asserts, see this: Guidelines for app assets Target-based assets session for more information. The asserts are the read-only stuff and we cannot programmatically change from the code, which means we cannot create the animation on taskbar.
The APIs like ITaskbarList3 are not available in Windows Universal App.
Basically base on my understanding, Microsoft wants to use push notification/live tile also badge to deliver the current state like current progress.

Creating custom graphics with Windows Phone XAML

I am creating a WP 8.1 app with MVVM Light Toolkit. I have to call a service of weather measurings information, and then, I have to create different graphics with the indicator showing the value of the service response. For example, I have this image:
And it should be like this:
Or these images:
And should end up like this:
How can I get the position where I would put the shape indicating the value? Or in the second case, the needle pointing the value? And, how would I support multiple resolutions?
you should draw everything in a Canvas panel. There you can control the assets positions and transformations. This also requires to have objects to preserve the state of each thing. This question maybe doesn't have an easy answer but I strongly recommend to you learn about that in this links
Using XAML to write Windows 8 Games - Part 1
Using XAML to
write Windows 8 Games - Part 2
Using XAML to write Windows 8
Games - Part 3

Custom UI control for Android and IOS using C#

I've just started looking at how I can generate and port applications to Android and IOS, I've started to look at Xamarin. First, I'm looking to generate custom UI control of a 10x10 Matrix (checkerboard - each square is a different colour) with each square being able to be selected and a specific image being displayed.
After looking at the documents and looking at MVVM examples, I'm not entirely sure what the best method of doing this : How should I structure the code (should I use just SVG drawing) or is there a better method of doing this in Android and IOS ?
To be honest I would start with Xamarin Forms and create a grid control with 10x10 image buttons. This way you get the event handling built-in. This would work for iOS, Android & Windows Phone out of the box. From there you could evolve it to more native specific code if necessary.
If you want to control the look pixel perfect then creating native custom rendered views would be the option but this is much more work of course so I would not start there. On Android you would subclass from Android.Widget.View and on iOS you would do it from MonoTouch.UIKit.UIView. For both you would override the Draw method.

How to identify signs(Logos) using windows phone 8 camera

HI friends...I am going to develop Windows phone 8 app (Xaml/C#) which can identify signs (Like famous Logos) using camera. It is like capturing QR code using windows phone. As an example through my application I can scan (like QR code) and identify the Logo which appears in somewhere in board or a picture etc... (Think I have database which is filled with logo information (logo pictures an info) and I connected it to windows phone app.)So my questions are What are the image processing SDKs and libraries I can use to develop this app ?Is there any Blog post which describes those things?Any sample codes?
Thank you very much in Advance 
This is a library which has proven to work on WP7 so i'm guessing it will work on WP8 aswell.
It main purpose was augmented reality but its a "vision" library which means you can probably do loads of other vision commands (labelblobs, invert colors etc..)
Link to the library: Here
Samples of its use: Here

Categories