• Phone Information Disclosure
Furthermore, critical information is user's phone
contents. We also give an attack scenario about it in the
following section. In our sample code, we first use
getContentResolver to return a ContentResolver instance
for user's application's package and also use
getColumnIndex(String columnName) to return the zero
based index for the given colunm name or -1 if the column
doesn't exist. Otherwise, we rely on getCount which
means how many items are in the data set represented by
this Adapter and moveToNext which can move the cursor
to the next row. The code is presented in Figure 1