title: couldn't find import for class android.database.Cursor in AIDL file
body: <p>I have created a Service that will play the song in the background. I need the DataBase Cursor from the Service when the song is changed in the service.</p>
  
  <p>I have a function in the Service Which returns the Cursor of the Current Song.</p>
  
  <pre><code>public Cursor getCursor() {
      return nextmanagedCursor;
  }
  </code></pre>
  
  <p>The Problem is in the AIDL interface, when i declare the function in the AIDL interface it eclipse gives the following error.</p>
  
  <pre><code>Couldn't find import for class android.database.Cursor
  </code></pre>
  
  <p>the aidl file contents are as shown below</p>
  
  <pre><code>package com.bobcares.pixie.audio;
  
  import android.database.Cursor; /* Error in this line cannot import android.database.Cursor*/
  
  interface IAudioInterface{
  
  Cursor getCursor();
  
  }
  </code></pre>
  
  <p>Is this is the right way to use non-primitive Datatypes in the AIDL file</p>