Send feedback
Activity Types
Stay organized with collections
Save and categorize content based on your preferences.
Google Fit defines integer constant values for a set of activity types. Use these values for
consistency across apps when you insert data points of these types:
com.google.activity.sample
com.google.activity.segment
com.google.activity.summary
These constants define the activity type in the activity
field of the data points.
Activity type values
The following tables list the constant values for each activity type.
Activity Type
Integer Value
Aerobics
9
Archery
119
Badminton
10
Baseball
11
Basketball
12
Biathlon
13
Biking
1
Handbiking
14
Mountain biking
15
Road biking
16
Spinning
17
Stationary biking
18
Utility biking
19
Boxing
20
Calisthenics
21
Circuit training
22
Cricket
23
Crossfit
113
Curling
106
Dancing
24
Diving
102
Elevator
117
Elliptical
25
Ergometer
103
Escalator
118
Fencing
26
Football (American)
27
Football (Australian)
28
Football (Soccer)
29
Frisbee
30
Gardening
31
Golf
32
Guided Breathing
122
Gymnastics
33
Handball
34
HIIT
114
Hiking
35
Hockey
36
Horseback riding
37
Housework
38
Ice skating
104
In vehicle
0
Interval Training
115
Jumping rope
39
Kayaking
40
Kettlebell training
41
Kickboxing
42
Kitesurfing
43
Martial arts
44
Meditation
45
Mixed martial arts
46
Other (unclassified fitness activity)
108
P90X exercises
47
Paragliding
48
Pilates
49
Polo
50
Racquetball
51
Rock climbing
52
Rowing
53
Rowing machine
54
Rugby
55
Running
8
Jogging
56
Running on sand
57
Running (treadmill)
58
Sailing
59
Scuba diving
60
Skateboarding
61
Skating
62
Cross skating
63
Indoor skating
105
Inline skating (rollerblading)
64
Skiing
65
Back-country skiing
66
Cross-country skiing
67
Downhill skiing
68
Kite skiing
69
Roller skiing
70
Sledding
71
Snowboarding
73
Snowmobile
74
Snowshoeing
75
Softball
120
Squash
76
Stair climbing
77
Stair-climbing machine
78
Stand-up paddleboarding
79
Still (not moving)
3
Strength training
80
Surfing
81
Swimming
82
Swimming (open water)
84
Swimming (swimming pool)
83
Table tennis (ping pong)
85
Team sports
86
Tennis
87
Tilting (sudden device gravity change)
5
Treadmill (walking or running)
88
Unknown (unable to detect activity)
4
Volleyball
89
Volleyball (beach)
90
Volleyball (indoor)
91
Wakeboarding
92
Walking
7
Walking (fitness)
93
Nording walking
94
Walking (treadmill)
95
Walking (stroller)
116
Waterpolo
96
Weightlifting
97
Wheelchair
98
Windsurfing
99
Yoga
100
Zumba
101
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["\u003cp\u003eGoogle Fit provides integer constant values for various activity types to maintain consistency across applications.\u003c/p\u003e\n"],["\u003cp\u003eThese values are used within the \u003ccode\u003eactivity\u003c/code\u003e field when inserting data points using \u003ccode\u003ecom.google.activity.sample\u003c/code\u003e, \u003ccode\u003ecom.google.activity.segment\u003c/code\u003e, or \u003ccode\u003ecom.google.activity.summary\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive table lists each activity type alongside its corresponding integer value, ranging from common activities like walking and running to specialized ones like kitesurfing and snowboarding.\u003c/p\u003e\n"],["\u003cp\u003eThese constants ensure that different apps interpret and utilize activity data uniformly within the Google Fit ecosystem.\u003c/p\u003e\n"]]],[],null,["Google Fit defines integer constant values for a set of activity types. Use these values for\nconsistency across apps when you insert data points of these types:\n\n- `com.google.activity.sample`\n- `com.google.activity.segment`\n- `com.google.activity.summary`\n\nThese constants define the activity type in the `activity` field of the data points.\n\nActivity type values\n\nThe following tables list the constant values for each activity type. \n\n| Activity Type | Integer Value |\n|----------------------------------------|---------------|\n| Aerobics | 9 |\n| Archery | 119 |\n| Badminton | 10 |\n| Baseball | 11 |\n| Basketball | 12 |\n| Biathlon | 13 |\n| Biking | 1 |\n| Handbiking | 14 |\n| Mountain biking | 15 |\n| Road biking | 16 |\n| Spinning | 17 |\n| Stationary biking | 18 |\n| Utility biking | 19 |\n| Boxing | 20 |\n| Calisthenics | 21 |\n| Circuit training | 22 |\n| Cricket | 23 |\n| Crossfit | 113 |\n| Curling | 106 |\n| Dancing | 24 |\n| Diving | 102 |\n| Elevator | 117 |\n| Elliptical | 25 |\n| Ergometer | 103 |\n| Escalator | 118 |\n| Fencing | 26 |\n| Football (American) | 27 |\n| Football (Australian) | 28 |\n| Football (Soccer) | 29 |\n| Frisbee | 30 |\n| Gardening | 31 |\n| Golf | 32 |\n| Guided Breathing | 122 |\n| Gymnastics | 33 |\n| Handball | 34 |\n| HIIT | 114 |\n| Hiking | 35 |\n| Hockey | 36 |\n| Horseback riding | 37 |\n| Housework | 38 |\n| Ice skating | 104 |\n| In vehicle | 0 |\n| Interval Training | 115 |\n| Jumping rope | 39 |\n| Kayaking | 40 |\n| Kettlebell training | 41 |\n| Kickboxing | 42 |\n| Kitesurfing | 43 |\n| Martial arts | 44 |\n| Meditation | 45 |\n| Mixed martial arts | 46 |\n| Other (unclassified fitness activity) | 108 |\n| P90X exercises | 47 |\n| Paragliding | 48 |\n| Pilates | 49 |\n| Polo | 50 |\n| Racquetball | 51 |\n| Rock climbing | 52 |\n| Rowing | 53 |\n| Rowing machine | 54 |\n| Rugby | 55 |\n| Running | 8 |\n| Jogging | 56 |\n| Running on sand | 57 |\n| Running (treadmill) | 58 |\n| Sailing | 59 |\n| Scuba diving | 60 |\n| Skateboarding | 61 |\n| Skating | 62 |\n| Cross skating | 63 |\n| Indoor skating | 105 |\n| Inline skating (rollerblading) | 64 |\n| Skiing | 65 |\n| Back-country skiing | 66 |\n| Cross-country skiing | 67 |\n| Downhill skiing | 68 |\n| Kite skiing | 69 |\n| Roller skiing | 70 |\n| Sledding | 71 |\n| Snowboarding | 73 |\n| Snowmobile | 74 |\n| Snowshoeing | 75 |\n| Softball | 120 |\n| Squash | 76 |\n| Stair climbing | 77 |\n| Stair-climbing machine | 78 |\n| Stand-up paddleboarding | 79 |\n| Still (not moving) | 3 |\n| Strength training | 80 |\n| Surfing | 81 |\n| Swimming | 82 |\n| Swimming (open water) | 84 |\n| Swimming (swimming pool) | 83 |\n| Table tennis (ping pong) | 85 |\n| Team sports | 86 |\n| Tennis | 87 |\n| Tilting (sudden device gravity change) | 5 |\n| Treadmill (walking or running) | 88 |\n| Unknown (unable to detect activity) | 4 |\n| Volleyball | 89 |\n| Volleyball (beach) | 90 |\n| Volleyball (indoor) | 91 |\n| Wakeboarding | 92 |\n| Walking | 7 |\n| Walking (fitness) | 93 |\n| Nording walking | 94 |\n| Walking (treadmill) | 95 |\n| Walking (stroller) | 116 |\n| Waterpolo | 96 |\n| Weightlifting | 97 |\n| Wheelchair | 98 |\n| Windsurfing | 99 |\n| Yoga | 100 |\n| Zumba | 101 |"]]