Get the ID of a new record inserted into a database from the returned Uri September 17, 2023 by Tarik ContentUris.parseId() converts the last path segment to a long.