I know that another application accepts intent type: vnd.android.cursor.item/postal-address
I can make it show by calling:
Uri dataUri = Uri.parse("test");
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(dataUri, "vnd.android.cursor.item/postal-address");
Question is, how to pass well formated address?
E.g. i I pass Uri dataUri = Uri.parse("content://com.android.contacts/data/2057"); it works, but I want to pass new address (not from Contacts).
UPDATE: This external application has two intent-filters:
intent-filter: action: 'android.intent.action.MAIN' category: 'android.intent.category.DEFAULT' data: mimeType: 'vnd.android.cursor.item/postal-address'
intent-filter: action: 'android.intent.action.MAIN' category: 'android.intent.category.DEFAULT' data: mimeType: 'vnd.android.cursor.item/postal-address_V2' scheme: 'content' host: 'com.android.contacts'
Thank you.