A (175)

(Tuis.) #1
CHAPTER 14: Android Content Providers: Providing Data to Applications 547

Next you will use the .put( ) method call again to place the Viceroy name into the StructuredName
database. You use the DISPLAY_NAME constant, as shown in Figure 14-43, in the StructuredName
pop-up helper dialog.


Figure 14-42. Add another .put( ) method call and then mouse over to add Import statement for the StructuredName class


Figure 14-43. Add a .put( ) method call to the StructuredName.DISPLAY_NAME database with electedViceroy

Free download pdf