add the api for andorid logging temperature