Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
General Question - Phone Gap
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sanjay Patel  
View profile  
 More options May 8 2012, 8:26 pm
From: Sanjay Patel <svpatel...@gmail.com>
Date: Tue, 8 May 2012 20:26:20 -0400
Local: Tues, May 8 2012 8:26 pm
Subject: General Question - Phone Gap

Hello,

this is more of a general question - does anyone have an opinion on whether
ODK could be re-created using
something like PhoneGap (www.phonegap.com)? This would allow ODK to reach
more platforms- iphone, blackberry etc. - I have heard
you can use sensors to make use of the phone's native GPS and Camera.

Any thoughts would be welcome.
Thank you,

Sanjay Patel
www.webfirst.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yaw Anokwa  
View profile  
 More options May 8 2012, 9:17 pm
From: Yaw Anokwa <yano...@gmail.com>
Date: Tue, 8 May 2012 18:17:35 -0700
Local: Tues, May 8 2012 9:17 pm
Subject: Re: [ODK Community] General Question - Phone Gap
Sanjay,

The very first version of ODK (before it was even called ODK) did
exactly this -- it was a web page with hooks for native code. We
deployed a version of that in Uganda and ended up scrapping it and
going with native Android. Recently, we've returned to this idea and
have some very experimental code for Collect that does something
similar with HTML5 and JS.

Whether or not this is the best way forward remains to be seen. We try
to hitch ODK to promising technology trends and certainly for big
players like Google (at least on non-Android platforms) and Facebook
(on all platforms), shell apps are the way to go. In the data
collection space, Pendragon Forms
(http://pendragonsoftware.com/formsviinfo/index.html) has HTML5
support with native hooks. JQueryMobile (http://jquerymobile.com/)
also has a good head start on web forms in the mobile browser.

That said, all this technology is very young and not well-sorted. My
biggest complaint is that it's all very slow to use and results in a
sub-optimal user experience. http://sandofsky.com/blog/shell-apps.html
has a great post that lays out some of the arguments against shell
apps.

I'd love to hear what others think...

Yaw


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sardeenz  
View profile  
 More options May 8 2012, 9:58 pm
From: sardeenz <sarde...@gmail.com>
Date: Tue, 8 May 2012 21:58:27 -0400
Local: Tues, May 8 2012 9:58 pm
Subject: Re: [ODK Community] General Question - Phone Gap

I'm in the native app camp. Imho, odk should capitalize on Android toolset,
even leveraging sync adapters instead of the current roll your own upload
methods. If someone wants to make an iPhone app they should go ahead, it's
an open source app and idea. Blackberry is out. I would also like to see
the aggregate app engine side integrate with other open formats like json.
HTML5 is okay with 4g, but nothing beats native, especially if you are
without a connection in the field.
On May 8, 2012 9:18 PM, "Yaw Anokwa" <yano...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Lubell-Doughtie  
View profile  
 More options May 8 2012, 10:16 pm
From: Peter Lubell-Doughtie <pl2...@columbia.edu>
Date: Tue, 08 May 2012 22:16:08 -0400
Local: Tues, May 8 2012 10:16 pm
Subject: Re: [ODK Community] General Question - Phone Gap

I am a huge fan of the theory behind shell apps, but in my previous
experience performance has been a significant problem.  We've used
Titanium (http://www.appcelerator.com/) to build cross platform apps but
then had to spend a significant amount of time rewriting and tuning them
for performance.  The slowdowns were because we had proxied access to
native libraries, and these problems went away when writing native code.

--
Peter Lubell-Doughtie
Earth Institute, Columbia University

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Little  
View profile  
 More options May 9 2012, 4:16 am
From: Alex Little <a...@alexlittle.net>
Date: Wed, 9 May 2012 01:16:07 -0700 (PDT)
Local: Wed, May 9 2012 4:16 am
Subject: Re: General Question - Phone Gap

Hi all,

my 2cents ....

I would like to see a more shell apps approach, but as already pointed out
the technology is not quite there yet to be a dependable replacement for
native apps (maybe in the near-ish future?).

On the project I'm working on
(http://opendatakit.org/2011/10/using-odk-to-improve-maternal-care-in-...)
using ODK, we have started to use an HTML5 app (run in the mobile browser
rather than as phonegap or similar) to deliver dashboard/analytics
information (see:
http://digital-campus.org/developing-an-analytics-dashboard-for-mater...
for more info). The advantage for us is that we can allow users with or
without Android devices (such as managers/supervisors in the health
bureaus) to access this on their normal desktop/laptops, even if they have
an intermittent internet connection since the data is cached in the
browser. Admittedly, this dashboard is quite simple/read-only and doesn't
require access to device GPS, camera etc, but this approach (using a
mixture of native/shell wherever is most appropriate) seems to be working
well for us so far.

Cheers,
Alex


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitch S  
View profile  
 More options May 9 2012, 1:08 pm
From: Mitch S <mitchellsu...@gmail.com>
Date: Wed, 9 May 2012 10:08:28 -0700
Local: Wed, May 9 2012 1:08 pm
Subject: Re: [ODK Community] Re: General Question - Phone Gap

I'm actually prototyping a HTML5-based variant of ODK Collect.

PhoneGap (now the Apache Cordova incubator project) is not yet stable
enough for building reliable Android apps.  The native-features interfaces
also seem to be more complex than appears necessary; I think it may be
trying too hard to handle platforms that don't provide substantially all
the HTML5 embedded browser functionality.  There is some talk of a Cordova
2.0 which might be leaner and more appropriate.

More problematic, I've found that our Android 2.x Droid phone cannot
support jQuery or jQuery mobile-based HTML5 apps -- they end up crashing
deep in the bowels of the webpage renderer.  Android 4.0 works somewhat
better.  Gesture detection (swipeleft, swiperight) within the javascript is
a problem with both phones.

So for the prototype I've switched to zepto.js and jqTouch libraries, which
work on 2.x upward, and an ODK-specific callback mechanism for accessing
the native functionality.

Mitch

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsu...@gmail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yaw Anokwa  
View profile  
 More options May 10 2012, 10:50 am
From: Yaw Anokwa <yano...@gmail.com>
Date: Thu, 10 May 2012 07:50:40 -0700
Local: Thurs, May 10 2012 10:50 am
Subject: Re: [ODK Community] Re: General Question - Phone Gap
For those also considering Titanium's Appcelerator, Kevin Whinnery
just posted a explanation of how it differs from PhoneGap.
http://kevinwhinnery.com/post/22764624253/comparing-titanium-and-phon...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bills...@gmail.com  
View profile  
 More options Jul 26 2012, 12:09 am
From: bills...@gmail.com
Date: Wed, 25 Jul 2012 21:09:21 -0700 (PDT)
Local: Thurs, Jul 26 2012 12:09 am
Subject: Re: [ODK Community] Re: General Question - Phone Gap

Mitch, where are you on this?  I would be very interested in trying it out.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitch S  
View profile  
 More options Jul 26 2012, 12:48 pm
From: Mitch S <mitchellsu...@gmail.com>
Date: Thu, 26 Jul 2012 09:48:31 -0700
Local: Thurs, Jul 26 2012 12:48 pm
Subject: Re: [ODK Community] Re: General Question - Phone Gap

It is still very early stages. We're trying to settle on what the HTML
should look like for the form and how a new XLSForm would generate that.

It will run on Android 2.2 and newer. I haven't thought much about how to
publish data back into Aggregate, so that is broken at this point. It may
or may not publish using the OpenRosa standards -- we may instead decide to
use the synchronization API we have developed for ODK Tables, which this
would be released with.

Anything I gave you would unstable and I could not provide any support on
upgrades to more stable versions.

We are aiming to have something in an early beta condition by September.
Ping me as that gets closer, and I can point you to that code.  But expect
migrations to be somewhat painful if you decide to try out the beta.

Mitch

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsu...@gmail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vivek Singh  
View profile  
 More options Aug 24 2012, 9:12 am
From: Vivek Singh <vsi...@thoughtworks.com>
Date: Fri, 24 Aug 2012 06:12:09 -0700 (PDT)
Local: Fri, Aug 24 2012 9:12 am
Subject: Re: [ODK Community] Re: General Question - Phone Gap

Is it possible to see the code for this somewhere?
Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile   Translate to Translated (View Original)
 More options Aug 24 2012, 9:46 am
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 24 Aug 2012 06:46:00 -0700
Subject: Re: [ODK Community] Re: General Question - Phone Gap
Vivek,

The code is still in early stages as things rapidly change day to day.
Once the design has been more formalized and most of the design
choices have been worked out so the code converges we will be sharing
it. Currently the code may look radically different in 3 days and we
are in the prototype and refine mode right now.

Waylon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »