RE: Howto about Qt QML and Ofono

2010-07-21 Thread Gu, Yang
Hi Matthias,

>-Original Message-
>From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of
>Matthias Günther
>Sent: Tuesday, July 20, 2010 4:02 PM
>To: qt-...@trolltech.com; ofono@ofono.org
>Subject: Howto about Qt QML and Ofono
>
>Hi all together.
>
>I wrote a little howto about how to use Ofono with Phonesim in the back
>and a Qt application as frontend. The Qt applicatin is devided into two
>parts, the C++ part where all the D-Bus stuff is handled and the QML
>part where you can use C++ methods to e.g. activate the Ofono modem or
>do something when an Ofono signal is recieved. The howto is separated
>into three parts:
>
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>
>I hope this helps people out there to create cool new phone
>applications. You're welcome to leave a note here or on the howto directly.
>

Your lovely program gives a good demo on how to writing an application based on 
oFono. oFono does claim it will help on building application in a convenient 
way, so the prosperity of application will definitely bring feedback to oFono 
and make oFono grow better. 
I have two comments on your first part: 1) configure is not in the git tree of 
oFono, so we will use bootstrap-configure instead. 2) I'm sure your phonesim 
works well. But we also have another phonesim derived from your repo, which we 
had some modification and enhancement in. The repo is 
"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command 
is same as oFono, and the execution command is "./phonesim -p 12345 -gui 
src/default.xml".


Regards,
-Yang
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Howto about Qt QML and Ofono

2010-07-22 Thread Matthias Günther

>> I wrote a little howto about how to use Ofono with Phonesim in the back
>> and a Qt application as frontend. The Qt applicatin is devided into two
>> parts, the C++ part where all the D-Bus stuff is handled and the QML
>> part where you can use C++ methods to e.g. activate the Ofono modem or
>> do something when an Ofono signal is recieved. The howto is separated
>> into three parts:
>>
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>
>> I hope this helps people out there to create cool new phone
>> applications. You're welcome to leave a note here or on the howto directly.
>>
> 
> Your lovely program gives a good demo on how to writing an application based 
> on oFono. oFono does claim it will help on building application in a 
> convenient way, so the prosperity of application will definitely bring 
> feedback to oFono and make oFono grow better. 
> I have two comments on your first part: 1) configure is not in the git tree 
> of oFono, so we will use bootstrap-configure instead. 2) I'm sure your 
> phonesim works well. But we also have another phonesim derived from your 
> repo, which we had some modification and enhancement in. The repo is 
> "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building 
> command is same as oFono, and the execution command is "./phonesim -p 12345 
> -gui src/default.xml".

Thanks Yang, I've added the ./bootstrap command to the listing. I also
wrote down a hint to the ofono branch of phonesim.

Best regards,
Matthias
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: Howto about Qt QML and Ofono

2010-07-22 Thread Gu, Yang
Hi Matthias, 

 http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
 http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
 http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>>
>>> I hope this helps people out there to create cool new phone
>>> applications. You're welcome to leave a note here or on the howto directly.
>>>
>>
>> Your lovely program gives a good demo on how to writing an application based 
>> on
>oFono. oFono does claim it will help on building application in a convenient 
>way, so
>the prosperity of application will definitely bring feedback to oFono and make 
>oFono
>grow better.
>> I have two comments on your first part: 1) configure is not in the git tree 
>> of oFono, so
>we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. 
>But we
>also have another phonesim derived from your repo, which we had some 
>modification
>and enhancement in. The repo is
>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building 
>command is
>same as oFono, and the execution command is "./phonesim -p 12345 -gui
>src/default.xml".
>
>Thanks Yang, I've added the ./bootstrap command to the listing. I also
>wrote down a hint to the ofono branch of phonesim.

"bootstrap-configure" is a single script, rather than two different ones. 

Regards,
-Yang
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Howto about Qt QML and Ofono

2010-07-22 Thread João Paulo Rechi Vita
On Thu, Jul 22, 2010 at 11:21, Gu, Yang  wrote:
> Hi Matthias,
>
> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/

 I hope this helps people out there to create cool new phone
 applications. You're welcome to leave a note here or on the howto directly.

>>>
>>> Your lovely program gives a good demo on how to writing an application 
>>> based on
>>oFono. oFono does claim it will help on building application in a convenient 
>>way, so
>>the prosperity of application will definitely bring feedback to oFono and 
>>make oFono
>>grow better.
>>> I have two comments on your first part: 1) configure is not in the git tree 
>>> of oFono, so
>>we will use bootstrap-configure instead. 2) I'm sure your phonesim works 
>>well. But we
>>also have another phonesim derived from your repo, which we had some 
>>modification
>>and enhancement in. The repo is
>>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building 
>>command is
>>same as oFono, and the execution command is "./phonesim -p 12345 -gui
>>src/default.xml".
>>
>>Thanks Yang, I've added the ./bootstrap command to the listing. I also
>>wrote down a hint to the ofono branch of phonesim.
>
> "bootstrap-configure" is a single script, rather than two different ones.
>

There is a bootstrap script also, and bootstrap-configure basically
runs it and then runs configure with a pre-set of switches.

-- 
João Paulo Rechi Vita
http://jprvita.wordpress.com/
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Howto about Qt QML and Ofono

2010-07-22 Thread Marcel Holtmann
Hi Joao,

> > http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
> > http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
> > http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
> 
>  I hope this helps people out there to create cool new phone
>  applications. You're welcome to leave a note here or on the howto 
>  directly.
> 
> >>>
> >>> Your lovely program gives a good demo on how to writing an application 
> >>> based on
> >>oFono. oFono does claim it will help on building application in a 
> >>convenient way, so
> >>the prosperity of application will definitely bring feedback to oFono and 
> >>make oFono
> >>grow better.
> >>> I have two comments on your first part: 1) configure is not in the git 
> >>> tree of oFono, so
> >>we will use bootstrap-configure instead. 2) I'm sure your phonesim works 
> >>well. But we
> >>also have another phonesim derived from your repo, which we had some 
> >>modification
> >>and enhancement in. The repo is
> >>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building 
> >>command is
> >>same as oFono, and the execution command is "./phonesim -p 12345 -gui
> >>src/default.xml".
> >>
> >>Thanks Yang, I've added the ./bootstrap command to the listing. I also
> >>wrote down a hint to the ofono branch of phonesim.
> >
> > "bootstrap-configure" is a single script, rather than two different ones.
> >
> 
> There is a bootstrap script also, and bootstrap-configure basically
> runs it and then runs configure with a pre-set of switches.

and more important with a pre-set of switches that every developer
should use since it enables proper debug and maintainer mode. With these
switches the compiler becomes your best test tool before submitting
patches.

However bootstrap and bootstrap-configure is not intended for packaging.
And that is why you only find these in the ofono.git repository and not
in the tarballs.

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Howto about Qt QML and Ofono

2010-07-22 Thread Matthias Günther
Hi Yang,

> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/

 I hope this helps people out there to create cool new phone
 applications. You're welcome to leave a note here or on the howto directly.

>>>
>>> Your lovely program gives a good demo on how to writing an application 
>>> based on
>> oFono. oFono does claim it will help on building application in a convenient 
>> way, so
>> the prosperity of application will definitely bring feedback to oFono and 
>> make oFono
>> grow better.
>>> I have two comments on your first part: 1) configure is not in the git tree 
>>> of oFono, so
>> we will use bootstrap-configure instead. 2) I'm sure your phonesim works 
>> well. But we
>> also have another phonesim derived from your repo, which we had some 
>> modification
>> and enhancement in. The repo is
>> "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building 
>> command is
>> same as oFono, and the execution command is "./phonesim -p 12345 -gui
>> src/default.xml".
>>
>> Thanks Yang, I've added the ./bootstrap command to the listing. I also
>> wrote down a hint to the ofono branch of phonesim.
> 
> "bootstrap-configure" is a single script, rather than two different ones. 

Thanks for your comment. As mentioned in the thread before, there are
two scripts. The problem with "bootstrap-configure" is, that it enables
the --enable-capng switch which may cause problems. It'll probably end
up in missing files. Therefore I chose "bootstrap" to just create the
configure script and then use it without any configuration arguments -
just the defaults. For the purpose of the howto, the debug switches are
not really necessary.

Best regards,
Matthias
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: Howto about Qt QML and Ofono

2010-07-23 Thread Zhang, Zhenhua
Hi Matthias,

Matthias Günther wrote:
> Hi Yang,
> 
>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
> 
> I hope this helps people out there to create cool new phone
> applications. You're welcome to leave a note here or on the howto
> directly. 
> 
 
 Your lovely program gives a good demo on how to writing an
 application based on 
>>> oFono. oFono does claim it will help on building application in a
>>> convenient way, so the prosperity of application will definitely
>>> bring feedback to oFono and make oFono grow better.
 I have two comments on your first part: 1) configure is not in the
 git tree of oFono, so 
>>> we will use bootstrap-configure instead. 2) I'm sure your phonesim
>>> works well. But we also have another phonesim derived from your
>>> repo, which we had some modification and enhancement in. The repo is
>>> "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The
>>> building command is same as oFono, and the execution command is
>>> "./phonesim -p 12345 -gui src/default.xml". 
>>> 
>>> Thanks Yang, I've added the ./bootstrap command to the listing. I
>>> also 
>>> wrote down a hint to the ofono branch of phonesim.
>> 
>> "bootstrap-configure" is a single script, rather than two different
>> ones. 
> 
> Thanks for your comment. As mentioned in the thread before, there are
> two scripts. The problem with "bootstrap-configure" is, that it
> enables the --enable-capng switch which may cause problems. It'll
> probably end up in missing files. Therefore I chose "bootstrap" to
> just create the configure script and then use it without any
> configuration arguments - just the defaults. For the purpose of the
> howto, the debug switches are not really necessary.

You could use 'sudo apt-get install libcap-ng-dev' or 'yum install -y 
libcap-ng-devel' to install this library.

One comment is that we normally call our project as 'oFono' instead 'Ofono'. :-)

> Best regards,
> Matthias
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

Regards,
Zhenhua
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono