Set up guide for ODK Collect development?

Hi,

I managed to set up ODK collect in eclipse and everything is working great.
However, it took a fair number of steps to do so. I have someone with very
little experience that needs to get ODK collect running on the emulator. Is
there a step-by-step guide that can tell her how to do this? If not, there
really should be. I'd be willing to write something up that can be put on
the wiki (though I really hope I don't have to :wink: ).

Thoughts?

Cheers,
Anton

we currently don't have any instructions on how to get started with
odk collect (android, mercurial, etc) in eclipse and we'd love your
help generating those! you can probably get some of the other devs on
http://groups.google.com/group/opendatakit-developers to chip in.

what you are describing for implementers is a little different -- you
shouldn't need eclipse and all that stuff. i think we have rough
outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that
is, install the emulator, create an sd card, and then install collect
from web. are you proposing more detailed instructions to get
implementers into using collect?

路路路 On Tue, May 25, 2010 at 13:02, Anton de Winter wrote: > Hi, > I managed to set up ODK collect in eclipse and everything is working great. > However, it took a fair number of steps to do so. I have someone with very > little experience that needs to get ODK collect running on the emulator. Is > there a step-by-step guide that can tell her how to do this? If not, there > really should be. I'd be willing to write something up that can be put on > the wiki (though I really hope I don't have to ;) ). > Thoughts? > Cheers, > Anton

So you can't actually, legally anyway, access the market from the emulator
(in 1.5/1.6). Which means you have to get your Eclipse on.
Unless you've found a way around it? The outline you mention only covers
downloading the app onto your real phone and usage instructions once you've
done that.

路路路 On Tue, May 25, 2010 at 5:00 PM, Yaw Anokwa wrote:

we currently don't have any instructions on how to get started with
odk collect (android, mercurial, etc) in eclipse and we'd love your
help generating those! you can probably get some of the other devs on
http://groups.google.com/group/opendatakit-developers to chip in.

what you are describing for implementers is a little different -- you
shouldn't need eclipse and all that stuff. i think we have rough
outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that
is, install the emulator, create an sd card, and then install collect
from web. are you proposing more detailed instructions to get
implementers into using collect?

On Tue, May 25, 2010 at 13:02, Anton de Winter adewinter@dimagi.com wrote:

Hi,
I managed to set up ODK collect in eclipse and everything is working
great.
However, it took a fair number of steps to do so. I have someone with
very
little experience that needs to get ODK collect running on the emulator.
Is
there a step-by-step guide that can tell her how to do this? If not,
there
really should be. I'd be willing to write something up that can be put
on
the wiki (though I really hope I don't have to :wink: ).
Thoughts?
Cheers,
Anton

you can open the browser in the emulator then navigate to the odk
website and download the apk from there. this assumes you have install
from non-market source setting enabled.

路路路 On Tue, May 25, 2010 at 14:23, Anton de Winter wrote: > So you can't actually, legally anyway, access the market from the emulator > (in 1.5/1.6). Which means you have to get your Eclipse on. > Unless you've found a way around it? The outline you mention only covers > downloading the app onto your real phone and usage instructions once you've > done that. > > On Tue, May 25, 2010 at 5:00 PM, Yaw Anokwa wrote: >> >> we currently don't have any instructions on how to get started with >> odk collect (android, mercurial, etc) in eclipse and we'd love your >> help generating those! you can probably get some of the other devs on >> http://groups.google.com/group/opendatakit-developers to chip in. >> >> what you are describing for implementers is a little different -- you >> shouldn't need eclipse and all that stuff. i think we have rough >> outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that >> is, install the emulator, create an sd card, and then install collect >> from web. are you proposing more detailed instructions to get >> implementers into using collect? >> >> On Tue, May 25, 2010 at 13:02, Anton de Winter wrote: >> > Hi, >> > I managed to set up ODK collect in eclipse and everything is working >> > great. >> > However, it took a fair number of steps to do so. I have someone with >> > very >> > little experience that needs to get ODK collect running on the emulator. >> > Is >> > there a step-by-step guide that can tell her how to do this? If not, >> > there >> > really should be. I'd be willing to write something up that can be put >> > on >> > the wiki (though I really hope I don't have to ;) ). >> > Thoughts? >> > Cheers, >> > Anton > >

Ah that's awesome. It's exactly what I needed.

Thanks!
Anton

路路路 On Tue, May 25, 2010 at 5:26 PM, Yaw Anokwa wrote:

you can open the browser in the emulator then navigate to the odk
website and download the apk from there. this assumes you have install
from non-market source setting enabled.

On Tue, May 25, 2010 at 14:23, Anton de Winter adewinter@dimagi.com wrote:

So you can't actually, legally anyway, access the market from the
emulator
(in 1.5/1.6). Which means you have to get your Eclipse on.
Unless you've found a way around it? The outline you mention only covers
downloading the app onto your real phone and usage instructions once
you've
done that.

On Tue, May 25, 2010 at 5:00 PM, Yaw Anokwa yanokwa@gmail.com wrote:

we currently don't have any instructions on how to get started with
odk collect (android, mercurial, etc) in eclipse and we'd love your
help generating those! you can probably get some of the other devs on
http://groups.google.com/group/opendatakit-developers to chip in.

what you are describing for implementers is a little different -- you
shouldn't need eclipse and all that stuff. i think we have rough
outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that
is, install the emulator, create an sd card, and then install collect
from web. are you proposing more detailed instructions to get
implementers into using collect?

On Tue, May 25, 2010 at 13:02, Anton de Winter adewinter@dimagi.com wrote:

Hi,
I managed to set up ODK collect in eclipse and everything is working
great.
However, it took a fair number of steps to do so. I have someone
with
very
little experience that needs to get ODK collect running on the
emulator.
Is
there a step-by-step guide that can tell her how to do this? If not,
there
really should be. I'd be willing to write something up that can be
put
on
the wiki (though I really hope I don't have to :wink: ).
Thoughts?
Cheers,
Anton

I've written some instructions (attached). I don't have edit-powers to the
wiki, so feel free to add them to the existing ODK getting started page if
they pass muster.

-Anton

ODK Emu instructions for wiki.txt (1.54 KB)

路路路 On Tue, May 25, 2010 at 6:19 PM, Anton de Winter wrote:

Ah that's awesome. It's exactly what I needed.

Thanks!
Anton

On Tue, May 25, 2010 at 5:26 PM, Yaw Anokwa yanokwa@gmail.com wrote:

you can open the browser in the emulator then navigate to the odk
website and download the apk from there. this assumes you have install
from non-market source setting enabled.

On Tue, May 25, 2010 at 14:23, Anton de Winter adewinter@dimagi.com wrote:

So you can't actually, legally anyway, access the market from the
emulator
(in 1.5/1.6). Which means you have to get your Eclipse on.
Unless you've found a way around it? The outline you mention only covers
downloading the app onto your real phone and usage instructions once
you've
done that.

On Tue, May 25, 2010 at 5:00 PM, Yaw Anokwa yanokwa@gmail.com wrote:

we currently don't have any instructions on how to get started with
odk collect (android, mercurial, etc) in eclipse and we'd love your
help generating those! you can probably get some of the other devs on
http://groups.google.com/group/opendatakit-developers to chip in.

what you are describing for implementers is a little different -- you
shouldn't need eclipse and all that stuff. i think we have rough
outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that
is, install the emulator, create an sd card, and then install collect
from web. are you proposing more detailed instructions to get
implementers into using collect?

On Tue, May 25, 2010 at 13:02, Anton de Winter adewinter@dimagi.com wrote:

Hi,
I managed to set up ODK collect in eclipse and everything is working
great.
However, it took a fair number of steps to do so. I have someone
with
very
little experience that needs to get ODK collect running on the
emulator.
Is
there a step-by-step guide that can tell her how to do this? If not,
there
really should be. I'd be willing to write something up that can be
put
on
the wiki (though I really hope I don't have to :wink: ).
Thoughts?
Cheers,
Anton

Hello. Does anyone know if there is a version of android that allows people to restrict functionality by user? I am interested in using the phone more as an appliance limiting it's use to ONLY ODK (with the option of switching back to normal functionality with a password).

I remember the Berkeley Team had simply put it in airplane mode and tried to remove all applications from the desktop but ideally there would be a better solution to limiting access to other phone functions.

Thanks for your help,

Andrew

you can build a version of android that limits much of the core
functionality, but that's a fair amount of work. if you want existing
solutions, i found a few using a 'hide apps in drawer android' query.
try 'em out and let the other implementers know which worked best...

http://www.androlib.com/android.application.com-cc-applock-CtBE.aspx
http://www.androlib.com/android.application.mobi-bbase-ahome-ztF.aspx

you could also write your own launcher that only shows certain apps.
cyanogenmod's rom used to have this 'advanced launcher' that could do
that. see http://forum.xda-developers.com/showthread.php?t=540880 for
more.

all that said, i tend to prefer to manage this problem with a lighter
touch. that is, locking down the browser, or sms app might have
unintended consequences. the more the users play with the phone, the
better they are at touchscreens, and swapping batteries, and making
sure the phone isn't dropped, and all the stuff that you are training
for...

路路路 On Wed, May 26, 2010 at 06:40, Andrew Azman wrote: > Hello. Does anyone know if there is a version of android that allows people to restrict functionality by user? I am interested in using the phone more as an appliance limiting it's use to ONLY ODK (with the option of switching back to normal functionality with a password). > > I remember the Berkeley Team had simply put it in airplane mode and tried to remove all applications from the desktop but ideally there would be a better solution to limiting access to other phone functions. > > Thanks for your help, > > Andrew > >

anton,

thanks for getting this written up. i've updated the collect wiki to
point to http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment
and added other dev tips. i've also cleaned up the instructions so
they are more resilient to future changes from our friends at google.

yaw

路路路 On Tue, May 25, 2010 at 15:44, Anton de Winter wrote: > I've written some instructions (attached). I don't have edit-powers to the > wiki, so feel free to add them to the existing ODK getting started page if > they pass muster. > -Anton > > On Tue, May 25, 2010 at 6:19 PM, Anton de Winter wrote: >> >> Ah that's awesome. It's exactly what I needed. >> Thanks! >> Anton >> >> On Tue, May 25, 2010 at 5:26 PM, Yaw Anokwa wrote: >>> >>> you can open the browser in the emulator then navigate to the odk >>> website and download the apk from there. this assumes you have install >>> from non-market source setting enabled. >>> >>> On Tue, May 25, 2010 at 14:23, Anton de Winter wrote: >>> > So you can't actually, legally anyway, access the market from the >>> > emulator >>> > (in 1.5/1.6). Which means you have to get your Eclipse on. >>> > Unless you've found a way around it? The outline you mention only >>> > covers >>> > downloading the app onto your real phone and usage instructions once >>> > you've >>> > done that. >>> > >>> > On Tue, May 25, 2010 at 5:00 PM, Yaw Anokwa wrote: >>> >> >>> >> we currently don't have any instructions on how to get started with >>> >> odk collect (android, mercurial, etc) in eclipse and we'd love your >>> >> help generating those! you can probably get some of the other devs on >>> >> http://groups.google.com/group/opendatakit-developers to chip in. >>> >> >>> >> what you are describing for implementers is a little different -- you >>> >> shouldn't need eclipse and all that stuff. i think we have rough >>> >> outline at http://code.google.com/p/opendatakit/wiki/ODKCollect. that >>> >> is, install the emulator, create an sd card, and then install collect >>> >> from web. are you proposing more detailed instructions to get >>> >> implementers into using collect? >>> >> >>> >> On Tue, May 25, 2010 at 13:02, Anton de Winter wrote: >>> >> > Hi, >>> >> > I managed to set up ODK collect in eclipse and everything is working >>> >> > great. >>> >> > However, it took a fair number of steps to do so. I have someone >>> >> > with >>> >> > very >>> >> > little experience that needs to get ODK collect running on the >>> >> > emulator. >>> >> > Is >>> >> > there a step-by-step guide that can tell her how to do this? If >>> >> > not, >>> >> > there >>> >> > really should be. I'd be willing to write something up that can be >>> >> > put >>> >> > on >>> >> > the wiki (though I really hope I don't have to ;) ). >>> >> > Thoughts? >>> >> > Cheers, >>> >> > Anton >>> > >>> > >> > >