Commit Graph

282 Commits

Author SHA1 Message Date
bofeng-song 0b5922bdb2 Fix the issue where the input field position is incorrect after the keyboard pops up on an Android pad. (#18984)
* Fix the issue where the input field position is incorrect after the keyboard pops up on an Android pad.

* Apply CocosActivity's orientation to CocosEditBoxActivity
2025-09-04 13:43:07 +08:00
qiuguohua 84e22abab8 Fix the crash caused when getResult throws an exception. (#18459)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-13 22:09:40 +08:00
qiuguohua 1527988573 Task callbacks run on non-main threads (#18432)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-10 15:19:44 +08:00
qiuguohua f80ca2cceb Implementation of google play auto login, achievements, PGS Recall API (#18416) 2025-03-09 23:34:12 +08:00
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
qiuguohua a670a91661 Optimizing google play implementation (#18047)
* Optimizing google play implementation

* Initializing member variables

* Remove redundant code

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 15:04:02 +08:00
bofeng-song 815c59589c Fix the crash issue on the Android platform caused by an invalid context. (#18036)
* Fix the crash issue on the Android platform caused by an invalid context.
2024-12-17 10:40:51 +08:00
qiuguohua c2882db601 The google play billing interface is consistent with google's original interface (#18010)
The google play billing interface is consistent with google's original interface

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
2024-12-12 18:23:38 +08:00
qiuguohua deba073213 Integrate the Google Play Billing Library into engine (#17918) 2024-11-29 11:18:48 +08:00
bofeng-song 8f83193aa1 Fix the JNI error 'global reference table overflow' caused by receiving a large number of WebSocket messages in the background (#17609) 2024-09-06 14:26:32 +08:00
James Chen 55c81c3198 fixed #17594: [android] fix crash and memory leaks if launching game multiple times on Android platform with PhysX module enabled. (#17602) 2024-09-04 18:26:15 +08:00
bofeng-song 5da2f9b63a fix orientation-change can not work normally (#16774)
* fix orientation-change can not work normally
2024-03-22 09:27:54 +08:00
bofeng-song 7d3ab9e6a6 Fix the problem that the editbox shifts too far away when the keyboard pops up (#16461)
* Fix the problem that the editbox shifts too far away when the keyboard pops up
2023-11-08 10:06:02 +08:00
mmyduckx 95acc35ab9 add some native feature for videoplayer (#16096)
* add some native feature for videoplayer

* fix review&clang-tidy

* update version
2023-08-25 14:23:37 +08:00
mmyduckx 8c1a005d21 add http patch request process (#15898) 2023-08-09 11:27:39 +08:00
bofeng-song 95c93e51c1 refine: Optimize the display of the editing box on the Android platform. (#15730)
* refine: Optimize the display of the editing box on the Android platform.
2023-07-17 16:11:13 +08:00
ChiaNing bf7874a9f4 fix android label shadow Pollution (#15470) 2023-06-18 19:31:26 +08:00
mmyduckx e2f86928f6 fix android videoplayer player again cannot work (#15118) 2023-05-24 10:29:32 +08:00
minggo fbafcaace4 fix compiling error 2023-04-24 15:32:23 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
bofeng-song 73412caf59 Fix the issue of button response offset caused by listening to incorrect objects (#14864) 2023-04-20 17:29:12 +08:00
bofeng-song 6822177313 Android platform, the edit box does not immediately display the contents of the soft keyboard (#14687) 2023-03-30 10:29:49 +08:00
江战 cdfd194c4c Add HPE Feature Detetion and JNI Method Refactoring (#14633) 2023-03-26 16:26:45 +08:00
江战 181bbc6569 Android: Game Activity Supports Controller Integration (#14625)
* Android Game activity support Controller
2023-03-24 13:44:09 +08:00
James Chen 756dbb736d Fix GlobalObject.runOnUiThread, keep the same logic as Activity.runOnUiThread. (#14616)
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong.
Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.
2023-03-21 16:26:16 +08:00
James Chen 937eb10402 [android] Remove dependence of Activity, prepare for surface-less rendering (#14612)
* Use `context` instead of `activity` as possible.

* Remove unused JniNativeGlue.h include.

* Remove unused import.

* Update JniHelper.h/.cpp, JniHelper::sActivity -> JniHelper::sContext.

* Fix log output name in CocosHelper.java

* Rename the second parameter JniHelper::init from `activity` to `context`.

* Update todo in JniHelper::getActivity()
2023-03-21 11:54:23 +08:00
bofeng-song 92c0220258 fix shadow not work while radiu set to 0 (#14047)
* fix shadow not work while radiu set to 0
2023-01-20 08:11:17 +08:00
bofeng-song 1da965c9ff Remind users to turn off the security keyboard if the keyboard does not pop up (#13981)
* Remind users to turn off the security keyboard if the keyboard does not pop up
2023-01-03 11:50:22 +08:00
minggo bfeca12a09 Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-21 17:26:22 +08:00
bofeng-song 7b08aeb27e Repair that some switch buttons on the android platform do not respond (#13873) 2022-12-21 16:39:45 +08:00
bofeng-song 7361109947 fix potential crash due to null pointer (#13802)
* fix potential crash due to null pointer
2022-12-13 16:04:06 +08:00
OnlyKoei e0cd2932b7 Update Android KeepScreenOn handling (#13746) 2022-12-08 17:47:42 +08:00
bofeng-song 317a30d85b disable unused code (#13591)
* disable unused code
2022-12-05 11:56:52 +08:00
mmyduckx 854dd6859a set default HTTP protocol to HTTP 1.1 (#13578)
* set downloader default HTTP protocol to HTTP 1.1
2022-11-28 15:21:31 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
bofeng-song 82cbdfb232 fix crash while dynamic call createSurface (#12829)
* fix crash while dynamic call createSurface

* Fix the application crash when returning from the background to the foreground
2022-09-22 10:57:12 +08:00
bofeng-song 6189898878 support create surfaceview dynamically at android platform (#12551)
* support create surfaceview dynamically at android platform
2022-09-20 11:38:42 +08:00
mmyduckx a5768715a8 fix okhttp onClosing not call close (#12783) 2022-09-16 10:37:35 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
James Chen 225e29e34c Fix downloader connection timeout (#12642) 2022-09-01 15:49:07 +08:00
timlyeee 9688366644 Trigger onerror callback when path cannot be write into (#12391) 2022-08-19 09:40:47 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
bofeng-song 9c7df0123c context2d support shadow attribute at Android platform (#12332) 2022-08-08 10:14:59 +08:00
bofeng-song 563a72a9dc only enable sensor need to register sensor listener (#12283) 2022-08-01 09:44:50 +08:00
timlyeee 50ffa3b39a V3.6.0 get language with LocaleList on Android7+ (#12073)
* get language by using system language settings
2022-07-20 11:18:09 +08:00
yangchao 2507bfe184 Fix video player bug (#11933) 2022-07-12 18:16:18 +08:00
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
mmyduckx 0077fee553 fix android onProgress may over 100% when trigger breakpoint download (#11638) 2022-06-23 14:32:29 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +08:00