title: Titanium: Show and Create Contact Intent
body: <p>I was trying to export contacts from my application to the native android contacts. </p>
  
  <p>I found the following solution here on this site: <a href="https://stackoverflow.com/questions/9579642/titanium-how-to-add-contact-in-phone-book-in-android">Titanium: How to add Contact in Phone book in Android?</a>. </p>
  
  <p>And it kinda works. The intent gets started. Only problem is, that android does not recognize most of the Extras i put in. So almost every field is blank. It does not matter if I replace contactModel with a simple String, the result is the same.</p>
  
  <p>So i was wondering if the keys are simply wrong, but there seems no proper documentation on appcelerator. Probably something has changed over the past years or I am just missing something. Does anybody know how to do it the right way. </p>
  
  <p>Code Snippet:</p>
  
  <pre><code>if (OS_ANDROID) {
      var intent = Ti.Android.createIntent({
          action : 'com.android.contacts.action.SHOW_OR_CREATE_CONTACT',
          data : 'mailto:' + contactModel.get('contact_first_name')  + ' ' + contactModel.get('contact_last_name') 
      });
  
      intent.putExtra('email', contactModel.get('contact_email')); 
      intent.putExtra('email_type', 'Work');
      intent.putExtra('phone', contactModel.get('contact_mobile_number'));
      intent.putExtra('phone_type', 'mobile');
      intent.putExtra('name', contactModel.get('contact_first_name')  + ' ' + contactModel.get('contact_last_name') );
      intent.putExtra('address', addressModel.get('address_street') + ", " + addressModel.get('address_city'));
      intent.putExtra('address_type', 'Work'); 
  
      Ti.Android.currentActivity.startActivity(intent);
  }
  </code></pre>
  
  <p>Thx in advance. :)</p>