Programming on pi

I’m new to Raspberry Pi 2. i know a little python and wanted to write a program that will read some information from a temperature sensor then write it to a Virtual pin so i can read it on my Android with the Blynk app. How do i go about doing this. seems like everyone here uses Arduino so I’m having trouble finding out how to code with virtual pins and Blynk stuff. I also now java. So eather or works for me.

You sure you searched hard enough?

Try ‘raspberry virtual’ in the search…

its still not makings sense to me? when programming with java don’t i have to #import <someFile.h> so i can write to digital pins and such?