Starting with development for Collect

Hello all,

I wish to make some changes to the Collect code specific to my
application. I set up the development environment in Eclipse, and got
the source for Collect from the repository. Now when I try and run the
project from eclipse, the emulator starts up alright, but then I
receive a message "ODK Collect has quit unexpectedly. Force Quit".

The Virtual Device I am using is Android 2.2 API level 8.

Can anyone guide me as to how to get Collect working on my system?

Thanks and cheers,
Anuj

hi anuj,

do you have an sd card created with your emulator?
http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment has
instructions. if that doesn't work, use 'adb logcat' to gather the
full stack trace and post it to http://dpaste.com so we can look at
it. finally, if you have more dev questions,
opendatakit-developers@googlegroups.com is where the coders hang
out...

yaw

··· On Fri, Aug 27, 2010 at 00:34, anuj wrote: > Hello all, > > I wish to make some changes to the Collect code specific to my > application. I set up the development environment in Eclipse, and got > the source for Collect from the repository. Now when I try and run the > project from eclipse, the emulator starts up alright, but then I > receive a message "ODK Collect has quit unexpectedly. Force Quit". > > The Virtual Device I am using is Android 2.2 API level 8. > > Can anyone guide me as to how to get Collect working on my system? > > Thanks and cheers, > Anuj

Hi anuj,

I just checked in a fix for Issue 112, which could cause ODK Collect to die
if the sdcard is not available or the directory structure on the sdcard did
not already exist. You will want to sync with the tip to pull the change.

If that doesn't resolve your issue, let me know.

Mitch

··· On Fri, Aug 27, 2010 at 7:14 AM, Yaw Anokwa wrote:

hi anuj,

do you have an sd card created with your emulator?
http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment has
instructions. if that doesn't work, use 'adb logcat' to gather the
full stack trace and post it to http://dpaste.com so we can look at
it. finally, if you have more dev questions,
opendatakit-developers@googlegroups.com is where the coders hang
out...

yaw

On Fri, Aug 27, 2010 at 00:34, anuj anuj.middha@gmail.com wrote:

Hello all,

I wish to make some changes to the Collect code specific to my
application. I set up the development environment in Eclipse, and got
the source for Collect from the repository. Now when I try and run the
project from eclipse, the emulator starts up alright, but then I
receive a message "ODK Collect has quit unexpectedly. Force Quit".

The Virtual Device I am using is Android 2.2 API level 8.

Can anyone guide me as to how to get Collect working on my system?

Thanks and cheers,
Anuj

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

The SD Card was the problem, creating it solved the issue.

Thanks a lot.

··· On Fri, Aug 27, 2010 at 11:33 PM, Mitch Sundt wrote:

Hi anuj,

I just checked in a fix for Issue 112, which could cause ODK Collect to die
if the sdcard is not available or the directory structure on the sdcard did
not already exist. You will want to sync with the tip to pull the change.

If that doesn't resolve your issue, let me know.

Mitch

On Fri, Aug 27, 2010 at 7:14 AM, Yaw Anokwa yanokwa@gmail.com wrote:

hi anuj,

do you have an sd card created with your emulator?
http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment has
instructions. if that doesn't work, use 'adb logcat' to gather the
full stack trace and post it to http://dpaste.com so we can look at
it. finally, if you have more dev questions,
opendatakit-developers@googlegroups.com is where the coders hang
out...

yaw

On Fri, Aug 27, 2010 at 00:34, anuj anuj.middha@gmail.com wrote:

Hello all,

I wish to make some changes to the Collect code specific to my
application. I set up the development environment in Eclipse, and got
the source for Collect from the repository. Now when I try and run the
project from eclipse, the emulator starts up alright, but then I
receive a message "ODK Collect has quit unexpectedly. Force Quit".

The Virtual Device I am using is Android 2.2 API level 8.

Can anyone guide me as to how to get Collect working on my system?

Thanks and cheers,
Anuj

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

--
anuj middha