×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Hi,

    Camera sample application is using a binary distribution of a camera wrapper (aptly named camerawrapper.sisx).
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

    Where can I get the source code for the above wrapper?

    I want to be able to understand how to use the camera across platforms and the key for doing so is inside. In additional support for future devices can not be guaranteed without the source code.

    Thanks,

    xor

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Not really familiar with that particular example, but most likely if it using a sis file that is said to be required to be embedded into your own sis, then it usually means that the APIs used in it are not publicly available, thus the source code is also not publicly available.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Thanks.

    This is the whole problem.

    The camera example is supposed to show you how to operate the camera across platforms. However, instead of showing you how to do so, it provides you a blackbox binary that while it works, it does not show you how. Moreover, it is probably a bad idea to reply on this binary blackbox, because future models might not work and then you're stuck.

    Thanks again,

    xor
    Last edited by xorrox; 2009-08-09 at 13:43.

  4. #4
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    213

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Hi,
    The best way to use the camera example is to use the original camera engine example from wiki and then depending on the platform (fp2 or prior) use autofocus functionality: camera advanced settings or static autofocus library.
    It will require using preprocessor defines in many places: in controller,engine,view etc.. but you will control exactly the camera behaviour.
    (In .mmp file, depending on platform, you can also decide if to add the static library)

    Regards
    Assayag

  5. #5
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Thanks,

    It seems to me that the whole reason for the wrapper's existence is to solve the need for this kind of messing around with the camera's API. I wish the source code was released - it would make adapting to future devices easier.

    xor

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    I do not really see how you would benefit from having the source code for that wrapper.
    - presumably in its current form it is not aware of devices and API-s which will become available in (say) 2012, so you could not learn "future compatibility" from it
    - according to what you write, you would plan to integrate the wrapper on source code level into your code
    -- it would result in code multiplication - your binary would contain the wrapper regardless of its presence on the device
    -- and in fact it would result in lowered compatibility: even if a new version of the wrapper would be released, your particular application could not make use of it, because it would use the duplicated+obsolete version

  7. #7
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    213

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    API-s which will become available in (say) 2012

    If someone in Nokia is hearing, one of the advantages of Nokia over iPhone is the camera quality.
    If the API are public so third-party can make real-time image processing/computer vision applications using Nokia it will increase considerably this advantage.....

    Assayag

  8. #8
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    I do not really see how you would benefit from having the source code for that wrapper.
    - presumably in its current form it is not aware of devices and API-s which will become available in (say) 2012, so you could not learn "future compatibility" from it
    - according to what you write, you would plan to integrate the wrapper on source code level into your code
    -- it would result in code multiplication - your binary would contain the wrapper regardless of its presence on the device
    -- and in fact it would result in lowered compatibility: even if a new version of the wrapper would be released, your particular application could not make use of it, because it would use the duplicated+obsolete version
    What is your solution then for having a single API for the camera? That is, if I want the same application code to operate the auto focus and zoom.

  9. #9
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    API-s which will become available in (say) 2012

    If someone in Nokia is hearing, one of the advantages of Nokia over iPhone is the camera quality.
    If the API are public so third-party can make real-time image processing/computer vision applications using Nokia it will increase considerably this advantage.....

    Assayag
    I agree. Nokia, Excellent optics (on most AF devices), raw bitmap access and native C/C++ code. Humpered by buggy and partially documented API(s) for the camera and many incompatibilities between devices.

  10. #10
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Conclusion:

    I got the source code for the wrapper from Nokia. I have absolutely no idea why they did not release it.

    xor

  11. #11
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Quote Originally Posted by xorrox View Post
    Conclusion:

    I got the source code for the wrapper from Nokia. I have absolutely no idea why they did not release it.

    xor
    Did you get it via API partnering?

  12. #12
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    API partnering will not help you on getting soure codes of internal APIs.

  13. #13
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Is there anything else via which you are given access to the source code.

  14. #14
    Registered User
    Join Date
    Dec 2006
    Posts
    18

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Quote Originally Posted by kamalakshan View Post
    Is there anything else via which you are given access to the source code.
    There is no internal API about the code. It's all public APIs - just cleaned up so it works across platforms.

  15. #15
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Source Code for the CameraWrapper in S60_Platform_Camera_Example_v3_0_en.zip

    Quote Originally Posted by xorrox View Post
    There is no internal API about the code. It's all public APIs - just cleaned up so it works across platforms.
    You had stated that you got the code from Nokia. I wanted to know if the code is made available for public access, if not how to did you get access to it.

Similar Threads

  1. Replies: 106
    Last Post: 2009-05-11, 05:53
  2. Not found Mif & BMP
    By mockba in forum Symbian
    Replies: 7
    Last Post: 2008-09-11, 07:31
  3. Automatic code signing for open source J2ME Apps?
    By gagravarr in forum Series 40 & S60 Platform Feedback Archive
    Replies: 3
    Last Post: 2008-05-12, 06:09
  4. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46

Posting Permissions

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