|
Answer» Step1: CREATE Activity in Our Class and create the NEW page Step2: write a QUERY and store in variable. Step3: call the listview as Call Rule-Obj-ListView Step4: Write the another activity in Embed-ListParams Step5: create the parameter. This parameter get the sql query from PREVIOUS activity Step6: write Java method The java code in this method is Get the page from pyContentPage if page already exists. If page is not available it creates the new ContentPage. In this code get the sql query from the above parameter and pass this query and above created ContentPage as PARAMETERS to this tools.getDatabase().executeRDB(query, pagename) method. Step1: Create Activity in Our Class and create the New page Step2: write a query and store in variable. Step3: call the listview as Call Rule-Obj-ListView Step4: Write the another activity in Embed-ListParams Step5: create the parameter. This parameter get the sql query from previous activity Step6: write Java method The java code in this method is Get the page from pyContentPage if page already exists. If page is not available it creates the new ContentPage. In this code get the sql query from the above parameter and pass this query and above created ContentPage as parameters to this tools.getDatabase().executeRDB(query, pagename) method.
|