-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- test
- new-login-email-flow-v1
- jp-17.6
- jp-17.5
- jp-0.3
- jp-0.2
- jetpack/17.6-rc-3
- jetpack/17.6-rc-2
- jetpack/17.6-rc-1
- alpha-301
- alpha-300
- alpha-299
- alpha-298
- alpha-297
- alpha-296
- alpha-295
- alpha-294
- alpha-293
- alpha-292
- alpha-291
- alpha-290
- alpha-289
- alpha-288
- alpha-287
- alpha-286
- alpha-285
- alpha-284
- alpha-283
- alpha-282
- alpha-281
- alpha-280
- alpha-279
- alpha-278
- alpha-277
- alpha-276
- alpha-275
- alpha-274
- alpha-273
- alpha-271
- alpha-270
- alpha-269
- alpha-268
- alpha-267
- alpha-266
- alpha-265
- alpha-264
- alpha-263
- alpha-262
- alpha-261
- alpha-260
- alpha-259
- alpha-258
- alpha-257
- alpha-256
- alpha-255
- alpha-254
- alpha-253
- alpha-252
- alpha-251
- alpha-250
- alpha-249
- alpha-248
- alpha-247
- alpha-246
- alpha-245
- alpha-244
- alpha-243
- alpha-242
- alpha-241
- alpha-240
- alpha-239
- alpha-238
- alpha-237
- alpha-236
- alpha-235
- alpha-234
- alpha-233
- alpha-232
- alpha-231
- alpha-230
- alpha-229
- alpha-228
- alpha-227
- alpha-226
- alpha-225
- alpha-224
- alpha-223
- alpha-222
- alpha-221
- alpha-220
- alpha-219
- alpha-218
- alpha-217
- alpha-216
- alpha-215
- alpha-214
- alpha-213
- alpha-212
- alpha-211
- alpha-210
- alpha-209
- alpha-208
- alpha-207
- alpha-206
- alpha-205
- alpha-204
- alpha-203
- alpha-202
- alpha-201
- alpha-200
- alpha-199
- alpha-198
- alpha-197
- alpha-196
- alpha-195
- alpha-194
- alpha-193
- alpha-192
- alpha-191
- alpha-190
- alpha-189
- alpha-188
- alpha-187
- alpha-186
- alpha-185
- alpha-184
- alpha-183
- alpha-182
- alpha-181
- alpha-180
- alpha-179
- alpha-178
- alpha-177
- alpha-176
- alpha-175
- alpha-174
- alpha-173
- alpha-172
- alpha-171
- alpha-170
- alpha-169
- alpha-168
- alpha-167
- alpha-166
- alpha-165
- alpha-164
- alpha-163
- alpha-162
- alpha-161
- alpha-160
- alpha-159
- alpha-158
- alpha-157
- alpha-156
- alpha-155
- alpha-154
- alpha-153
- alpha-152
- alpha-151
- alpha-150
- alpha-149
- alpha-148
- alpha-147
- alpha-146
- alpha-145
- alpha-143
- alpha-142
- alpha-141
- alpha-140
- alpha-139
- alpha-138
- alpha-137
- alpha-136
- alpha-135
- alpha-134
- alpha-133
- alpha-132
- alpha-131
- alpha-130
- alpha-129
- alpha-128
- alpha-127
- alpha-126
- alpha-125
- alpha-124
- alpha-123
- alpha-122
- alpha-121
- alpha-120
- alpha-119
- alpha-118
- alpha-117
- alpha-116
- alpha-115
- alpha-114
- alpha-113
- alpha-112
- alpha-111
- alpha-110
- alpha-108
- alpha-106
- alpha-105
- alpha-102
- alpha-101
- alpha-100
- alpha-97
- alpha-95
- alpha-92
- alpha-91
- alpha-90
- alpha-89
- alpha-87
- alpha-86
- alpha-85
- alpha-84
- alpha-83
- alpha-81
- alpha-80
- alpha-79
- alpha-78
- alpha-77
- alpha-76
- alpha-75
- alpha-74
- alpha-73
- alpha-72
- alpha-71
- alpha-70
- alpha-69
- alpha-68
- alpha-66
- alpha-65
- alpha-64
- alpha-63
- alpha-62
- alpha-61
- alpha-60
- alpha-59
- alpha-58
- alpha-57
- alpha-55
- alpha-54
- alpha-53
- alpha-52
- alpha-51
- alpha-50
- alpha-48
- alpha-47
- alpha-45
- alpha-43
- alpha-42
- alpha-41
- alpha-40
- alpha-39
- alpha-38
- alpha-36
- alpha-35
- alpha-34
- alpha-32
- alpha-31
- alpha-30
- alpha-28
- alpha-25
- alpha-23
- alpha-21
- alpha-20
- alpha-19
- alpha-18
- alpha-17
- alpha-16
- alpha-13
- alpha-11
- alpha-10
- alpha-9
- alpha-8
- alpha-7
- alpha-6
- alpha-5
- alpha-4
- alpha-3
- alpha-2
- alpha-1
- 25.5
- 25.5-rc-1
- 25.4
- 25.4-rc-1
- 25.3-rc-1
- 25.2.1
- 25.2
- 25.2-rc-2
- 25.2-rc-1
- 25.1
- 25.1-rc-4
- 25.1-rc-3
- 25.1-rc-2
- 25.1-rc-1
- 25.0
- 25.0-rc-1
- 24.9
- 24.9-rc-2
- 24.9-rc-1
- 24.8
- 24.8-rc-3
- 24.8-rc-2
- 24.8-rc-1
- 24.7
- 24.7-rc-3
- 24.7-rc-2
- 24.7-rc-1
- 24.6
- 24.6-rc-2
- 24.6-rc-1
- 24.5
- 24.5-rc-1
- 24.4
- 24.4-rc-2
- 24.4-rc-1
- 24.3.1
- 24.3
- 24.3-rc-1
- 24.2
- 24.2-rc-2
- 24.2-rc-1
- 24.1
- 24.1-rc-3
- 24.1-rc-2
- 24.1-rc-1
- 24.0.2
- 24.0.1
- 24.0
- 24.0-rc-1
- 23.9
- 23.9-rc-3
- 23.9-rc-2
- 23.9-rc-1
- 23.8.1
- 23.8
- 23.8-rc-5
- 23.8-rc-4
- 23.8-rc-3
- 23.8-rc-2
- 23.8-rc-1
- 23.7.1
- 23.7
- 23.7-rc-2
- 23.7-rc-1
- 23.6
- 23.6-rc-1
- 23.5
- 23.5-rc-2
- 23.5-rc-1
- 23.4
- 23.4-rc-3
- 23.4-rc-2
- 23.4-rc-1
- 23.3.1
- 23.3
- 23.3-rc-2
- 23.3-rc-1
- 23.2
- 23.2-rc-1
- 23.1
- 23.1-rc-3
- 23.1-rc-2
- 23.1-rc-1
- 23.0
- 23.0-rc-2
- 23.0-rc-1
- 22.9
- 22.9-rc-1
- 22.8
- 22.8-rc-3
- 22.8-rc-2
- 22.8-rc-1
- 22.7
- 22.7-rc-3
- 22.7-rc-2
- 22.7-rc-1
- 22.6
- 22.6-rc-3
- 22.6-rc-2
- 22.6-rc-1
- 22.5
- 22.5-rc-2
- 22.5-rc-1
- 22.4
- 22.4-rc-2
- 22.4-rc-1
- 22.3
- 22.3-rc-1
- 22.2
- 22.2-rc-4
- 22.2-rc-3
- 22.2-rc-2
- 22.2-rc-1
- 22.1
- 22.1-rc-5
- 22.1-rc-4
- 22.1-rc-3
- 22.1-rc-2
- 22.1-rc-1
- 22.0.1
- 22.0
- 22.0-rc-3
- 22.0-rc-2
- 22.0-rc-1
- 21.9.1
- 21.9
- 21.9-rc-3
- 21.9-rc-2
- 21.9-rc-1
- 21.8
- 21.8-rc-2
- 21.8-rc-1
- 21.7
- 21.7-rc-2
- 21.7-rc-1
- 21.6
- 21.6-rc-2
- 21.6-rc-1
- 21.5
- 21.5-rc-1
- 21.4
- 21.4-rc-2
- 21.4-rc-1
- 21.3
- 21.3-rc-6
- 21.3-rc-3
- 21.3-rc-2
- 21.3-rc-1
- 21.2.1
- 21.2
- 21.2-rc-3
- 21.2-rc-2
- 21.2-rc-1
- 21.1
- 21.1-rc-3
- 21.1-rc-2
- 21.1-rc-1
- 21.0
- 21.0-rc-3
- 21.0-rc-2
- 21.0-rc-1
- 20.9
- 20.9-rc-3
- 20.9-rc-2
- 20.9-rc-1
- 20.8.1
- 20.8
- 20.8-rc-3
- 20.8-rc-2
- 20.8-rc-1
- 20.7
- 20.7-rc-4
- 20.7-rc-3
- 20.7-rc-2
- 20.6.1
- 20.6
- 20.6-rc-3
- 20.6-rc-2
- 20.6-rc-1
- 20.5
- 20.5-rc-2
- 20.5-rc-1
- 20.4
- 20.4-rc-2
- 20.4-rc-1
- 20.3
- 20.3-rc-2
- 20.3-rc-1
- 20.2
- 20.2-rc-4
- 20.2-rc-3
- 20.2-rc-2
- 20.2-rc-1
- 20.1.1
- 20.1
- 20.1-rc-3
- 20.1-rc-2
- 20.1-rc-1
- 20.0
- 20.0-rc-2
- 20.0-rc-1
- 19.9
- 19.9-rc-4
- 19.9-rc-3
- 19.9-rc-2
- 19.9-rc-1
- 19.8.1
- 19.8
- 19.8-rc-3
- 19.8-rc-2
- 19.8-rc-1
- 19.7.1
- 19.7
- 19.7-rc-4
- 19.7-rc-3
- 19.7-rc-2
- 19.7-rc-1
- 19.6
- 19.6-rc-3
- 19.6-rc-2
- 19.6-rc-1
- 19.5
- 19.5-rc-4
- 19.5-rc-3
- 19.5-rc-2
- 19.5-rc-1
- 19.4
- 19.4-rc-2
- 19.4-rc-1
- 19.3
- 19.3-rc-2
- 19.3-rc-1
- 19.2
- 19.2-rc-3
- 19.2-rc-2
- 19.2-rc-1
- 19.1.1
- 19.1
- 19.1-rc-3
- 19.1-rc-2
- 19.1-rc-1
- 19.0.1
- 19.0
- 19.0-rc-4
- 19.0-rc-3
- 19.0-rc-2
- 19.0-rc-1
- 18.9
- 18.9-rc-2
- 18.9-rc-1
- 18.8
- 18.8-rc-2
- 18.8-rc-1
- 18.7
- 18.7-rc-2
- 18.7-rc-1
- 18.6
- 18.6-rc-1
- 18.5
- 18.5-rc-2
- 18.5-rc-1
- 18.4
- 18.4-rc-3
- 18.4-rc-2
- 18.4-rc-1
- 18.3
- 18.3-rc-3
- 18.3-rc-2
- 18.3-rc-1
- 18.2.1
- 18.2
- 18.2-rc-3
- 18.2-rc-2
- 18.2-rc-1
- 18.1
- 18.1-rc-2
- 18.1-rc-1
- 18.0
- 18.0-rc-3
- 18.0-rc-2
- 18.0-rc-1
- 17.9.1
- 17.9
- 17.9-rc-4
- 17.9-rc-3
- 17.9-rc-2
- 17.9-rc-1
- 17.8
- 17.8-rc-3
- 17.8-rc-2
- 17.8-rc-1
- 17.7
- 17.7-rc-2
- 17.7-rc-1
- 17.6.1
- 17.6
- 17.6-rc-4
- 17.6-rc-3
- 17.6-rc-2
- 17.6-rc-1
- 17.5
- 17.5-rc-1
- 17.4
- 17.4-rc-3
- 17.4-rc-2
- 17.4-rc-1
- 17.3.2
- 17.3.1
- 17.3
- 17.3-rc-1
- 17.2
- 17.2-rc-3
- 17.2-rc-2
- 17.2-rc-1
- 17.1
- 17.1-rc-4
- 17.1-rc-3
- 17.1-rc-2
- 17.1-rc-1
- 17.0
- 17.0-rc-2
- 17.0-rc-1
- 16.9
- 16.9-rc-3
- 16.9-rc-2
- 16.9-rc-1
- 16.8.1
- 16.8
- 16.8-rc-3
- 16.8-rc-2
- 16.8-rc-1
- 16.7
- 16.7-rc-7
- 16.7-rc-6
- 16.7-rc-5
- 16.7-rc-4
- 16.7-rc-3
- 16.7-rc-1
- 16.6
- 16.6-rc-2
- 16.6-rc-1
- 16.5
- 16.5-rc-3
- 16.5-rc-2
- 16.5-rc-1
- 16.4
- 16.4-rc-3
- 16.4-rc-2
- 16.4-rc-1
- 16.3
- 16.3-rc-3
- 16.3-rc-2
- 16.3-rc-1
- 16.2
- 16.2-rc-9
- 16.2-rc-2
- 16.2-rc-1
- 16.1
- 16.1-rc-4
- 16.1-rc-3
- 16.1-rc-2
- 16.1-rc-1
- 16.0.1
- 16.0
- 16.0-rc-4
- 16.0-rc-3
- 16.0-rc-2
- 16.0-rc-1
- 15.9.2
- 15.9.1
- 15.9
- 15.9-rc-2
- 15.9-rc-1
- 15.8.1
- 15.8
- 15.8-rc-2
- 15.8-rc-1
- 15.7
- 15.7-rc-4
- 15.7-rc-3
- 15.7-rc-2
- 15.7-rc-1
- 15.6
- 15.6-rc-9
- 15.6-rc-7
- 15.6-rc-6
- 15.6-rc-5
- 15.6-rc-2
- 15.6-rc-1
- 15.5.1
- 15.5
- 15.5-rc-991
- 15.5-rc-99
- 15.5-rc-9
- 15.5-rc-8
- 15.5-rc-7
- 15.5-rc-6
- 15.5-rc-3
- 15.5-rc-2
- 15.5-rc-1
- 15.4.1
- 15.4
- 15.4-rc-2
- 15.4-rc-1
- 15.3
- 15.3-rc-2
- 15.3-rc-1
- 15.2.1
- 15.2
- 15.2-rc-2
- 15.2-rc-1
- 15.1
- 15.1-rc-2
- 15.1-rc-1
- 15.0
- 15.0-rc-3
- 15.0-rc-2
- 15.0-rc-1
- 14.9
- 14.9-rc-3
- 14.9-rc-2
- 14.9-rc-1
- 14.8
- 14.8-rc-3
- 14.8-rc-2
- 14.8-rc-1
- 14.7.1
- 14.7
- 14.7-rc-3
- 14.7-rc-2
- 14.7-rc-1
- 14.6.1
- 14.6
- 14.6-rc-2
- 14.6-rc-1
- 14.5
- 14.5-rc-2
- 14.5-rc-1
- 14.4.1
- 14.4
- 14.4-rc-1
- 14.3
- 14.3-rc-2
- 14.3-rc-1
- 14.2
- 14.2-rc-2
- 14.2-rc-1
- 14.1
- 14.1-rc-2
- 14.1-rc-1
- 14.0
- 14.0-rc-3
- 14.0-rc-2
- 14.0-rc-1
- 13.9
- 13.9-rc-2
- 13.9-rc-1
- 13.8
- 13.8-rc-2
- 13.8-rc-1
- 13.7
- 13.7-rc-2
- 13.7-rc-1
- 13.6
- 13.6-rc-3
- 13.6-rc-2
- 13.6-rc-1
- 13.5
- 13.5-rc-2
- 13.5-rc-1
- 13.4
- 13.4-rc-1
- 13.3
- 13.3-rc-2
- 13.3-rc-1
- 13.2
- 13.2-rc-1
- 13.1
- 13.1-rc-2
- 13.1-rc-1
- 13.0.1
- 13.0
- 13.0-rc-3
- 13.0-rc-2
- 13.0-rc-1
- 12.9
- 12.9-rc-3
- 12.9-rc-2
- 12.9-rc-1
- 12.8
- 12.8-rc-3
- 12.8-rc-2
- 12.8-rc-1
- 12.7.1
- 12.7
- 12.7-rc-3
- 12.7-rc-2
- 12.7-rc-1
- 12.6
- 12.6-rc-2
- 12.6-rc-1
- 12.5
- 12.5-rc-1
- 12.4
- 12.4-rc-3
- 12.4-rc-2
- 12.4-rc-1
- 12.3.2
- 12.3.1
- 12.3
- 12.3-rc-2
- 12.3-rc-1
- 12.2
- 12.2-rc-4
- 12.2-rc-3
- 12.2-rc-2
- 12.2-rc-1
- 12.1.2
- 12.1.1
- 12.1
- 12.1-rc-4
- 12.1-rc-3
- 12.1-rc-2
- 12.1-rc-1
- 12.0
- 12.0-rc-2
- 12.0-rc-1
- 11.9
- 11.9-rc-1
- 11.8
- 11.8-rc-3
- 11.8-rc-2
- 11.8-rc-1
- 11.7
- 11.7-rc-1
- 11.6
- 11.6-rc-4
- 11.6-rc-3
- 11.6-rc-2
- 11.6-rc-1
- 11.5.2
- 11.5.1
- 11.5
- 11.5-rc1
- 11.4
- 11.4-rc-3
- 11.4-rc-2
- 11.4-rc-1
- 11.3
- 11.3-rc-2
- 11.3-rc-1
- 11.2
- 11.2-rc-2
- 11.2-rc-1
- 11.1.1
- 11.1
- 11.1-rc-2
- 11.1-rc-1
- 11.0
- 11.0-rc-2
- 11.0-rc-1
- 10.9.4
- 10.9.3
- 10.9.2
- 10.9.1
- 10.9
- 10.9-rc-3
- 10.9-rc-2
- 10.9-rc-1
- 10.8
- 10.8-rc-1
- 10.7
- 10.7-rc-2
- 10.7-rc-1
- 10.6
- 10.6-rc-2
- 10.6-rc-1
- 10.5.2
- 10.5.1
- 10.5.1-rc1
- 10.5
- 10.5-rc-3
- 10.5-rc-2
- 10.5-rc-1
- 10.4
- 10.4-rc-3
- 10.4-rc-2
- 10.4-rc-1
- 10.3.1
- 10.3
- 10.3-rc-1
- 10.2
- 10.2-rc-2
- 10.2-rc-1
- 10.1
- 10.1-rc-2
- 10.1-rc-1
- 10.0
- 9.9
- 9.9-rc-1
- 9.8
- 9.7
- 9.7-rc-2
- 9.7-rc-1
- 9.6
- 9.5
- 9.5-rc-2
- 9.5-rc-1
- 9.4
- 9.3
- 9.2
- 9.1
- 9.1-rc-3
- 9.1-rc-2
- 9.1-rc-1
- 9.0.1
- 9.0
- 8.9
- 8.9-rc-1
- 8.8
- 8.8-rc-2
- 8.8-rc-1
- 8.7
- 8.5-rc-3
- 8.5-rc-1
- 8.4.1
- 8.4
- 8.4-rc-3
- 8.4-rc-2
- 8.4-rc-1
- 8.3.1
- 8.3
- 8.3-rc-1
- 8.2
- 8.2-rc-2
- 8.2-rc-1
- 8.1
- 8.1-rc-3
- 8.1-rc-2
- 8.1-rc-1
- 8.0
- 8.0-rc-3
- 8.0-rc-2
- 8.0-rc-1
- 7.9.1
- 7.9
- 7.9-rc-2
- 7.9-rc-1
- 7.8
- 7.8-rc-2
- 7.8-rc-1
- 7.7.1
- 7.7
- 7.6
- 7.6-rc-2
- 7.6-rc-1
- 7.5.1
- 7.5
- 7.5-rc-1
- 7.4
- 7.4-rc-2
- 7.4-rc-1
- 7.3
- 7.3-rc-5
- 7.3-rc-4
- 7.3-rc-3
- 7.3-rc-2
- 7.3-rc-1
- 7.2.1
- 7.2
- 7.2-rc-2
- 7.2-rc-1
- 7.1
- 7.1-rc-3
- 7.1-rc-2
- 7.1-rc-1
- 7.0
- 7.0-rc-4
- 7.0-rc-3
- 7.0-rc-2
- 7.0-rc-1
- 6.9.1
- 6.9
- 6.8
- 6.7
- 6.6
- 6.5
- 6.4
- 6.3
- 6.2
- 6.1
- 6.0
- 5.9
- 5.8.1
- 5.8
- 5.7
- 5.6.1
- 5.6
- 5.5.1
- 5.5
- 5.4.2
- 5.4.1
- 5.4
- 5.3
- 5.2
- 5.1.1
- 5.1
- 5.0
- 4.9
- 4.8.1
- 4.8
- 4.7.1
- 4.7
- 4.6.1
- 4.6
- 4.5.2
- 4.5.1
- 4.5
- 4.4.2
- 4.4.1
- 4.4
- 4.3.2
- 4.3
- 4.3-rc1
- 4.2.1
- 4.2
- 4.1.1
- 4.1
- 4.0
- 0l
0 parents
commit fc65662
Showing
27 changed files
with
626 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# OS X generated file | ||
.DS_Store | ||
|
||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
bin/ | ||
gen/ | ||
build/ | ||
*/build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
.settings/ | ||
.classpath | ||
.project | ||
|
||
# Intellij project files | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# Gradle | ||
.gradle/ | ||
gradle.properties | ||
|
||
# Generated by gradle | ||
crashlytics.properties | ||
|
||
# Generated by Crashlytics | ||
WordPress/src/main/res/values/com_crashlytics_export_strings.xml | ||
|
||
# Silver Searcher ignore file | ||
.agignore | ||
|
||
# Monkey runner settings | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# WordPress-Android-Editor | ||
|
||
## Introduction | ||
|
||
The WordPress-Android-Editor is the text editor used in the [WordPress Android app](https://github.com/wordpress-mobile/WordPress-Android) to create and edit pages & posts. In short it's a simple, straightforward way to visually edit HTML. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.0.0-rc4' | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 21 | ||
buildToolsVersion "21.1.2" | ||
|
||
defaultConfig { | ||
minSdkVersion 15 | ||
targetSdkVersion 21 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:appcompat-v7:21.0.3' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Users/max/work/android-sdk-mac/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} |
13 changes: 13 additions & 0 deletions
13
editor/src/androidTest/java/org/wordpress/editor/ApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.wordpress.editor; | ||
|
||
import android.app.Application; | ||
import android.test.ApplicationTestCase; | ||
|
||
/** | ||
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> | ||
*/ | ||
public class ApplicationTest extends ApplicationTestCase<Application> { | ||
public ApplicationTest() { | ||
super(Application.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.wordpress.editor" > | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:label="@string/app_name" > | ||
<activity | ||
android:name=".EditorActivity" | ||
android:label="@string/app_name" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
82 changes: 82 additions & 0 deletions
82
editor/src/main/java/org/wordpress/editor/EditorActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package org.wordpress.editor; | ||
|
||
import android.annotation.SuppressLint; | ||
import android.content.res.AssetManager; | ||
import android.os.Bundle; | ||
import android.support.v7.app.ActionBarActivity; | ||
import android.util.Log; | ||
import android.webkit.ConsoleMessage; | ||
import android.webkit.JsResult; | ||
import android.webkit.WebChromeClient; | ||
import android.webkit.WebSettings; | ||
import android.webkit.WebView; | ||
import android.webkit.WebViewClient; | ||
|
||
import java.io.BufferedReader; | ||
import java.io.IOException; | ||
import java.io.InputStream; | ||
import java.io.InputStreamReader; | ||
|
||
public class EditorActivity extends ActionBarActivity { | ||
WebView mWebView; | ||
|
||
@SuppressLint("SetJavaScriptEnabled") | ||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_editor); | ||
mWebView = (WebView) findViewById(R.id.webview); | ||
WebSettings webSettings = mWebView.getSettings(); | ||
webSettings.setJavaScriptEnabled(true); | ||
webSettings.setDefaultTextEncodingName("utf-8"); | ||
mWebView.getSettings().setJavaScriptEnabled(true); | ||
mWebView.setWebViewClient(new WebViewClient() { | ||
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { | ||
Log.e("WordPress-Editor", description); | ||
} | ||
}); | ||
mWebView.setWebChromeClient(new WebChromeClient() { | ||
public boolean onConsoleMessage(ConsoleMessage cm) { | ||
Log.e("WordPress-Editor", cm.message() + " -- From line " + cm.lineNumber() + " of " + cm.sourceId()); | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean onJsAlert(WebView view, String url, String message, JsResult result) { | ||
Log.e("WordPress-Editor", message); | ||
return true; | ||
} | ||
|
||
@Override | ||
public void onConsoleMessage(String message, int lineNumber, String sourceId) { | ||
Log.e("WordPress-Editor", message + " -- from line " + lineNumber + " of " + sourceId); | ||
} | ||
}); | ||
String htmlEditor = getHtmlEditor(); | ||
mWebView.loadDataWithBaseURL("file:///android_asset/", htmlEditor, "text/html", "utf-8", ""); | ||
} | ||
|
||
private String getStringFromAsset(String filename) throws IOException { | ||
AssetManager assetManager = getAssets(); | ||
InputStream in = assetManager.open(filename); | ||
InputStreamReader is = new InputStreamReader(in); | ||
StringBuilder sb = new StringBuilder(); | ||
BufferedReader br = new BufferedReader(is); | ||
String read = br.readLine(); | ||
while (read != null) { | ||
sb.append(read); | ||
sb.append('\n'); | ||
read = br.readLine(); | ||
} | ||
return sb.toString(); | ||
} | ||
|
||
private String getHtmlEditor() { | ||
try { | ||
return getStringFromAsset("android-editor.html"); | ||
} catch (IOException e) { | ||
Log.e("WordPress-Editor", e.getMessage()); | ||
return null; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".EditorActivity"> | ||
|
||
<WebView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:id="@+id/webview"/> | ||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<resources> | ||
<string name="app_name">Editor</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 21 | ||
buildToolsVersion "21.1.2" | ||
|
||
defaultConfig { | ||
applicationId "org.wordpress.editorexample" | ||
minSdkVersion 15 | ||
targetSdkVersion 21 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:appcompat-v7:21.0.3' | ||
compile project(":editor"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Users/max/work/android-sdk-mac/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} |
13 changes: 13 additions & 0 deletions
13
example/src/androidTest/java/org/wordpress/editorexample/ApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.wordpress.editorexample; | ||
|
||
import android.app.Application; | ||
import android.test.ApplicationTestCase; | ||
|
||
/** | ||
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> | ||
*/ | ||
public class ApplicationTest extends ApplicationTestCase<Application> { | ||
public ApplicationTest() { | ||
super(Application.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.wordpress.editorexample" > | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
<activity | ||
android:name=".ExampleActivity" | ||
android:label="@string/title_activity_example" > | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
24 changes: 24 additions & 0 deletions
24
example/src/main/java/org/wordpress/editorexample/ExampleActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.wordpress.editorexample; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.support.v7.app.ActionBarActivity; | ||
import android.view.View; | ||
import android.view.View.OnClickListener; | ||
import android.widget.Button; | ||
|
||
import org.wordpress.editor.EditorActivity; | ||
|
||
public class ExampleActivity extends ActionBarActivity { | ||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_example); | ||
Button button1 = (Button) findViewById(R.id.button1); | ||
button1.setOnClickListener(new OnClickListener() { | ||
@Override public void onClick(View v) { | ||
startActivity(new Intent(ExampleActivity.this, EditorActivity.class)); | ||
} | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context="org.wordpress.editorexample.ExampleActivity"> | ||
|
||
<Button | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Edit Example Post 1" | ||
android:id="@+id/button1" | ||
android:layout_alignParentTop="true" | ||
android:layout_marginTop="32dp" | ||
android:layout_centerHorizontal="true"/> | ||
|
||
</RelativeLayout> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<resources> | ||
<string name="app_name">EditorExample</string> | ||
<string name="title_activity_example">ExampleActivity</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!-- Customize your theme here. --> | ||
</style> | ||
|
||
</resources> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Wed Apr 10 15:27:10 PDT 2013 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip |
Oops, something went wrong.