Talk:What's new in Windows Phone 8

From Nokia Developer Wiki
Jump to: navigation, search


Ap3rus -

Awesome article, everything in one place!

ap3rus 21:23, 1 November 2012 (EET)

Brice -

Nice job!! I learned a lot.

Brice 22:43, 1 November 2012 (EET)

ManicottiK - Calendar lags Contacts

Thank you for putting so much information together in one place and for providing samples, too!

I know that it's not Nokia's doing, but why on earth didn't Microsoft take the per-app ContactStore idea and apply it to a CalendarStore. WP8 is still the laggard in calendar integration because of this hamstrung API (no recurring events, really!?)

Our department publishes a cool app for our students, faculty, and staff. It exists as native apps for Android, BlackBerry, iOS, and Windows Phone. (We did webOS, too, but dropped it a year after HP did.) Our top request from students is to have the app add their course schedules to the calendar. (See https://d1m.uservoice.com/forums/145677-suggestions/suggestions/2777939-integrate-our-schedule-into-our-phone-calendar) We can do this on all platforms except Windows Phone. We had hoped that WP8 would address this, but there's no way that we can ask students to OK adding each meeting of every class for a semester.

If Nokia has any pull with Microsoft, please try to get them to fix this. Writable calendar access was the new WP8 feature that was implemented most poorly. Ugh!

manicottiK 18:04, 23 November 2012 (EET)

JohanLindfors - Can't connect the Sphero to my Nokia Lumia 920

Awesome article!

But I'm curious in understanding how you managed to connect a Sphero to your device. I've now tried more than 20 times and I fail each and every time with my new Sphero (which manages to connect to competing platforms perfectly) to a Nokia Lumia 920.

Did you do anything magic?


Johan Lindfors

JohanLindfors 23:02, 23 November 2012 (EET)

Slobo80 - Excellent article!

Thank you very much for writing such a great article. This will be my place to go when implementing a new feature in my apps.


slobo80 16:22, 25 November 2012 (EET)

Hamishwillee - @ManicottiK

I believe the official place for defect reports is https://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, while there is lots of other feature suggestion going on here: http://windowsphone.uservoice.com/forums/101801-feature-suggestions

If this is a defect, putting it into the system for correct prioritisation is the best way to get it addressed.

hamishwillee 03:14, 26 November 2012 (EET)

Martimor88 - Microphone Volume Level

Hi there,

great article! I actually try to learn how things going on WP8.

The most interesting part of the article for me is about the video recording. I just use it for audio capturing (without video). After a while trying to do it same way like in WP7 (buffer reader) I found this and I'm very pleased to see how easy it is. But I have a problem. While using a buffer it was quiet easy to measure the volume of the microphone input. I have no idea how to do it with WP8. Can anybody help me ?


Regards Martin

PS.: Sorry for my english, I'm german :).

Martimor88 01:42, 27 November 2012 (EET)

Aady - A teriffic job...

Sorry for commenting late on this, but no more better could have been written on this ... Great Job and a Great Article !!!

Aady 19:50, 11 December 2012 (EET)

Andrey vb - error or a new opportunity?

On pic "TemplateIconic properties overview" (http://www.developer.nokia.com/Community/Wiki/images/b/b6/WhatsNewWP8_27_TemplateIconic_Properties_Overview.png?20121030182104) I see not standard aligned WideContent on LageTile. But on next pic with device screenshot I see only standard aligned WideContent on LageTile... The first image has a bug? or on the first shot, we see a new opportunity tiles?

There is a way to change the alignment of the tiles?

andrey_vb 19:39, 23 December 2012 (EET)

CompassResearch - Did not see content below the fold because such large white space

In the section "Native: DirectX, C++, and Direct3D graphics" I left the page before realizing that there was more below the fold. I only came back to it later because it was referenced in a webinar, so I knew there had to be something I was missing for it to seem so sparce.

Leaving disappointed the first time was due to the images following the text not fitting between the left and right menu columns. Therefore, the graphics began below the end of the left and right page menu columns, which left too much white space, making me expect the rest of the page to be only white space and menus, until I had scrolled down considerably.

Perhaps an adjustment to the left/right margins or a notice to user "Look below the white space for much more content!" would prevent someone else from navigating away before realizing the depth and value of the material in this excellent page.

CompassResearch 21:08, 18 January 2013 (EET)

Hamishwillee - CompassResearch - Catch 22

Hi CompassResearch

How did you miss the enormous table of contents on the right hand side disappearing below the page - as this would have shown the article continuing?

Seriously though, this is a bit of a catch 22. The size of the image is fixed so if you view at a higher zoom level it can't fit in the available space and gets pushed down. If we shrink the image so that it is small enough to render inline at higher zoom levels it looks silly for people who like to read with their text small. We can't add any note about "below the fold" because the existance or position of "the fold" completely depends on your zoom level.

I could make this very tiny (a thumbnail) but then no one would be satisfied because everyone would have to click the image to see it working.

Thank you very much though for notifying us of the problem, and for suggesting a solution. I'm happy to try another workable solution if you can come up with one.

Regards Hamish

Re your other comment, if you are sure of the error in text then feel free to fix directly. If not, the author will when they next visit the page.

hamishwillee 08:09, 23 January 2013 (EET)

Hamishwillee - Questions against the article

The author does not appear to be monitoring this article at the moment. If you have a general question about behaviour then please raise in the Windows Phone discussion board (you can cross link to here if that is helpful).

hamishwillee 08:12, 23 January 2013 (EET)

CompassResearch - Tetrahedron is missing a vertex.

To HamishWillie: The page is protected and I cannot fix directly.

To the Author: This article is a great resource and very impressive. I only offer correction to help others who may be slightly confused, when the image geometry seems not to match the code geometry. If my reading of the problem domain is incorrect, please elaborate.

I observe... The simplest tetrahedron can be defined by four points in 3 dimensional space and will have four triangular faces. However, the tetrahedron image shown is more complex.

I have checked and analyzed the tetrahedron image, textual comments and code snippet closely. It appears that the four vertices specified do indeed define a "flat" square in 3D space. The tetrahedron seems to be created by using (0,0,0) as the "top" of the pyramid, which is spinning in 3D space about the point (0,0,0). Otherwise, the (0,0,0) pyramid vertex being the center of rotation is merely an unintended side effect of rotating a flat square in 3D space about a point not in the same plane as the defined square.

Inspecting the source file CubeRenderer.h reveals the input parameters represent a position followed by a color:

struct VertexPositionColor 
    DirectX::XMFLOAT3 pos;
    DirectX::XMFLOAT3 color;

I might have missed some implied use of the Origin (0,0,0) center of rotation elsewhere in the code. Otherwise, the article should probably read more like the following:

It's also quite simple to reduce the definition to 4 points to define a square, which is then rotated about the Origin (0,0,0). By using the Origin (0,0,0) as a fifth vertex, a pyramidal tetrahedron is defined, as follows:

VertexPositionColor cubeVertices[] = 
    // these four positions define the pyramidal tetrahedron's square base
    {XMFLOAT3(-0.5f, -0.5f, -0.5f), XMFLOAT3(0.0f, 0.0f, 0.0f)},
    {XMFLOAT3(-0.5f, -0.5f,  0.5f), XMFLOAT3(0.0f, 0.0f, 1.0f)},
    {XMFLOAT3(-0.5f,  0.5f, -0.5f), XMFLOAT3(0.0f, 1.0f, 0.0f)},
    {XMFLOAT3(-0.5f,  0.5f,  0.5f), XMFLOAT3(0.0f, 1.0f, 1.0f)},
    // these four positions were part of the original cube, not needed for tetrahedron
    //{XMFLOAT3( 0.5f, -0.5f, -0.5f), XMFLOAT3(1.0f, 0.0f, 0.0f)},
    //{XMFLOAT3( 0.5f, -0.5f,  0.5f), XMFLOAT3(1.0f, 0.0f, 1.0f)},
    //{XMFLOAT3( 0.5f,  0.5f, -0.5f), XMFLOAT3(1.0f, 1.0f, 0.0f)},
    //{XMFLOAT3( 0.5f,  0.5f,  0.5f), XMFLOAT3(1.0f, 1.0f, 1.0f)},
    // Now, define the triangular apex of the pyramidal tetrahedron at the center of rotation.
   {XMFLOAT3( 0.0f,  0.0f,  0.0f), XMFLOAT3(1.0f, 1.0f, 1.0f)},

Now, running the app, displays a flat square based pyramidal tetrahedron with five vertices spinning in 3D about its apex.

CompassResearch 03:45, 24 January 2013 (EET)

Hamishwillee - Comment from author

Had a quick discussion with this on twitter with the author. His statement was "it works on my box" - leave the comment there so that people who run into problems can see it.

Seem reasonable.

hamishwillee 06:16, 24 January 2013 (EET)

Rd3d - Live Tile News

Stumbled across this wiki while building up my knowledge of Windows Phone 8 - chuffed to see that you used some screen shots from my own App!

rd3d (talk) 18:24, 4 November 2013 (EET)

Hamishwillee - Rd3d

Where? I believe all the screen shots on live tiles are Microsoft standard images.

hamishwillee (talk) 06:14, 5 November 2013 (EET)

Rob.Kachmar - "Camera: Video Recording" section - code issue

The code in the "Camera: Video Recording" section has an issue. Most of the code blocks are trying to pass CameraType.RearFacing to the AudioVideoCaptueDevice. It's actually not until the last code block when CameraSensorLocation.Back is finally passed correctly.

Rob.Kachmar (talk) 00:55, 28 November 2013 (EET)

Rob.Kachmar - "Camera: Video Recording" section - code issue

While I'm making comments about the "Camera: Video Recording" section, the isoStore variable should probably just be assigned to local like this:

   StorageFolder isoStore = Windows.Storage.ApplicationData.Current.LocalFolder;

Additionally, it should be noted that you have to make sure you have the following capabilities defined in the WMAppManifest.xml

BTW, I would also like to say this is a great compilation of WP8 features. Keep up the great work Nokia!

Rob.Kachmar (talk) 02:13, 28 November 2013 (EET)

Hamishwillee - Rob.Kachmar - thanks

Hi Rob

Thanks for this - I fixed up the CameraType.RearFacing error, and added the capabilities that need to be in the WPAppManifest. I didn't update the assigning to a local of StorageFolder isoStore because presumably there is benefit in doing this asynchronously.

>BTW, I would also like to say this is a great compilation of WP8 features. Keep up the great work Nokia! Thanks, I agree - Justin did a great job on this.



hamishwillee (talk) 02:31, 28 November 2013 (EET)