As a rule (from what I learned), if you have an object that itself contains a list of other objects, this will be a 1 to many (or potentially many to many) relationship. To save this data, you want to use another table. In another table, you will have your primary key for the object, and then the foreign key that refers to the parent object to which it belongs. See this link for a better explanation.
Example:
CREATE TABLE User (
_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
name TEXT
);
CREATE TABLE UserPicture(
_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
userId INTEGER,
path TEXT
FOREIGN KEY(userId) REFERENCES User(_id)
);
, UserPictures ', ,
UserPicture,
userId User.
" " .
/.
, () , , ,
. , , , . UserInRole : UserID RoleID, , X Y.
, , "Android sqlite tutorial". - sqlite android database.