function code available to content provider

error in java function removed