Use dropIndex to drop an index from an MBO table located on the device database.
/** @param entity the EntityMetaData for the table @param name the name of the index */ public static void dropIndex(EntityMetaData entity, String name)
SampleDB.closeDBConnetion(); SampleDB.dropIndex(SampleMBO.getMetaData(), "sampleIndex");