×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    2

    WP8 update changed something on the PhotoCamera/CaptureCameraTask result?

    Hi all.

    I'm building an app enables the user to take pictures with the PhotoCamera as described in MSDN basic camera sample. ( I started the dev work with WP7.5 )

    On my app i use Exiflib to determinate the phones orientation when the pic is taken and rotate the result so the picture shows up correctly to the user. ( i used Tim Heuer's Exiflib sample as a base for my pic angle / rotation solution )

    The app works fine on WP7.5 and on devices updated to WP7.8 .
    When i was testing the app on WP8 devices ( 920,820 and 620 ) i noticed that 920 and 820 returned different Angle information than 620.
    If I took a picture with the device held "normaly" ( exifOrientation topRight / Device portrait up ) 920 and 820 returned angle 270 and 620 returned angle 90.
    All WP7.5 devices returned angle 90 when held portrait up. ( note : my WP8 phones were/are developer phones that MS Finland kindly loaned to me )
    ( so my lumia800, omnia7 and the 620 loaner returned identical Angle data, Portrait up = 90, 920/820 Portrait up = 270 )

    I coded a fix to this using Mangopollo light from CodePlex. I use Mangopollo to detect the OS version and and manually change the angle data if the DeviceName from the Microsoft.Phone.Info.DeviceStatus does not refer to Lumia620.

    This morning I updated the Lumia820 loaner to 8.0.10211.204 and imagine my suprise when all pictures that i take with 820 are turned(rotated) 180 degrees.
    I ran the app in debug and took a look at the Angle data that exiflib is giving me, and it has changed from 270 to 90.

    Has anyone else noticed the same behavior?

    My biggest concern is that what happens to users of my app when they update their WP8 phones to 8.0.10211.204, if this OS update changes the way that exif data is saved to the picture, then all "my" 920 and 820 users will have their future pic's shown to them upside down after the update.

    If the update unified the exifdata on all WP8 devices, then i can remove the fix from my code.
    But as i don't have 920 / 620 devices on hand for testing, i can't be sure about this. And removing the fix from the is code might not be a good idea when all I have is a hunch

    Would some of you be willing to help me out, if i build a Beta app that would use Exiflib to detect the Angle?
    The idea is that You take a pic and the app gathers some device data (maker, model , os and the angle of the pic ) and send it to my email or post the results here if sending email's is not your thing.

    Or if you have an app that uses exiflib and some implementation of Tim Heuer's Exiflib sample, posting the Angle data from WP8 device's would really help me out.


    Thanks in advance and all ideas / help is greatly appreciated.

    [B]======================================================================[B]
    UPDATE

    So I found out that the Lumia 920 and 820 loaner devices originally had older OS in them ( 8.0.9903.xxx ) and the 620 had 8.0.10211.xxx.

    I resolved this issue by doing a compare with Environment.OSVersion.Version.Build to 10211 and if the Version.Build is smaller, I redirect the stream from PhotoCam to a method that rotates the picture 180 degree's before the picture is shown to the user.

    Does anyone know is there a "heads up" documentation released before OS / firmware updates?
    These might be handy and usefull.

    I found the Firmware change logs for Nokia Lumia (Windows Phone) devices @ http://www.developer.nokia.com/Commu...Phone)_devices

    But i was hoping for more detailed information. The change log's indicate that FW update has some improvements on the Camera, but i wish there would be a resource that would list all API's if they are affected by an update.

    MS apparently have some kind of "braking changes" documentation, but i cant find it online, so that might be for internal use.

    If Nokia has documentation online describing possible changes/affects to different API's a link to thos documents would be greatly appreciated.

    And if Nokia doesn't have "Braking Changes" documents online or in the wiki, PLEASE start writing and releasing them.
    ================================================================================

    -Arto Ahonen
    Last edited by Arto Ahonen; 2013-02-27 at 12:33. Reason: Possible solution/reason found.

Similar Threads

  1. PhotoCamera.CaptureImage() fails with front facing camera - WP8
    By cadlg in forum Windows Phone General
    Replies: 12
    Last Post: 2013-02-25, 14:45
  2. How to update CAknSingleStyleListBox with changed text array ?
    By Md. Kayesh in forum Symbian User Interface
    Replies: 5
    Last Post: 2012-01-29, 05:42
  3. why is it that there is still no update for nokia 5800 update for product code 058315
    By jamonserrat in forum Series 40 & S60 Platform Feedback Archive
    Replies: 7
    Last Post: 2010-04-26, 10:01
  4. Update Error: UID of the application is Changed
    By jupitar in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2008-11-12, 04:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •