Android Question How I can use Temperature sensor

jboloori

New Member
hey..
i want use Temperature sensor to show Temperature in a label
if my smart phone has this sensor then show Temperature value in label else write "sensor not found!" in label.(some devises such as samsung galaxy s4 has this sensor)

thank you!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…