Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Oscar Alvarez


On 09/12/14 11:02, Luis Falcon wrote:

Hi Oscar and team !

On Mon, 08 Dec 2014 12:34:05 -0500
Oscar Alvarez  wrote:


On 08/12/14 04:35, Luis Falcon wrote:

Hi Chris !
On Sun, 7 Dec 2014 19:49:00 -0800
Chris  wrote:


I think there are reasons to develop both. With good, robust design
(like with Bootstrap), webapp UX on a mobile device is great, so
the flask-tryton is awesome (and the other flask addons that make
UX/webapp design easy). However, there are some bonuses to an
Android app. For example, asynchronous interactions (e.g.,
poor-connectivity environments) is somewhat easier, I think, to
develop in Android. Nevertheless, got an Android developer on
hand?  I think an Android app would be great then.  =-)

Why limits this development to Android?

I agree, we can have more than one mobile environment, but at the
moment Mohamed has volunteered to do the development in Android, so I
am very happy and grateful.
So, then he can to continue the development of Tryton Android Client 
[1], it seems abandoned.


[1] https://projects.bioecoforests.com/projects/tryton-android

But, I agree with Cedk, after to analize better this topic and to do my 
research, I think that a cross-platform phone client with html5 + css + 
javascript is more flexible, and maybe more contributors join us, 
instead alone developer. I found Cordova Apache [2] seems good platform, 
for start.


[2] http://cordova.apache.org/

Remember this... many Hospital / Health Center managers and medical 
doctors don't have Android, they have iOS;)

So then Android client just work in for some employees.



That does not mean that we can have one in QT and another in HTML5 .
Actually, it would be great ! I believe all will have pros and cons.

What I have proposed is to do a POC on vital signs recording. From
there we can probably reach an agreement on putting the focus in one to
make it the "official" app for GNU Health, but it could be also that we
could share the three of them.

Best,


I propose does not limit to Android App, because it is great efforts
take advantage just for one OS (Not all people use Android), I
believe that instead App cross-plattform is right way, compatible
with Android, Blackberry, IOS, Windows Phone, Sailfish OS, Ubuntu
Touch in future :( , today is nice possible with Qt + QML +
Javascript (bye, bye slow Java).

Remember Qt tagline "Qt is most powerful way to develop
cross-plattform mobile apps" [1] and "Write once, compile everywhere."

[1] http://www.qt.io/

I am starting private litle project [2] for to create this Qt + Qml +
Javascript tryton app client, but is concept proof very raw, raw, raw
code. I cannot connect with server still :S, I am Javascript noob

[2] https://bitbucket.org/presik/presik_tactic


Just thought the same about the connectionless mode :)

Best,

On 12/07/14, Cédric Krier wrote:

On 07 Dec 19:51, Luis Falcon wrote:

Dear Mohamed
On Sun, 07 Dec 2014 19:51:51 +0100
Mouhamed Moustapha Diouf  wrote:


Hello,
thanks for replying. For sure we can have a long discussion in
why android app and not mobile web app. For us it just a matter
of ressources. We have hight skilled person for Android so
we'll be more effective.

Thanks for your positive feedback !

I think it would be great to contribute with a GNU Health app for
Android.

We've been discussing this for a while, and I came to the
conclusion that the best is to have specific tasks views,
tailored to those users who would really benefit from it.

For instance:

- Nurses : Take and record vital signs, roundings, ...
- Social workers : Verify the status of Domiciliary Units,

So, for example, in the case of vital signs, we would need "big"
buttons, simple screens, to make sure there are no typos in the
data entry and make it more effective.

But it will be more portable to do it with web application instead
of relying on a specific platform.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/











Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Oscar Alvarez


On 08/12/14 15:10, Cédric Krier wrote:

On 08 Dec 12:34, Oscar Alvarez wrote:

On 08/12/14 04:35, Luis Falcon wrote:

Hi Chris !
On Sun, 7 Dec 2014 19:49:00 -0800
Chris  wrote:


I think there are reasons to develop both. With good, robust design
(like with Bootstrap), webapp UX on a mobile device is great, so the
flask-tryton is awesome (and the other flask addons that make
UX/webapp design easy). However, there are some bonuses to an Android
app. For example, asynchronous interactions (e.g., poor-connectivity
environments) is somewhat easier, I think, to develop in Android.
Nevertheless, got an Android developer on hand?  I think an Android
app would be great then.  =-)

Why limits this development to Android?

I propose does not limit to Android App, because it is great efforts take
advantage just for one OS (Not all people use Android), I believe that
instead App cross-plattform is right way, compatible with Android,
Blackberry, IOS, Windows Phone, Sailfish OS, Ubuntu Touch in future :( ,
today is nice possible with Qt + QML + Javascript (bye, bye slow Java).

Remember Qt tagline "Qt is most powerful way to develop cross-plattform
mobile apps" [1] and "Write once, compile everywhere."

[1] http://www.qt.io/

Still HTML5 application is more portable. For example, I can not run
your test program on my FirefoxOS while I can run any HTML5 application.
And I think FirefoxOS is realy an important target for GNU Healt as it
is used for cheap devices [1]

[1] https://www.mozilla.org/en-US/firefox/os/devices/
Yes, you are right html5 is better than Qt,  but what do you think about 
build on Apache Cordova [1]?


[1] http://cordova.apache.org/

and I am sure if when you talk about web client is just sao (running 
inside a web browser),  and phones it requires open web browser?


or sao is just for desktop web client and using sao base code build 
phone app?







Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Cédric Krier
On 11 Dec 09:03, Oscar Alvarez wrote:
> On 08/12/14 15:10, Cédric Krier wrote:
> >Still HTML5 application is more portable. For example, I can not run
> >your test program on my FirefoxOS while I can run any HTML5 application.
> >And I think FirefoxOS is realy an important target for GNU Healt as it
> >is used for cheap devices [1]
> >
> >[1] https://www.mozilla.org/en-US/firefox/os/devices/
> Yes, you are right html5 is better than Qt,  but what do you think about
> build on Apache Cordova [1]?
> 
> [1] http://cordova.apache.org/

I don't know about it but with HTML5 you really not need often something
else to build application.
Generally, I just use jQuery to hide some bad design of javascript.

> and I am sure if when you talk about web client is just sao (running inside
> a web browser),  and phones it requires open web browser?
> 
> or sao is just for desktop web client and using sao base code build phone
> app?

sao is designed to be a desktop general purpose client but with this
campaign [1] (if it succeeds) sao will have some features to run smoother
on small screen. But I still think that specific web application is
needed for common tasks.

[1]
https://www.indiegogo.com/projects/sao-a-beautiful-web-client-for-tryton

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpQPa0D0oWLC.pgp
Description: PGP signature


Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Oscar Alvarez


On 11/12/14 09:45, Cédric Krier wrote:

On 11 Dec 09:03, Oscar Alvarez wrote:

On 08/12/14 15:10, Cédric Krier wrote:

Still HTML5 application is more portable. For example, I can not run
your test program on my FirefoxOS while I can run any HTML5 application.
And I think FirefoxOS is realy an important target for GNU Healt as it
is used for cheap devices [1]

[1] https://www.mozilla.org/en-US/firefox/os/devices/

Yes, you are right html5 is better than Qt,  but what do you think about
build on Apache Cordova [1]?

[1] http://cordova.apache.org/

I don't know about it but with HTML5 you really not need often something
else to build application.
Generally, I just use jQuery to hide some bad design of javascript.
Unfortunately all mobile OS requires build apps with "native" tools, and 
I think to use web browsers for open application client in phones is 
very slow (performance), because just browser one eats memory and cpu 
resources, instead native app made for example with Cordova/Phonegap 
(pure html5), doesn't require browser opened.


I think phone app target isn't initially for tryton users with hard 
work, instead for managers, ceo, directors or coordinators,  mainly it 
consults records, approbation of records, etc


This Apps was made with Phonegap (Cordova Apache), pure html5

http://phonegap.com/app/android/

I think that sao code maybe is useful for starting with Cordova. :)


and I am sure if when you talk about web client is just sao (running inside
a web browser),  and phones it requires open web browser?

or sao is just for desktop web client and using sao base code build phone
app?

sao is designed to be a desktop general purpose client but with this
campaign [1] (if it succeeds) sao will have some features to run smoother
on small screen. But I still think that specific web application is
needed for common tasks.

[1]
https://www.indiegogo.com/projects/sao-a-beautiful-web-client-for-tryton


+1, I hope put me little perk



Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Anousak Souphavanh
+1 from Laos.
On Dec 11, 2014 11:28 PM, "Oscar Alvarez" 
wrote:

>
> On 11/12/14 09:45, Cédric Krier wrote:
>
>> On 11 Dec 09:03, Oscar Alvarez wrote:
>>
>>> On 08/12/14 15:10, Cédric Krier wrote:
>>>
 Still HTML5 application is more portable. For example, I can not run
 your test program on my FirefoxOS while I can run any HTML5 application.
 And I think FirefoxOS is realy an important target for GNU Healt as it
 is used for cheap devices [1]

 [1] https://www.mozilla.org/en-US/firefox/os/devices/

>>> Yes, you are right html5 is better than Qt,  but what do you think about
>>> build on Apache Cordova [1]?
>>>
>>> [1] http://cordova.apache.org/
>>>
>> I don't know about it but with HTML5 you really not need often something
>> else to build application.
>> Generally, I just use jQuery to hide some bad design of javascript.
>>
> Unfortunately all mobile OS requires build apps with "native" tools, and I
> think to use web browsers for open application client in phones is very
> slow (performance), because just browser one eats memory and cpu resources,
> instead native app made for example with Cordova/Phonegap (pure html5),
> doesn't require browser opened.
>
> I think phone app target isn't initially for tryton users with hard work,
> instead for managers, ceo, directors or coordinators,  mainly it consults
> records, approbation of records, etc
>
> This Apps was made with Phonegap (Cordova Apache), pure html5
>
> http://phonegap.com/app/android/
>
> I think that sao code maybe is useful for starting with Cordova. :)
>
>  and I am sure if when you talk about web client is just sao (running
>>> inside
>>> a web browser),  and phones it requires open web browser?
>>>
>>> or sao is just for desktop web client and using sao base code build phone
>>> app?
>>>
>> sao is designed to be a desktop general purpose client but with this
>> campaign [1] (if it succeeds) sao will have some features to run smoother
>> on small screen. But I still think that specific web application is
>> needed for common tasks.
>>
>> [1]
>> https://www.indiegogo.com/projects/sao-a-beautiful-web-client-for-tryton
>>
>>  +1, I hope put me little perk
>
>


Re: [Health-dev] Androit application for Gnu Health

2014-12-11 Thread Cédric Krier
On 11 Dec 11:28, Oscar Alvarez wrote:
> 
> On 11/12/14 09:45, Cédric Krier wrote:
> >On 11 Dec 09:03, Oscar Alvarez wrote:
> >>On 08/12/14 15:10, Cédric Krier wrote:
> >>>Still HTML5 application is more portable. For example, I can not run
> >>>your test program on my FirefoxOS while I can run any HTML5 application.
> >>>And I think FirefoxOS is realy an important target for GNU Healt as it
> >>>is used for cheap devices [1]
> >>>
> >>>[1] https://www.mozilla.org/en-US/firefox/os/devices/
> >>Yes, you are right html5 is better than Qt,  but what do you think about
> >>build on Apache Cordova [1]?
> >>
> >>[1] http://cordova.apache.org/
> >I don't know about it but with HTML5 you really not need often something
> >else to build application.
> >Generally, I just use jQuery to hide some bad design of javascript.
> Unfortunately all mobile OS requires build apps with "native" tools,

That's wrong. For example, there is FirefoxOS.
And it should also work for Android:
https://hacks.mozilla.org/2014/03/better-integration-for-open-web-apps-on-android/
And it seems Mozilla is working with cordova to make it work on iOS:
https://hacks.mozilla.org/2013/10/progress-report-on-cross-platform-open-web-apps/

> and I
> think to use web browsers for open application client in phones is very slow
> (performance), because just browser one eats memory and cpu resources,
> instead native app made for example with Cordova/Phonegap (pure html5),
> doesn't require browser opened.

And what do you think render the HTML5?

> I think phone app target isn't initially for tryton users with hard work,
> instead for managers, ceo, directors or coordinators,  mainly it consults
> records, approbation of records, etc
> 
> This Apps was made with Phonegap (Cordova Apache), pure html5
> 
> http://phonegap.com/app/android/
> 
> I think that sao code maybe is useful for starting with Cordova. :)

I don't think.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpfsh7iznFHK.pgp
Description: PGP signature