December 2, 2010

qwertyuiopearendil qwertyuiopea..
Lab Rat
91 posts

Camera Problem on Symbain^3

Page  
1

Hi all,
I’d like to know if some of you know how can I use camera into a Qt app, if should be possible I’d like to have the standard nokia camera to capture photo.
I cannot use Beta API because i must put my app on ovi.
Thanks.

53 replies

December 2, 2010

Alexander Kuchumov Alexander Kuchumov
Lab Rat
377 posts

use Symbian C++ in Qt

December 3, 2010

chriadam chriadam
Ant Farmer
181 posts

Hi,

See the docs for the camera-related classes in the Multimedia module of Qt Mobility 1.1.0.
http://doc.qt.nokia.com/qtmobility-1.1/multimedia.html#camera-support

The API and implementation has been finalised I believe (it’s not beta) but I don’t know whether the smart installer supports it yet (which would impact availability on Ovi Store, I think).

Cheers,
Chris.

December 3, 2010

xsacha xsacha
Lab Rat
517 posts

QtMobility 1.1.0 is not accepted in to Ovi Store. Probably won’t be until next year when Qt4.7.2 is allowed.
So you’ll have to take the advice of Alexander here and make do with Symbian C++.

However, if you don’t mind waiting until next year the Camera API will be much easier and quicker (although sort of defeats the point when you need to wait ;) ).

By the way, I think they may be replacing SmartInstaller or at least changing the process because I got a notification through Ovi Publisher that you will no longer require the statement that says the application may require up to 13MB of additional downloads (Qt Installer).

 Signature 

- Sacha

December 3, 2010

borut123 borut123
Lab Rat
72 posts

Don’t know if this solution is legal (GPL, LGPL), but it should work.

Take files qcamera.cpp and qcamera.h from the qtmobility 1.1 for symbian source and include them into your project.

December 3, 2010

qwertyuiopearendil qwertyuiopea..
Lab Rat
91 posts

From what I’ve understood I must use Symbian c++ in Qt, but now the prblem is that I’m not able to do, what I’d like to know is:

1- how to start standard nokia camera
2- how can i catch photo

Thanks for your support.

December 3, 2010

QtK QtK
Lab Rat
1140 posts

qwertyuiopearendil wrote:
From what I’ve understood I must use Symbian c++ in Qt, but now the prblem is that I’m not able to do, what I’d like to know is:

1- how to start standard nokia camera
2- how can i catch photo

Thanks for your support.

Refer this [wiki.forum.nokia.com] link for achieving the above in symbian.

December 3, 2010

qwertyuiopearendil qwertyuiopea..
Lab Rat
91 posts

But the link that you’ve posted talk about S60, can i use it even if I’m developping to symbian^3?

December 4, 2010

xsacha xsacha
Lab Rat
517 posts

There shouldn’t be a difference. Try it out on a S^3 device.

 Signature 

- Sacha

December 4, 2010

QtK QtK
Lab Rat
1140 posts
qwertyuiopearendil wrote:
But the link that you’ve posted talk about S60, can i use it even if I’m developping to symbian^3?

As mentioned above – it should most probably work with Symbian^3 if the plugin is available.

December 4, 2010

QtK QtK
Lab Rat
1140 posts

Yes and better develop the complete app in Symbian than Qt as you need to put it on Ovi. You will have to develop the engine in native Symbian and if you develop the ui part also in Symbian instead of Qt – probably your app will support wider range of devices.

December 4, 2010

Deleted Member # 14e8 Deleted Member # 14e8
Lab Rat
355 posts

The Qt has the most benefits if you later want to port to Maemo or desktop at some point in the future…

December 4, 2010

QtK QtK
Lab Rat
1140 posts
tamhanna wrote:
The Qt has the most benefits if you later want to port to Maemo or desktop at some point in the future…

But then again you Qt mobility is mainly for mobile devices and these API’s won’t be supported on Desktop right. And N900 being the only maemo device with Qt updates the target audience is very few. Maybe once meego comes in the scenario might change.

December 4, 2010

Deleted Member # 14e8 Deleted Member # 14e8
Lab Rat
355 posts

MAN! Forget QT Mobility.

Think about engine and GUI. Porting that is easier if you do Qt.

December 4, 2010

xsacha xsacha
Lab Rat
517 posts
QtK wrote:
But then again you Qt mobility is mainly for mobile devices and these API’s won’t be supported on Desktop right.

Read the first post from here: https://developer.qt.nokia.com/forums/viewthread/1732/
It says “but also provide useful application functionality across desktop platforms.”

 Signature 

- Sacha

December 4, 2010

xsacha xsacha
Lab Rat
517 posts

It’s quite useful and a time saver. I don’t see the problem. SmartInstaller will install the latest on the users system.

 Signature 

- Sacha

Page  
1

  ‹‹ Service Framework - invoke signal on server side      USB support, QtMobility 1.2 - when to expect ››

You must log in to post a reply. Not a member yet? Register here!