Default images in windows phone project? - c#

I just finished my first application for windows phone in C# Silverlight (for which I asked a lot of questions on this forum) and I just looked at the default images of the project and I noticed that I've never seen the image called background in my application using the emulator. What is it for???? Thanks!!!
p.s.
(I'm new to windows phone, that's why I ask a lot of questions!!!)

The Background.png image is the image used as the home screen tile, and that is why the default image size when you create a new project is 173x173 pixels!

Related

Multiple screen support Windows Phone 8

I used to develop for Android and iOS, and for multiple screen support we use to use mdpi, hdpi, xhdpi.
Now I want to develop for Windows Phone, I want to set a background to a button and I don't know how to define image size to support all screen sizes.
You dont need to provide different assets. See info from MSDN below.
There is a way to support different assets/resources. But we have never done this bevore in our apps.
From MSDN:
Assets such as graphics, video, audio, and icons make up a large
percentage of an app’s size. Including assets for all resolutions in
your app uses a lot of space in your app. For most apps, we recommend
that you include only WXGA assets. WXGA assets have the highest
quality, and they automatically scale to work well for other
resolutions.
More info: Multi-resolution apps for Windows Phone 8
Multiple resolution handling is built-in with WP8.1. You simply need to name your images with the proper qualifier to ensure it is loaded properly by the device.
You can refer to the tutorial here for more info on how to properly name your image resources:
Quickstart: Using file or image resources

How to show image and words on controls?

I'm using C# and Windows Phone 8.1 (As Universal app).
I have a question: Have you seen "Windows Central app for windows phone"? In this application can see hole passage and images on a website page. Here is screen shots on this application:
How can I make control like this that can show images or videos on passage?
Thanks alot.

Image Capture in Windows 8.1 C# Application

I have a Desktop Based piece of Touch Screen Software. As part of the process you capture a photo of the user to store later on. The Application works perfectly fine in all versions of Windows other than Windows 8.1 on a Surface Pro 3 (seems to be machines with Metro on).
When it comes to Windows 8.1 the Application Captures the image with no issues. When you then go back to the page to capture again it is unable to grab the camera to take another photo?
Using the Camera Capture in Windows 8.1 itself uses the camera with no issues again. Restarting the Surface Pro allows the camera to work in the application again for one instance and then stops again.
I've tried scouring the web but not having much luck so far. We're using the DirectShow lib
Any advice/ideas/help would be greatly appreciated.
Thanks
Paul

Windows 8 Tile Icon for WPF application?

guys, first time posting -
I'm a newbie to Windows development and VS (Using 2013 on Windows 8.1).
I've created a very simple application by the action of
File->New Project/WPF application.
The application works great, and does exactly what I'd like it to do.
I successfully added a large (128x128) icon and got it to look great on Windows 7's taskbar and start menu by right-clicking my project in the Solution Explorer and specifying my .ico file through there.
I also added the 'Icon' property to my MainWindow.xaml file and it even looks great on the taskbar of Windows 8...
However, it doesn't even display my app's icon on the Start Menu of Windows 8, and I am having a really hard time finding documentation specific to this issue.
I'm sure it's a no-brainer but I'm just stuck.
How do I get a nice icon and tile in Windows 8?
Live tiles are only supported in Windows Store Applications but you can use some third-party solutions that provides a way to add this capability via the interoperation between your Desktop Application and separate Windows Store application (this one is installed on end-users computers and behaves like a server that can provide a Tile for its clients, which actually are the Desktop applications).
For example, DevExpress solution - WinRTLiveTileManager.
Or you can implement this approach itself...
Live tiles are only supported in Windows Store Apps unfortunately.
See this thread...

Windows Phone 8 tiles

i have recently started to develop apps for Windows Phone 8 after Windows Phone 7, the problem is with creating tiles, i am trying to use the simplest type (iconic tiles) just like we used to do in Windows Phone 7 opened the images from the assets and edited them from there, and modified the app manifest to select the images, but the tile is still showing white blank, i have searched deeply but there does not seem to be any tutorial about this
Make sure you are setting your images to Build Type of Content and that they are actually being included in your xap.
For a complete discussion about Tiles start: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202948(v=vs.105).aspx
Iconic Tiles cannot be colored. They are monochromatic. That is why you got blank white image. The only shape on transparent background is used by Windows Phone to show such kind of tiles.
To get colored Tile you have to use Flip Template for it.

Categories