(In case it matters, these are Java Android projects)
Project A is a library project.
Project B depends on A
Eclipse Mars Milestone 5 (4.5.0M5) has Multiproject-support. You only need to import "Existing Project" from Subfolder.