I'm starting to porting an Android app to Qt. Planning to port it to MeeGo, Symbian and Linux-Windows desktop versions.
My app uses alarms in Android and I have found XQAlarm class in Qt to be very usefull, BUT its belongs to Mobile Extensions package.
Any equivalent class for desktop (Linux, Windows)? or a workarround class?
If this is for mobile extension, say Symbian, then you will have to use native OS API.
Sorry, by mistake I posted the reply here, instead of replying to : How to set alarm in qt mobility application
I was searching for similar questions on this site for "xqalarm" and got this hit.
Related
I spotted a strange thing. I have a webcam (a4tech p-635, pretty old) which is not recognized by any UWP app, like modern skype. With standard apps, everything works like a charm. I will say even more; same code in Qt compiled with MinGW can handle this camera, but compiled as UWP, can't detect her.
Have you any ideas? I can't find anything which could be a cause. Thanks.
That is most likely caused by the camera drivers. UWP app API is great at abstracting devices and access them via the simple API, but if the webcamera is not recognized, it must be that the drivers for the camera are not providing the right interface that UWP can use.
Please check if there are newer drivers available and if you cannot install some generic driver that would make the camera work.
Can we develop an application using JavaFX and run it on multiple platforms, including mobile(Android, iOS) and Desktop(Windows, Mac, Linux) as well?
Latest Oracle MAF (2.1.2) runs on both Android and iOS.
http://www.oracle.com/technetwork/developer-tools/maf/documentation/maf212certmatrix-2524539.html
Support for Windows phones it has been in talks for a while, it will won't be long until Oracle will make it available.
JavaFX is supported on Windows, Mac and Linux. It is not supported on iOS or Android although there are third party solutions provided by the community for that (RoboVM for iOS). This might be the reason you were unable to find instructions on how to set up Android Studio with JavaFX.
Generally JavaFX 8 is very reliable on all three platforms. Please note that JavaFX 1 is an entirely different thing than JavaFX 2 and 8. Not only does it rely on JavaFX Script instead of Java, it also focusses more on browsers and mobile devices.
If I write a Qt Gui application in c++, will it work on the Android OS?
You might be interested in this video: http://labs.qt.nokia.com/2011/02/28/necessitas/
So, yes, it is possible. Personally I would recommend always using the native platform where possible - chances are it's going to be more stable across all the various Android devices.
I have to develop an application which requires Bluetooth and profile change functionality for Symbian phones. After spending sometime I found that following options:
Java: but java does not allow to change profile
Symbian C++: I read basics for Symbian C++ and created some basic stuffs. Symbian extended APIs provide simple APIs for Profile and Bluetooth (I haven't tested yet). But its required lot of efforts to grab these. Specially certificate singing problem. I want to test my application on different devices and wish to give my friends whom having different cellphones. But couldn't due to signing problem.
QT: I am still confused on this. Whether this platform capable to fulfill my requirement or not. Secondly which phone supports QT or not...
Honestly, I am bit frustrated while writing this. I am looking someone, experience in these matter, to guide me in this situation.
You can combine native C++ with Qt. Though you'll lose some of the cross-platform nature of Qt by mixing native C++ with it.
See the XQProfile example on Forum Nokia Wiki for mixing Qt and native Symbian C++ for profile changing.
Qt can be installed to practically all devices from S60 3rd Edition FP1 (S60 3.1) onwards. Newer device models ship with Qt preinstalled. Forum Nokia has device specifications that you can filter based on Qt availability.
QT (+ QML) is the language of choice going forward. I believe it is currently on the following phones: N8,C7,C6,E7. i version 4.6.1 with version 4.7 which has the QML support due shortly.
However if you need to target current and older devices then your only choice is Symbian C++.
i have no idea about the nokia app all i know it is used the c++ and QT SDK correct me if I am wrong.
any references or book will be great.
Thanks
It depends, do you want to develop for Symbian or Maemo (more recent but available on less devices) ?
For Maemo, you could start with the SDK Virtual Image (to use in VirtualBox or VMWare):
http://maemovmware.garage.maemo.org/2nd_edition/
There is also a Virtual PC version, but I'm not sure if the image is as recent:
https://garage.maemo.org/projects/vpc-sdk
Otherwise, you could also check out the Nokia Forums, you could start here: http://www.forum.nokia.com/Library/Tools_and_downloads/Other/Maemo/
Also, you should also get the QT Tools if you're doing cross-platform: http://www.forum.nokia.com/Develop/Qt/Tools/
I think you want to google "Symbian":
http://wiki.forum.nokia.com/index.php/How_do_I_start_programming_for_Symbian_OS%3F
For Nokia phones, you have 2 types of applications:
Java application: J2ME, for feature phones (Series 40) and Symbian
QT: for Symbian and Maemo
The nokia forum is a great start for learning:
www.forum.nokia.com