minggo
3fc5d1d76d
3d gfx use java activity ( #2990 )
...
* use java activity
* simplify codes
* initialize app
* first version of touch handler
* fix touch event's bug
* add keycode event support for android
* add sensor adapt
* add copyright header
* add webview support
* support video player
* add missing property
* add editor box support
* handle crash if come from background on Android
* update external version
Co-authored-by: wuzhiming <wuzhiming.chukong@gmail.com >
2020-11-07 17:38:33 +08:00
吴智明
d5d772556c
3d gfx upgrade gradle ( #2928 )
...
* upgrade gradle version and instant app version
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
* upgrade gradle config
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
* fix project path
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
2020-10-20 15:09:05 +08:00
minggo
e605f34bd6
dispatch memory warning event to JS ( #2924 )
2020-10-20 09:48:46 +08:00
Knox
8299383ae8
add web view ( #2863 )
...
* add web view
* refine code
2020-09-30 17:58:38 +08:00
江战
36ac7ab368
[3d-gfx] sync #2231 neg acc.z ( #2862 )
...
* use negative value of acc.z #2231
* fix typo
2020-09-30 17:31:54 +08:00
Knox
24bb96f7ef
add video player ( #2860 )
2020-09-30 13:58:07 +08:00
江战
21b16d6246
Rename package okhttp3 to org.cocos2dx.okhttp3 #1961 ( #2843 )
2020-09-28 10:39:36 +08:00
江战
a0d5b38eb8
Fix crash below android4.4 when the class cannot be found … ( #2839 )
2020-09-28 10:34:13 +08:00
江战
fab25711ec
bug: fix crash when launch from icon after launch from installer #2169 ( #2840 )
2020-09-28 09:50:58 +08:00
minggo
9d9c79012b
change file path ( #2733 )
2020-09-10 09:51:24 +08:00
minggo
b08407c501
remove CC/cc prefix for file names ( #2728 )
2020-08-28 15:23:29 +08:00
zhefeng.zhang
fda166d954
sync #1919 ( #2711 )
2020-08-24 11:54:15 +08:00
minggo
6a17148d40
use .cpp/.h for source file suffix ( #2654 )
2020-07-22 15:00:28 +08:00
minggo
581aca5da0
Refactor fileutils ( #2649 )
2020-07-17 15:45:15 +08:00
江战
7423ccef65
Impl runOnGameThread on Android ( #2577 )
2020-06-24 15:31:25 +08:00
minggo
7efee066fd
Remove duplicate ( #2597 )
2020-06-19 11:07:21 +08:00
minggo
d381a16142
change namespace from cocos2d to cc ( #2572 )
2020-06-16 14:34:46 +08:00
minggo
ac08833b56
remove CCPlatformDefine.h ( #2565 )
2020-06-15 16:00:27 +08:00
江战
4c2b647bba
remove CCPlatformConfig.h / 3d-gfx ( #2555 )
2020-06-12 11:17:37 +08:00
minggo
7997a44f18
Remove webview ( #2543 )
2020-06-10 16:04:07 +08:00
江战
082f432d2a
remove unused code / 3dgfx ( #2487 )
...
* remove \*.mk
* support Makefile
* update default template
* fix path
* fix field type
* link resource instead of copy
* update external
* fix travis
* fix ssize_t macro
* fix macro 2
2020-05-28 11:24:14 +08:00
江战
f0d2b6d268
update ( #2459 )
2020-05-19 14:21:14 +08:00
江战
1748a533a7
init pthread key p_key ( #2460 )
2020-05-19 14:02:12 +08:00
minggo
96cbe1e971
Android adapt ( #2410 )
...
* simplify get obb file path
* not get package name throung jni
* not get sdk version from android
* remove unneeded codes
* remove convertEncoding
* remove unneeded codes'
* remove unneeded codes
* simpify codes
* simplify codes
* remove unneeded codes
2020-04-27 17:14:06 +08:00
minggo
2082c30ea4
fix crash if enter background on Android ( #2401 )
...
* fix crash if enter background on Android
* break if recreate window error
2020-04-24 16:56:35 +08:00
Arnold
79fc8353d1
3dgfx add CI & cmake ( #2350 )
...
* use-cmake
* revert: enable gles3 for android
* compile with cmake only
2020-04-14 13:58:45 +08:00
minggo
da1c03d8d9
implement fps limitation ( #2333 )
2020-03-26 18:04:32 +08:00
minggo
9be1356d67
System adapter ( #2318 )
...
* move View to engine on mac
* move View to engine on iOS
* add CC prefix for file names
* handle input events in engine on Android
2020-03-23 16:22:54 +08:00
minggo
2d3010f546
Editbox ( #2294 )
...
* mac support editbox
* fix compiling/runtime issue for iOS/Android
* prevent handling touch event if it is prevented
* make editbox work
* fix effect of editbox on android
2020-03-19 13:46:31 +08:00
coulsonwang
bef04c6fc3
fix device pixel ratio ( #2269 )
...
* set device pixel ratio
* fix
* fix devicePixelRatio
* update review
* fix dpr
* remove unneeded code
* remove unneeed code
* fix
* remove getScrenScale
2020-03-17 11:29:48 +08:00
minggo
fa511447e3
Android issue ( #2247 )
...
* change window handler to uintptr_t
* fix compiling error
2020-03-09 11:21:07 +08:00
minggo
ee0ca9a3be
android bind window handler ( #2210 )
2020-02-28 14:37:16 +08:00
minggo
2584fb3807
Remove gl dependence ( #2192 )
...
* remove CCConfiguration
* remove gl related header files
2020-02-26 15:51:29 +08:00
minggo
743f91a3a8
remove some unneed codes ( #2182 )
2020-02-25 18:33:41 +08:00
minggo
7ac05e123f
remove unneed codes ( #2180 )
2020-02-25 16:04:18 +08:00
minggo
b9c13b6a30
Android pause resume ( #2179 )
...
* remove unneed coces
* post onResume and on pause event
2020-02-25 14:35:48 +08:00
minggo
dda8760df0
remove unneed codes ( #2176 )
...
* remove unneed codes
* remove unneed codes
2020-02-25 11:04:50 +08:00
minggo
e693d0a237
get audio output sample rate and output frame count in C++ ( #2175 )
2020-02-24 18:14:00 +08:00
minggo
bd68b01b4d
Android native dpi ( #2173 )
...
* fix compiling error
* android get dpi in C++
2020-02-24 16:09:13 +08:00
minggo
20edb6a63e
implement sensor events in C++ ( #2171 )
2020-02-24 15:42:58 +08:00
minggo
adb387ada5
remove unneeded codes and fix jni implementation ( #2154 )
2020-02-20 12:03:14 +08:00
minggo
1bb0c717d0
fix macro redefine warning of platform defination ( #2099 )
2020-01-20 15:12:49 +08:00
minggo
bb6b022d3a
use native activity on Android ( #2094 )
2020-01-19 09:52:46 +08:00
Yun Hsiao Wu
83e4eb9903
pointer lock API support ( #2054 )
2020-01-07 15:56:14 +08:00
Yun Hsiao Wu
5c797d64c1
fix text positioning ( #2031 )
...
* fix android text positioning
* fix windows text positioning
* fix Mac/iOS text positioning
2019-12-30 17:48:09 +08:00
Cocos Robot
682a8ed3d7
Sync branch v2.1.3-release to v2.2.0-release
2019-09-17 19:52:38 +08:00
Knox
c53a28c957
Fixed that video could not play when stopped ( #1846 )
...
* Fixed that video could not play when stopped
* refine code
2019-09-16 18:34:41 +08:00
Jare Guo
2fe69db75c
Merge v2.1.3 into v2.2.0-release
2019-08-30 20:05:02 +08:00
minggo
95315c1a73
V2.1.3 update v8 android ( #1817 )
...
* use ndk's stl
* update external version: update v8
2019-08-30 17:37:58 +08:00
minggo
39f4b68302
V8 fix ( #1816 )
...
* use ndk's stl
* update external version: update v8
2019-08-30 17:24:54 +08:00