This sounds like a bad idea, you are creating a fork of the Android API.
Did you run
make update-api make sdk
framework.jar? If not, it will not be visible to users.
Repeating 1. Please add to a separate library, not the base framework.
CLICK HERE to find out more related problems solutions.