Where did I put these codes on tizen studio (Help me please!)

Can I put in the config.xml?

Or I have to establish by another file like .cs or .java?


I just wondering how to use the start() method

In the config.xml file you just have to add the privilege.
In your case I think it is,
Privilege: http://tizen.org/privilege/healthinfo
The functions have to be created in a java script file
I advise you to read the necessary privileges, functions and where the application is built.
Look for a sample application to learn how to build an application with the resources you want to apply.

thanks for your reply~
Is there any sample that I can imitate?