How to insert an id in SQLITE android?

1

I am trying to insert the same id that I get from the server database in the android database through sqlite, however, it is generating its own id, I am using auto increment in the primary key, I already tried to use unique and I already tried not to declare No one like primary key, but the error when trying to insert in the bank of the cell, only works when I put primary key, however it generates autoincrement that I do not need

    
asked by anonymous 19.05.2016 / 02:55

0 answers