Professional Documents
Culture Documents
recording stops.
Before you try to run this app, right-click RecordSample in Project
Explorer, select Properties, go to Connect IQ, and check FitContri‐
butor under Permissions. Click OK.
Permissions
Because users and devices have such an intimate connection, the
device knows a lot about an individual user. Most of this informa‐
tion is sensitive, so Connect IQ will not let your app access this
information without permission. When you develop your app, you
need to specify which permissions it needs.
When users install your app, they’ll be notified of which permis‐
sions your app has requested. If they are not comfortable granting
those permissions, they may decide to not install your app, or may
not use certain features in it. So you should only specify the permis‐
sions your app actually needs here.
function updateFoo() {
mFooValue = mFooValue + 1;
mFooField.setData(mFooValue);
}
function onMenu() {
if( Toybox has :ActivityRecording ) {