i just want a Integer Value never duplicate in future i used it as temporary id
in sqlite until get new id from mysql
now what i used its
long temp_id = System.currentTimeMillis();
but when i want to add it to sqlite it must be an Integer so i convert it to int with
int temp idx = temp_id.intValue();
after i convert it to int did its possible to duplicate in future ? if its might duplicated any other idea for generate id never duplicate