How can i create plugin of android java library in unity

Hi Friends,
I want to use my android java library in unity.is it possible ?
if yes then please give me some example of it. and share some links about it.

http://www.vortech.net/2013/03/accessing-the-android-activity-context-in-unity3d/