8.2 Test-Driving the App
Opening and Running the App
Open Android Studio and open the Twitter Searches app from the TwitterSearches
folder in the book’s examples folder, then execute the app in the AVD or on a device. This builds the project and runs the app (Fig. 8.2).
8.2.1 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 8.3 shows several Twitter search
Fig. 8.3 Some Twitter search operators
Example | Finds tweets containing |
---|---|
google ... |
Get Android How to Program, 3/e 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.