Wei-Meng Lee's Android Application Development Cookbook: 93 Recipes for PDF

The element in this case specifies the MIME media type that the activity is capable of handling. com"); startActivity(i); Note that the setType() method automatically clears any data you set using the setData() method; hence, you do not need to use the setData() method. To pass data to the activity in this case, you can use the putExtra() method.

Download PDF sample

Android Application Development Cookbook: 93 Recipes for Building Winning Apps by Wei-Meng Lee


by Jason
4.3

Rated 4.83 of 5 – based on 39 votes