title: Custom Content Provider for Android? (Modifying Notepad Sample)
body: <p>I am trying to learn the content provider implementation and how it works. I tried the sample notepad application in Android SDK and everything is working fine. I am able to create new notes and save them and edit them.</p>
  
  <p>I tried changing this content provider to custom implementation. This is working fine. But I dont understand the below implementations</p>
  
  <p>1) why is the Notepad.java defined two times once within the folder "com.example.android.notepad" and then within "com.google.provider". </p>
  
  <p>2) How is the intent type "content://com.vinod.provider.NotePad/notes" going to the list and "content://com.vinod.provider.NotePad/notes/2" going to the edit activity? how is this controlled?</p>
  
  <p>3) in the manifest I see mime type like "vnd.android.cursor.dir/vnd.google.note". what does the vnd.android.cursor.dir and vnd.android.cursor.item stands for. And what is "vnd.google.note"</p>
  
  <p>Can some one please explain me these questions. Thank you for your time and help.</p>