Astrid - Task Management Done Right
Astrid strives to be a simple and effective organization tool for Google Android phones. It comes with features like reminders, tagging, widgets, and integration with online synchronization services.
Interested in using Astrid? Search "astrid" in Android Market. Look for the smiling pink squid!
If you would like to help out with the Astrid project, you're in the right place.
Getting Started With Development
Create your own fork of Astrid by clicking on Github's Fork button above (you may have to log in first - github help).
Install the following: • git • Eclipse (preferred: Eclipse IDE for Java Developers) • Android SDK (last tested with SDK v8) • ADT Plugin for Eclipse (SDK Tools 8, Platform-tools 1, SDK Platform Android 2.3, 2.2, and 1.6)
Use git to clone your forked repositories
git clone firstname.lastname@example.org:yourgithubid/astrid.git
(see Github's instructions if you need help). Follow the Github Line Ending Help
Open up eclipse and import the astrid, astridApi, astrid-tests, facebook, and GreenDroid projects.
In Eclipse preferences -> Android build settings, set the SDK location (you installed it in step 2). At this point, there should be no compilation errors. If there are, you might have to refresh and clean the projects a few times from within eclipse
from Eclipse: project-menu -> clean -> select projects -> check "start a build immediately" if "automatic build" is not enabled
Launch the astrid project as an Android Application, or the astrid-tests project as an Android JUnit Test Suite.
Join the Astrid Power-Users List.
Read the following contributor and debugging workflow and help make Astrid better!
Sign a Contributors License Agreement and send it to astrid AT todoroo.com
Testing on a device - Debugging
How to debug/test on a USB device: (JoshuaGross Jan 14, 2011)
Plug in your device and make sure you can see it by running
If you cannot see the device, or want to restart debugging, do:
adb devices (make sure your device is listed)
adb uninstall com.todoroo.astrid.tests (you should see "Failure" if this was uninstalled already)
adb uninstall com.todoroo.astrid (you should see "Failure" if this was uninstalled already)
If you have not already, set up Run configurations in Eclipse; either under the "Run" or "Debug" menus. To test the application, set up "Android Application". To run JUnit tests, set up "Android JUnit Tests". Settings should autofill for you, you should be able to open a new configuration and run it. If you run it in debug mode, see #2 above for getting adb to work in case it is finicky.
When running unit tests: make sure to close all JUnit windows before running tests. JUnit/Eclipse/Android work together in a very, very janky way. You may get incorrect results if you do not close the window out before running tests. You have been warned.
Make sure to commit changes both to the "astrid" project while developing.
git clone email@example.com:your-github-id/astrid.git (your-github-id should obviously be replaced)
git remote add upstream git://github.com/todoroo/astrid.git
Working on new features/fixes:
git checkout -b my-new-features upstream/master
work, work, work!
git commit (a separate commit for each bug fix, feature change, style or copy edit please!)
git fetch upstream
git rebase -i upstream/master (i like to rebase -i to verify what i'm committing and squish small commits)
git push origin HEAD
then go to github and submit a pull request!
For further information, read Tim's Collaborator Guide.
For support requests, use the Astrid issue tracker. For development questions, contact timsu via e-mail.
Astrid also has an IRC channel, irc.freenode.net #astrid