4.2.2. Adding a Favorite Search

Touch the top EditText, then enter from:deitel as the search query—the from: operator locates tweets from a specified Twitter account. Figure 4.3 shows several Twitter search operators—multiple operators can be used to construct more complex queries. A complete list can be found at

Image

Fig. 4.3 | Some Twitter search operators.

In the bottom EditText enter Deitel as the tag for the search query (Fig. 4.4(a)). This will be the short name displayed in a list in the app’s Tagged Searches section. Touch the save () button to save the search—the tag “Deitel” appears in the list under ...

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.