-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ahorn
committed
Aug 19, 2011
1 parent
2156926
commit 951ecb9
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,28 +9,32 @@ Fetch the source code with Git: | |
|
||
git clone https://[email protected]/ahorn/android-rss.git | ||
|
||
To reference this library project from within your Android application, | ||
Alternatively, you can download the sources from github.com/ahorn. | ||
|
||
To reference the downloaded library from within your Android mobile app, | ||
navigate to the <sdk>/tools/ directory and use the following command: | ||
|
||
android update project \ | ||
--target <target_ID> \ | ||
--path path/to/your/project \ | ||
--library path/to/android-rss | ||
|
||
See also Troubleshooting section below. | ||
|
||
This command appends to the "default.properties" file in your Android | ||
project a new "android.library.reference" property. The value of this | ||
new property should be the relative path to the directory which you | ||
created when you fetched the Android RSS library source code with Git. | ||
created when you fetched the Android RSS library source code. | ||
|
||
The library is compiled by the Android build framework when you build | ||
the mobile app which was specified in the --path argument above. | ||
Henceforth, android-rss is compiled when ant builds the app which was | ||
specified in the --path argument above. | ||
|
||
If you are using Git for your mobile app, then upstream changes to the | ||
RSS library could be pulled in with Git's merge-subtree feature [1]. | ||
However, Eclipse does not work using this method because it does not | ||
reference anything that is not an Eclipse project. When you try to | ||
transform android-rss into an Eclipse project you encounter errors | ||
due to the testing directory. To fix these, you have to change the | ||
source directory by editing the .classpath file to set "/src/main/java" | ||
as the source folder. | ||
|
||
[1] http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html | ||
For additional questions, see also the Troubleshooting section below. | ||
|
||
== Troubleshooting == | ||
|
||
|