[gallery]
This application addresses partial feature which native android contacts app don't have.
"Phone NumberLookup", is a very tiny app which find the name for the corresponding number entered in the search box. wondering why would one need this feature?
ever had a look at telephone/mobile monthly invoice [slideshow]which shows only the dialed numbers not dialed names.
when users want to know which dialed number belongs to whom then open "Phone Number Lookup" enter the number n hit the Lookup button and there you go...
isn't this application simple and very useful
Checkout the screen shots from Google's Nexus One device.
aNrstr = "11833";
ListView lw = (ListView) findViewById(R.id.ListView01);
if(aNrstr.length()>0){
ContentResolver cr = getContentResolver();
Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(aNrstr));
Cursor cursor = cr.query(uri, null, null, null,null);
startManagingCursor(cursor);
String[] from = { PhoneLookup.NUMBER, PhoneLookup.DISPLAY_NAME};
int[] to = { R.id.textValue, R.id.textName};
SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.row, cursor, from, to);
lw.setAdapter(adapter);