Discussion Board

Results 1 to 5 of 5
  1. #1
    Nokia Developer Champion Shayan Rais's Avatar
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    70
    Is there any way that I can access the windows phone Camera in my XNA app without using silver-light app.

    Because there are issues with silver light app ..
    - GraphicsDeviceManager is not accessible.
    - Loading a texture giving out of memory exception
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

  2. #2
    Nokia Developer Champion shai.i's Avatar
    Join Date
    Mar 2013
    Posts
    138
    Hi Shayan,

    When you say access the phone camera what exactly do you mean?
    Do you just want to take a snapshot? do you need a continuous stream?

    Also why do you say SL is not an option? you can mix SL and XNA
    instead of GraphicsDeviceManager you have SharedGraphicsDeviceManager (which you access via SharedGraphicsDeviceManager.Current)
    as for loading a texture and giving you OOM how big exactly is your texture?

  3. #3
    Nokia Developer Champion yan_'s Avatar
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    63
    Have you read this article : http://www.developer.nokia.com/Commu...amera_with_XNA ?

    On WP7 this work very well.
    Last edited by yan_; 2013-06-02 at 12:11.

  4. #4
    Nokia Developer Champion Shayan Rais's Avatar
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    70
    Quote Originally Posted by shai.i View Post
    Hi Shayan,

    When you say access the phone camera what exactly do you mean?
    Do you just want to take a snapshot? do you need a continuous stream?
    I need continuous stream because the Idea is to mke an augmented reality game..

    Quote Originally Posted by shai.i View Post
    Also why do you say SL is not an option? you can mix SL and XNA
    instead of GraphicsDeviceManager you have SharedGraphicsDeviceManager (which you access via SharedGraphicsDeviceManager.Current)
    as for loading a texture and giving you OOM how big exactly is your texture?
    The OOM is not occurring only, when I load my texture in OnDraw Method.. the texture is in KBs..
    Have you used GOBLIN Library ? I have a problem using SharedGraphicsDeviceManager instead of GraphicsDeviceManager there ..

    And dont you think that silverlight app will affect my game speed ?

    Thnak You for the Reply.
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

  5. #5
    Nokia Developer Champion Shayan Rais's Avatar
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    70
    And If I use SLXNA app for my augmented reality game .. please some one suggest me good library for Marker Detection ..

    SLAR is working smooth on Windows but not on windows phone,

    Any other Library please..
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

Similar Threads

  1. Accessing camera from browser?
    By LSS in forum Mobile Web Server
    Replies: 8
    Last Post: 2009-08-13, 07:40
  2. Accessing the camera twice in a row
    By bercobeute in forum Python
    Replies: 1
    Last Post: 2008-07-02, 11:51
  3. Accessing camera with WRT?
    By LSS in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2008-06-03, 06:38
  4. Accessing camera app's images
    By dav_coleman in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2005-08-11, 11:16
  5. Accessing camera on 7250
    By anilmvs in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2003-08-15, 23:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved