can someone tell me where can i find
simple java code that runs on android studio for building simple android app that runs photon
for begginer like me ?
The example apps in the Android Cloud SDK and device setup lib are pretty close to the simplest possible Android apps that can talk to Particle devices:
Hope that helps.