<div dir="ltr">On Mon, Sep 22, 2008 at 7:21 PM, Iain B. Findleton <span dir="ltr">&lt;<a href="mailto:ifindleton@videotron.ca">ifindleton@videotron.ca</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Really depends on what your motivations and goals are, I suspect.<br>
Personally, I develop the applications that I want on the phone using<br>
TclFltk, a scripting based language that uses the FLTK tool kit. Since<br>
this cross platform environment works on Windows, Linux, etc. It does<br>
not get bogged down on all this platform dependant stuff.</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I suspect that there must be other things that are pretty isolated from<br>
the stack, like python-gtk or java that you can use.<br>
<br>
On the other hand, if you are into the internals of the phone, your<br>
project will probably have a lot of trouble because of the lack of<br>
documentation and access. My projects are strictly user space<br>
applications, and so far, things are relatively speaking just fine.</blockquote><div><br>
Qt library works on Windows, Linux, Mac, and Windows ME too. With a
single Api you can run your applications on qtopia/2008.8/fso for
example. The library usually is used with C++, and i think this is
faster then python or java or other interpreted languages, and let&#39;s
remember that we are on a system with a slow cpu. Howewer this could be
not a big issue, as a mixed system where core feature are developed
with C/C++ and lighter interfaces with interpreted languages is
acceptable.<br>
Qt has an excellent documentation, i used it for years, qtopia supports
gta*, in the oetree are there qt recipies, om ported qtopia phone to x11, so
actually you write just one and run it on every freerunner or destkop
or pda with every distro on it.<br>
Finally i must use qt because i developed a client for
<a href="http://www.openstreetmap.org">www.openstreetmap.org</a> with editor capabilities using qt library, it&#39;s
not yet released to the public for lack of time, but when i got my
freerunner i decided to port,complete and release it.<br>
First i tryied to download qtopia sdk virtual machine serveral time with a slow line, but the file was trunked at 450Mb i think for an hardware problem of the server.<br>After i decided to download qtopia-snapshots sources and compile SDK directly on my host for arm and x86,&nbsp; in a&nbsp; couple of day i was quite confident in new tools, new .pro specification, objects and api not available on qtopia (QFileDialog, QInputDialog...) and so on, patched a bit and compiled my application for qtopia. I found (it may be) a bug in qtopia in floating point, recompiled all the sdk with double precision, find that it now works and reported a bug to trolltech. I replaced /opt/* stuff with my own qtopia image and finally my applications appeared on the freerunner.<br>
The second step should be now to run my application on 2008.x and later FSO.<br>In the past I did a try to OE, trying to port my application for ipaq2200, and i had to spent a lot of time, due to lack of documentation, to find some bitbake inc files to patch and to use in order to create a bb recipie for my application.<br>
So i thinked i should find them in om tree, but it seems there is some related to qtopia-core and not qtopia phone, howewer official recipie does not fill staging area with libraries and include, so i&#39;m in doubt how i have to proceed, and all this is becoming a nightmare!<br>
<br></div></div>I have not to go deeply in the internals, but just have a little control of Power Managment, or just interact with some gui staff, for example:<br><br>QtopiaApplication::setPowerConstraint(QtopiaApplication::DisableLightOff);<br>
<br>This line avoids freerunner goes to suspend when my application is running. When it quits normal power management settings are used.<br>Another example is:<br><br>QSoftMenuBar::addMenuTo(...)<br><br>this add a menu under the softkeys of qtopia.<br>
These calls is only available under qtopia and not generic qt.<br>I have to use qtopia-phone api to access contacts, sim, sms and so on, and this is a different and incompatible with the fso framework.<br><br>So now, we have 2008.x with qtopia, but in the future it will be based on FSO.<br>
I think it would be quite nice to know if:<br><br>* qtopia phone x11 will be patched to use FSO?<br>* om will replace qtopia with Zenith or other gui?<br>* om guys will patch qtopia-phone-x11 recipie and classes to build application?<br>
* what are the relations between fso/oe/om stuff?<br><br>Regards<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Nicola<br></div>