title: How to change RecordStoreException J2ME to java Android
body: <p>I have a code in J2ME with RecordStoreException</p>
  
  <pre><code>public Preferences(String recordStoreName) throws RecorStoreException
  {
      mRecordStoreName = recordStoreName;
      mHashTable = new Hashtable();
      load();
  }
  </code></pre>
  
  <p>How can I change it to java Android? Is RecordStore can be used in java Android, because there's no such a package when i try to import. Is there another way to save device id without it in Android?</p>