Windows phone 7 - Is it possible to use its camera in Silverlight? - silverlight

Is it possible to use Windows phone 7's camera in Silverlight in ANY way?

According to this post at the MSDN community forum you cannot access the camera either in Silverlight or XNA. You can ask the user to take a picture and then access that, but you cannot access the camera directly.

The only way to access the camera is CameraCaptureTask. (Note: Unfortunately I don't believe it works in the current Windows Phone Developer Tools CTP.)

There's a simple code demonstration here showing your to put the camera API to use for Windows Phone 7 apps.
Issues noted from the CTP are since resolved.
How to: Use Choosers for Windows Phone

Related

Silverlight on Xbox

I have an application which works fin in Wp7 and Win8. It was be developed using Silverlight. In this time I need to develop the same application for Xbox 360.
So, I found a little information that Microsoft promised SL on Xbox (for example in link
http://www.engadget.com/2011/04/05/silverlight-coming-to-xbox-bringing-wp7-games-along-with-it/)
but I can't find any information about HOW I can develop application for Xbox using Silverlight.
Could someone show me a right way?
Thanks.
Silverlight SDK for Xbox hasn't been released yet (and I have no hope of coming soon) :-(
Take a look at this website:
http://www.xbox.com/en-US/developers
especialy at the bottom near Registered Developer Program and/or Tools and Middleware.
You need to get registered/licence with Microsoft to make apps for the Xbox360.
Im not sure if they let any random company make a App for their Xbox, but you can try.

Microsoft Pubcenter Ads In WPF Application

Is there anyway to insert the MS Pubcenter Ads into a WPF 4.0 C# application. If so, please show me step by step how.
The pubcenter does not support ads within anything other than WP7 or Win8 apps. Hopefully this will change to include standard desktop apps as we have a moderately successful game on WP7 that I would like to integrate ad support for and release on the desktop, but for now we'll need to look elsewhere for desktop ad revenue. I haven't found a solution yet either, unfortunately, so if anyone has a suggestion I'd like to hear it too.

Standard transitions in Windows Phone 7

Back when Windows Phone 7 had it's first SDK released they had an item list template that had the transitions for the items. Currently in the RTM tools there doesn't appear to be any support for this, can you not access the standard built-in transitions in Windows Phone 7?
You can implement this yourself with Blend.
Two things you can look at.
Christian Schormann's blend demo in his CL02 Mix Talk.
Shawn Wildermuth's blog post on this topic.
Bring Back Page Transitions to the Windows Phone List Application Template
Micks' suggestion is great. To add awesomeness to your Windows Phone application, learning how to use Blend is important. Adding page transitions is quite simple to a Windows Phone app is easy and if you are looking for sample code/library, Kevin Marshall has a good sample here. I would also recommend reading Kevin's development tips for Windows Phone development.
I've found the Silverlight Toolkit for Windows Phone has some transitions very similar to those that exist in the phone itself.
http://silverlight.codeplex.com/

Is Windows Phone 7 User interface based on Silverlight?

I've heard that Windows Phone 7's user interface (UI) is completely based on Silverlight. Can anybody confirm this? Or it is implemented by other frameworks?
Windows Phone 7 will support developing apps in either Silverlight or XNA.
Are you asking if the shell, etc that comes on the phone itself is written in Silverlight? My first question would be "why does it matter what Microsoft used?" It's probably a good bet that they leveraged it, but I doubt they did everything in SL. At some point they have to get down to the OS. For example, I doubt the built-in media player core or Office apps are SL.
Looking at the unlocked emulator image contents would certainly let you deduce which parts were developed with what technologies. I leave that exercise to you.
Indeed Silverlight is used for third-party apps on Windows Phone 7, plus XNA is supported too as mentioned.
However the Office apps and some first-party applications are written using the Iris framework which is an internal only developer framework similar to WPF, it is the same framework used for the Zune Software (Dorado) which is used to sync to a Windows Phone 7 device.
Yes it is based on Silverlight
I can tell you one thing, they are using Expression Blend (or a modified version of it) for parts of the core UI design. You can see the developers using this on one of their promo videos.

What is the development platform for Windows Phone 7

If I want to develop for Windows Phone 7, what should I learn? XNA, Silverlight or other?
Microsoft has not yet announced what the development environment will be. They say they'll get more in-depth at MIX. If I were a betting man, I'd guess you'll get XNA out of the box, followed by some light version of Silverlight.
EDIT
I'd say it's no longer a guess that it will be Silverlight and XNA just based on the MIX sessions for Windows Phone.
If you want to make applications (or even simple games), choose silverlight. If you want to make 3d games, or games with xbox live integration, choose xna :-)

Resources