I want to put my Intent in a if loop. But I dont know how.
if ( intent.putExtra("extra", "on") == true)
I tried it already like this:
if ( intent.equals("extra") && intent.equals("on") == true)
But I dont really know how to implement it.
Aucun commentaire:
Enregistrer un commentaire