How to create a jar (SDK) in AOSP?
<p>I have added a new hardware to my platform. </p>

<p>How can I create an SDK to provide some interface for developers?</p>

<p>I don't need the whole Android SDK like Google provides. It's just about my hardware - as Samsung provides gesture SDK, fingerprint SDK etc. So one can use this special SDK when you develop an app for a  Samsung phone.</p>