Android: Text primary key with different name
        Posted  
        
            by Echilon
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Echilon
        
        
        
        Published on 2010-06-13T11:15:34Z
        Indexed on 
            2010/06/13
            11:22 UTC
        
        
        Read the original article
        Hit count: 311
        
I have an existing Windows app for which I'm writing an Android port. The app uses a unique string as the primary key, but the SQLite methods in Android all seem to work with integers and a column names _id, whereas my ID column isn't called this. Is there a way to let Android know I have a key with a different column name?
© Stack Overflow or respective owner