When developers require to manipulate data on the mobile cloud service site, in this case, data insertion is an example, a public class in the main activity class must be made in order to insert data in to a table. This class must be created in the same activity where you defined mClient.