[PJUG Javamail] Android Native App questions

brian walsh brian at bwalsh.com
Tue Feb 23 12:50:21 EST 2010


Rebecca:

I'm fairly active in this area right now.  Tight integration with the
contacts provider is not well documented. ;-)

This write up is useful...

http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/

>
> I am starting a small project and would like to know what are good techniques for minimizing the churn when google updates a native app. Are there any best practices for tracking my changes or tools that would help?
>

"google updates a native app" could you define what you mean here?


> Also, has anyone added a field to the existing phonebook app?  What again, are recommended practices for minimizing the amount of google code that would have to change.
>

No android source ("google code" ) should need to change ....

AndroidManifest.xml snippet

<meta-data android:name="android.provider.CONTACTS_STRUCTURE"
 android:resource="@xml/contacts" />

points to ... contacts.xml

<ContactsSource xmlns:android="http://schemas.android.com/apk/res/android">
 <ContactsDataKind
  android:icon="@drawable/icon"
  android:mimeType="vnd.android.cursor.item/vnd.com.wirfs-brock.android.profile"
  android:summaryColumn="data2"
  android:detailColumn="data3"
  android:detailSocialSummary="true" />
</ContactsSource>


More information about the Javamail mailing list