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.
-
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 (Recommended SDK Platform: Android 4.0 Google APIs) • ADT Plugin for Eclipse
-
Use git to clone your forked repositories
git clone [email protected]: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.
-
Check out the Product Roadmap and Issues, and look for something you'd want to tackle.
-
Read the following contributor and debugging workflow and help make Astrid better!
-
Sign a Contributors License Agreement and send it to tim AT astrid.com
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
adb devices
-
If you cannot see the device, or want to restart debugging, do:
adb kill-server
adb usb
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.
Setup:
git clone [email protected]:your-github-id/astrid.git
(your-github-id should obviously be replaced)
git remote add upstream [email protected]: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 general support requests, use Astrid's feedback page. For development questions, contact timsu via e-mail.