Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

check if intent has extras

Intent intent = getIntent();

if (intent.hasExtra("bookUrl")) {
    bookUrl = b.getString("bookUrl");
} else {
   // Do something else
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #intent #extras
ADD COMMENT
Topic
Name
3+5 =