Get instance ID from cursor

Hi @alimomin
We're glad you're here. When you get a chance, please introduce yourself on this forum thread.

Your cursor should contain columns like:
Screenshot from 2021-01-04 09-24-37
saved instance id is in _id column, what else do you need?
If you are not sure how to access those values you can take a look at CollectTester and its ListActivity;