Compare commits

..
Author SHA1 Message Date
khanhduytran0 3d2050ce63 Boost up download game data 2020-10-11 15:03:54 +07:00
khanhduytran0 00fec7364b Try kcat's OpenAL; Add Regal to arm64 for testing purposes 2020-10-11 13:40:45 +07:00
khanhduytran0 993081669d fix 2020-10-10 17:45:53 +07:00
khanhduytran0 20c1d728af change TabLayout orientation 2020-10-10 17:37:32 +07:00
khanhduytran0 7c2ac63c38 Fix crash that block Android UI Binder 2020-10-10 17:30:28 +07:00
khanhduytran0 777d6f9839 Fix 2020-10-10 17:01:08 +07:00
khanhduytran0 020c3c56ca Try to add a method to set last tab to bottom 2020-10-10 16:49:45 +07:00
khanhduytran0 71f36bfbb6 Change tab 2020-10-10 16:10:19 +07:00
khanhduytran0 2966b6955b Reload preferences after hide settings Fragment 2020-10-10 15:39:26 +07:00
khanhduytran0 2f79a74ad3 Add icon to v2 design 2020-10-10 15:36:14 +07:00
khanhduytran0 99ed485b1b Not loading java libjsig.so 2020-10-10 11:35:23 +07:00
khanhduytran0 3760523431 Forget to set replaced string, so set it 2020-10-10 11:15:06 +07:00
khanhduytran0 546791d938 Avoid leaking access token to log by filter it out 2020-10-10 11:13:50 +07:00
khanhduytran0 7ccb47d206 Test gl4es 1.1.5 2020-10-10 06:09:01 +07:00
khanhduytran0 1c947c2479 Fix the file picker 2020-10-09 18:18:46 +07:00
khanhduytran0 d0ed86376f Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-08 13:59:36 +07:00
khanhduytran0 4bf66902aa Stub libfontconfig.so 2020-10-08 13:58:09 +07:00
Tran Khanh Duy ea673f7568 It should be 'File manager' instead of 'File locker' 2020-10-08 10:31:19 +07:00
khanhduytran0 8de4f7be05 File locker bug fix 2020-10-08 10:24:12 +07:00
khanhduytran0 71bbd17a53 Use Apache IOUtils to copy extracted file data 2020-10-08 10:03:33 +07:00
khanhduytran0 27c2cbc2b1 Use Android 5.0 APIs 2020-10-08 09:58:10 +07:00
khanhduytran0 62533deb39 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-08 09:48:53 +07:00
khanhduytran0 01d514d9fe Code cleanup 2020-10-08 09:47:54 +07:00
LegacyGamerHD 44f34338ea revert 2020-10-07 16:31:36 +02:00
LegacyGamerHD c4554b8c10 set mimmap to zero might fix 1.12.2 and below 2020-10-07 16:17:33 +02:00
khanhduytran0 ca3da54da0 Drop support for Android 4.4 as they run on legacy software/hardware 2020-10-07 20:50:53 +07:00
khanhduytran0 1550e3ff6e Uncomment mipmap 2020-10-07 18:15:27 +07:00
khanhduytran0 f08cc5051a Fallback to GL4ES 1.1.4 due to GL context issue 2020-10-07 15:57:22 +07:00
khanhduytran0 750866d201 Try GL4ES 1.1.5 2020-10-07 15:35:45 +07:00
khanhduytran0 01b6adff46 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-07 12:31:50 +07:00
khanhduytran0 686876bd75 Try to fix grab pos 2020-10-07 12:26:47 +07:00
Tran Khanh Duy 5168c6f7b2 CI: Remove upload debug native libs 2020-10-07 05:22:43 +07:00
khanhduytran0 5d5be52a11 Try to fix: Mouse right button, Hotbar selection 2020-10-07 05:17:20 +07:00
khanhduytran0 cfaef99811 So add trigger unset grab pos 2020-10-07 04:51:32 +07:00
khanhduytran0 a5742b0760 Use ClassWrapper if main class is LaunchWrapper; Fix input event crash 2020-10-06 17:18:50 +07:00
khanhduytran0 2cbcd6179b Add checks 2020-10-06 16:23:10 +07:00
Tran Khanh Duy 91a9ab1f45 Update android.yml 2020-10-06 16:11:53 +07:00
Tran Khanh Duy 7cf707f531 Update android.yml 2020-10-06 16:05:32 +07:00
Tran Khanh Duy 0d956f97c2 Update android.yml 2020-10-06 16:01:17 +07:00
Tran Khanh Duy ea1e426775 Update android.yml 2020-10-06 15:52:12 +07:00
Tran Khanh Duy f66cc70915 Update android.yml 2020-10-06 15:47:23 +07:00
Tran Khanh Duy b25583b434 Update android.yml 2020-10-06 15:38:56 +07:00
khanhduytran0 a153f6b6bd Upload debug libs 2020-10-06 15:34:42 +07:00
khanhduytran0 26acb2f843 Fix 2020-10-06 15:28:58 +07:00
khanhduytran0 9741b05dfd Handle java exit code 2020-10-06 15:28:29 +07:00
khanhduytran0 b61b0f17a4 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-06 14:00:24 +07:00
khanhduytran0 3ecbc3cdc4 Load libjsig.so 2020-10-06 13:59:12 +07:00
Tran Khanh Duy a7848f938e Update awt_GraphicsEnv.c 2020-10-06 12:43:11 +07:00
khanhduytran0 120d727e28 More xawt stubs and implements 2020-10-06 12:35:34 +07:00
khanhduytran0 70a42c3a14 Fix 2020-10-06 11:41:55 +07:00
Tran Khanh Duy 86fe89e54f Update awt_GraphicsEnv.c 2020-10-06 06:28:45 +07:00
khanhduytran0 b475137c26 Dummy a DisplayMode 2020-10-06 06:24:51 +07:00
khanhduytran0 b4f1afbcf2 More stubs to libawt_xawt 2020-10-06 06:16:41 +07:00
khanhduytran0 cb39a8dd11 More stubs 2020-10-05 20:23:11 +07:00
khanhduytran0 4ffc493361 Refresh libawt_xawt.so every launch 2020-10-05 19:23:44 +07:00
khanhduytran0 dd2c38e8c4 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-05 19:19:03 +07:00
khanhduytran0 14ba6b30fa Add missing initIDs() 2020-10-05 19:17:56 +07:00
Tran Khanh Duy 60c01298cd Update awt_Robot.c 2020-10-05 18:39:11 +07:00
Tran Khanh Duy 8c72a9d0e0 Update awt_Taskbar.c 2020-10-05 18:32:55 +07:00
Tran Khanh Duy fb13dc8712 Update awt_Desktop.c 2020-10-05 18:28:45 +07:00
Tran Khanh Duy 2d1399f86b Update awt_UNIXToolkit.c 2020-10-05 18:26:07 +07:00
khanhduytran0 574d433826 sizecalc.h 2020-10-05 18:17:08 +07:00
khanhduytran0 f2e3892445 Move comment block to correct place 2020-10-05 18:13:07 +07:00
khanhduytran0 f5cae1f3b2 More xawt stubs; fix compile 2020-10-05 18:09:11 +07:00
khanhduytran0 0616a88385 include jni 2020-10-05 17:59:08 +07:00
khanhduytran0 6e065198d2 More awt_xawt stubs 2020-10-05 17:56:52 +07:00
khanhduytran0 32992619e9 put main class 2020-10-05 16:40:39 +07:00
khanhduytran0 5e251cdb22 Activate [ClassWrapperMC](https://github.com/khanhduytran0/ClassWrapperMC) 2020-10-05 16:25:09 +07:00
khanhduytran0 8f12433b8e Changes in launcher profiles structure 2020-10-05 16:24:22 +07:00
khanhduytran0 648b346a6f Try to fix delete last chars while typing some texts; Little working on UI 2020-10-05 14:14:30 +07:00
khanhduytran0 99beb3be11 Fix touch cursor mode broken 2020-10-04 20:39:13 +07:00
khanhduytran0 1e2821bbb8 delete old customized tab layout class 2020-10-04 20:38:35 +07:00
khanhduytran0 79dce4479a fix layout 2020-10-04 15:35:38 +07:00
khanhduytran0 db3110282d Launcher design changes; AIDE java code build compatibility 2020-10-04 15:06:09 +07:00
khanhduytran0 45cdfa715b Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-04 13:13:52 +07:00
khanhduytran0 00df18073f Customize TabView to vertical 2020-10-04 13:12:38 +07:00
Tran Khanh Duy 3595ff13fb Update MCLauncherActivity.java 2020-10-04 10:22:08 +07:00
khanhduytran0 2037ca27e8 Custom tab fix? 2020-10-04 10:18:40 +07:00
khanhduytran0 82ba01400d Fix pkg 2020-10-04 09:47:14 +07:00
khanhduytran0 cefb25f8dd declare v2 ui activity 2020-10-04 09:38:38 +07:00
khanhduytran0 febfa4b665 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-04 09:32:15 +07:00
khanhduytran0 7fa32c273d WIP design 2020-10-04 09:30:51 +07:00
Tran Khanh Duy 2093abc3a3 Update README.md 2020-10-04 06:19:33 +07:00
Tran Khanh Duy 0fcd79aa81 Update README.md 2020-10-04 06:17:28 +07:00
khanhduytran0 ccbea66907 Back to old UI to prepare testing6 release 2020-10-03 18:59:32 +07:00
khanhduytran0 6c373cb9d1 Move VerticalTabLayout.java to use Android Support Design hidden API 2020-10-03 18:51:58 +07:00
khanhduytran0 cd2c8be5a7 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-03 18:13:39 +07:00
khanhduytran0 ca4bbaeadd (CI build may error) Modify TabView to be vertical 2020-10-03 18:12:23 +07:00
Tran Khanh Duy 8011120018 Update android.yml 2020-10-03 14:52:10 +07:00
Tran Khanh Duy a0f29e6e2a Update android.yml 2020-10-03 14:37:44 +07:00
Tran Khanh Duy e494af06f0 Update android.yml 2020-10-03 14:20:46 +07:00
Tran Khanh Duy d1a6aa1585 Update android.yml 2020-10-03 14:15:30 +07:00
Tran Khanh Duy 09d4acaf66 Update android.yml 2020-10-03 14:12:14 +07:00
khanhduytran0 c8c8e524a5 CI: Build 32bit and 64bit separately 2020-10-03 14:09:22 +07:00
khanhduytran0 987ff83cad Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-10-03 13:07:29 +07:00
khanhduytran0 72b9b9328c Begin v3 UI changes 2020-10-03 13:04:39 +07:00
khanhduytran0 272f6474b7 Little cleanup 2020-10-03 13:04:18 +07:00
Tran Khanh Duy db8797a3ea Update README.md 2020-10-03 05:55:58 +07:00
Tran Khanh Duy 12e07b91b5 Disable arm64 and x86_64 build 2020-09-30 06:17:37 +07:00
khanhduytran0 44c0d260bf Add info arg again 2020-09-30 05:44:39 +07:00
khanhduytran0 8053a8b013 Disable java args test 2020-09-30 05:43:39 +07:00
root 04503d0a76 JLI load: Use Android log instead of printf 2020-09-30 05:23:41 +07:00
Tran Khanh Duy ae513fdd11 Then disable it 2020-09-29 17:36:44 +07:00
Tran Khanh Duy 34087d380d Enable arm64 and x86_64 2020-09-29 17:36:19 +07:00
khanhduytran0 424d1a83fe copy the fake awt_xawt 2020-09-29 17:05:19 +07:00
khanhduytran0 731a149389 fix 2020-09-29 17:00:40 +07:00
khanhduytran0 12aa445870 Bridge between 'libcore.io.Os' and 'android.system.Os' 2020-09-29 16:35:29 +07:00
khanhduytran0 8686c8e196 Could I use libcore API without reflection? 2020-09-29 16:17:01 +07:00
khanhduytran0 48aa678289 Use libcore os instead to attempt support for Android 4 2020-09-29 15:57:40 +07:00
ArtDev e72c0374c6 Update build.gradle 2020-09-29 10:47:33 +03:00
ArtDev f16e13dc06 Api level now 19 2020-09-29 10:44:23 +03:00
khanhduytran0 51bd452abc Temporary comment out java test 2020-09-28 16:39:03 +07:00
khanhduytran0 766e4a1684 Try another way to set executable 2020-09-28 15:00:28 +07:00
khanhduytran0 d4a98ae147 chmod 777 instead of 700 2020-09-28 14:49:34 +07:00
khanhduytran0 9f0a79176b Add launch checks; Fix cursor not working on grab mode 2020-09-28 14:30:38 +07:00
khanhduytran0 3527d307f7 Fix cursor not working on grab mode; Add GLFW action sendGrabInitialPosUnset() 2020-09-28 05:58:38 +07:00
LegacyGamerHD 62a4c140f8 fix some roms could start minecraft because of the ram 900 seems on some devices to be to much 2020-09-27 18:52:23 +02:00
Tran Khanh Duy 597d973df7 Update MainActivity.java 2020-09-27 20:24:06 +07:00
khanhduytran0 c658d005c6 Fix Y inverted 2020-09-27 19:50:23 +07:00
khanhduytran0 e99c608434 Not separate LWJGL2 and 3 classpath 2020-09-27 18:40:08 +07:00
khanhduytran0 cf06c919fd so uncomment 2020-09-27 18:35:35 +07:00
khanhduytran0 ee75814126 put back as ... 2020-09-27 18:07:54 +07:00
khanhduytran0 41e6935914 Back to grab check 2020-09-27 17:53:22 +07:00
khanhduytran0 1645902524 Comment out it to fix hold left mouse while moving camera 2020-09-27 12:44:08 +07:00
khanhduytran0 527fc985c2 disable it 2020-09-27 07:05:03 +07:00
khanhduytran0 004626b568 Add debug mouse event use stack trace (will lag) then 2020-09-27 07:02:57 +07:00
khanhduytran0 20eafa0a64 Use old way reader 2020-09-26 20:35:22 +07:00
khanhduytran0 a125982d42 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-26 20:21:25 +07:00
Tran Khanh Duy 184c82c9b7 had to remove , again 2020-09-26 20:04:39 +07:00
Tran Khanh Duy 38e187bbc8 Also disable x86_64 2020-09-26 19:15:18 +07:00
khanhduytran0 87377dd7d8 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-26 19:02:32 +07:00
khanhduytran0 1bf8b47512 Try to fix trigger left mouse while moving camera 2020-09-26 19:01:56 +07:00
LegacyGamerHD be61982ce5 and disable it 2020-09-26 10:57:29 +02:00
LegacyGamerHD dc0eb8c819 Enable arm64 to test 2020-09-26 10:57:06 +02:00
Tran Khanh Duy e3b29e5fbb Re-enable x86_64 for test 2020-09-26 11:43:57 +07:00
Tran Khanh Duy c6bc120290 Change to void* type 2020-09-26 11:41:30 +07:00
Tran Khanh Duy 0493704aa9 just remove , 2020-09-26 07:09:10 +07:00
Tran Khanh Duy 52be9aea14 Update README.md 2020-09-26 07:08:05 +07:00
Tran Khanh Duy 47232cc796 Disable x86_64 as also framebuffer error 2020-09-26 07:06:41 +07:00
khanhduytran0 f6d33d0408 Debug: framebuffer went wrong if use 64-bit java runtime 2020-09-26 06:52:06 +07:00
khanhduytran0 909cd35ef1 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-25 21:05:37 +07:00
khanhduytran0 ff855b5a52 Add an option to install mod with custom args 2020-09-25 21:04:28 +07:00
Tran Khanh Duy 07879688e6 Enable x86_64 build 2020-09-25 15:34:32 +07:00
Tran Khanh Duy 57e88b9a32 Update README.md 2020-09-25 15:30:30 +07:00
Tran Khanh Duy 187c8ea359 Update OpenJDK status 2020-09-25 15:28:24 +07:00
khanhduytran0 48af767506 Change os.name to Linux 2020-09-24 20:52:31 +07:00
khanhduytran0 4fe4edc4eb Fix lwjgl3 install check 2020-09-24 20:18:22 +07:00
khanhduytran0 aed45b5754 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-24 17:49:57 +07:00
khanhduytran0 1bd9c02194 Add logger for install mod screen 2020-09-24 17:48:23 +07:00
Tran Khanh Duy d9df725692 Then disable it 2020-09-24 10:42:37 +07:00
Tran Khanh Duy 11be6576a6 Enable arm64 to test 2020-09-24 10:42:19 +07:00
khanhduytran0 e6e288e15d Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-23 19:15:02 +07:00
khanhduytran0 004ee25e4f uncomment backspace trigger 2020-09-23 19:11:04 +07:00
Tran Khanh Duy b8b69c9684 Update CallbackBridge.java 2020-09-23 18:35:06 +07:00
khanhduytran0 dfe6272091 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-23 18:07:49 +07:00
khanhduytran0 d991625c9b Implement GLFW char callback (untested) 2020-09-23 18:06:05 +07:00
Tran Khanh Duy 1922fa1c18 Disable arm64 to test if framebuffer work 2020-09-22 16:28:55 +07:00
Tran Khanh Duy b75765f67b Update build.gradle 2020-09-22 16:00:42 +07:00
khanhduytran0 d6988fea87 Custom controls: fix wrong pos 2020-09-22 13:25:40 +07:00
khanhduytran0 89545f9256 oops forgot 'else' 2020-09-22 12:53:15 +07:00
khanhduytran0 986549cd73 Fix custom controls screen crash; Fix uninstall JRE dialog crash 2020-09-22 12:47:29 +07:00
khanhduytran0 627de51fb0 Fix empty dialog... 2020-09-22 05:05:43 +07:00
khanhduytran0 56b58126f6 [aarch64 fix] try reduce 'EGL_DEPTH_SIZE' value 2020-09-21 20:30:47 +07:00
khanhduytran0 16d293f547 Debug 2020-09-21 15:35:10 +07:00
khanhduytran0 b9793c57aa Fix dialog pref 2020-09-21 15:29:00 +07:00
khanhduytran0 a757cd4c9e [aarch64] Try to fix GL4ES load ignored 2020-09-21 14:52:23 +07:00
khanhduytran0 b52973bd2f Fix crash on uninstall jre 2020-09-20 20:16:33 +07:00
khanhduytran0 98877fd0b9 [aarch64] try to fix framebuffer bug 2020-09-20 17:37:17 +07:00
khanhduytran0 14f70b19df Add missing part 2020-09-20 12:48:18 +07:00
khanhduytran0 e3435c3cef Re-enable arm64 as it worked; Add option to uninstall java runtime 2020-09-20 12:40:08 +07:00
Tran Khanh Duy c99aab0e80 Disable arm64 build 2020-09-20 10:41:16 +07:00
Tran Khanh Duy f2a6fadfd7 Enable arm64 build 2020-09-20 10:40:57 +07:00
khanhduytran0 a5f12772be Disable arm64 build 2020-09-20 10:35:42 +07:00
khanhduytran0 e3f89e16a3 Enable ARM64 build, then disable it 2020-09-20 10:34:52 +07:00
khanhduytran0 a8aca54d9a Use another method to send grab state 2020-09-19 06:03:30 +07:00
khanhduytran0 7e3c312b91 Merge 2020-09-19 05:08:49 +07:00
khanhduytran0 48ece6f665 Fix crash on sending input event too early 2020-09-19 05:06:36 +07:00
Tran Khanh Duy 689d90a262 Update input_bridge.c 2020-09-18 20:45:37 +07:00
khanhduytran0 389919d81a Fix crash 2020-09-18 20:38:03 +07:00
khanhduytran0 e9b231b866 Fix crash on join world/multiplayer 2020-09-18 16:02:19 +07:00
khanhduytran0 ce6660c2a6 Filter non-exists jar 2020-09-18 13:09:31 +07:00
khanhduytran0 09dc4c39d0 Fix Fabric repo; Fix OpenAL 2020-09-18 12:09:00 +07:00
khanhduytran0 feb2eff4c3 Fix y inveryed 2020-09-17 20:06:54 +07:00
khanhduytran0 d218a04b68 fix invert y 2020-09-17 19:16:49 +07:00
khanhduytran0 329612ba35 Move debug to glfw 2020-09-17 18:39:16 +07:00
khanhduytran0 53537af9fb Put input debug.... 2020-09-17 17:59:20 +07:00
Tran Khanh Duy 8ed49e93f4 Update jre_launcher.c 2020-09-17 17:48:48 +07:00
Tran Khanh Duy ded22f3ecc Commit ad5c86b 2020-09-17 17:45:20 +07:00
khanhduytran0 74242ffb6b Fix 2 2020-09-17 17:39:33 +07:00
khanhduytran0 33d7c675ab Fix compile error 2020-09-17 17:28:13 +07:00
khanhduytran0 eb649071ac Try fix JavaVM and JNIEnv "maze" 2020-09-17 17:22:07 +07:00
khanhduytran0 3788842c1f Fix a typo 2020-09-17 17:03:57 +07:00
khanhduytran0 59679b6369 Fix jnienv check 2020-09-17 14:54:15 +07:00
khanhduytran0 6477d94268 Fix check 2020-09-17 13:21:28 +07:00
khanhduytran0 ad226893ee fix... 2020-09-17 12:55:48 +07:00
Tran Khanh Duy a0840c9e3c Update input_bridge.c 2020-09-17 12:44:33 +07:00
khanhduytran0 b83813c79f Input debug 2020-09-17 12:37:35 +07:00
khanhduytran0 dc327a1845 Fix 2 2020-09-17 10:47:25 +07:00
khanhduytran0 58f348e95b Fix 2020-09-17 10:38:46 +07:00
khanhduytran0 13007f152a Improve input bridge; Add a pipe to callback data from JRE to Android thread 2020-09-17 10:20:10 +07:00
khanhduytran0 d83357cbb6 Add break on java arg processing 2020-09-16 20:00:59 +07:00
khanhduytran0 9ab1afcf68 Fix duplicate Java arguments while processing 2020-09-16 19:58:47 +07:00
khanhduytran0 8331aeaf73 Call eglGetDisplay() before make current to no context 2020-09-16 19:35:28 +07:00
khanhduytran0 696c415564 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-16 19:02:59 +07:00
khanhduytran0 3ff1f153f7 Fix No current GL context; Attempt fix FML early loading screen crash 2020-09-16 19:01:24 +07:00
Tran Khanh Duy f1e189a84d Update Crowdin configuration file 2020-09-16 17:14:56 +07:00
Tran Khanh Duy 1ff1911e5e Update Crowdin configuration file 2020-09-16 15:39:13 +07:00
khanhduytran0 c7220ef391 Completely disable arm64 2020-09-15 19:49:51 +07:00
khanhduytran0 efd548f869 Attempt fix Forge 1.16+ crash by safety EGL make current 2020-09-15 19:11:02 +07:00
khanhduytran0 06491c5bbf So we disable arm64 build... 2020-09-15 18:54:06 +07:00
khanhduytran0 df685726a4 Enable arm64 for testing 2020-09-15 17:05:27 +07:00
khanhduytran0 3a9da81033 Add debug to attempt fix multiplied arguments 2020-09-13 10:58:50 +07:00
khanhduytran0 82748cca46 Little more stub 2020-09-13 09:42:49 +07:00
Tran Khanh Duy 3528c09d95 Update awt_GraphicsEnv.c 2020-09-13 08:14:19 +07:00
khanhduytran0 31d2b2afcb Fix 2020-09-13 07:57:02 +07:00
khanhduytran0 d9a13183b2 More stub. Show error if could not allocate RAM 2020-09-13 07:50:02 +07:00
Tran Khanh Duy f97a74b9f5 Remove -G 1m from logcat as it invalid arguments 2020-09-12 21:17:22 +07:00
khanhduytran0 04cf84dd64 Set some Regal environment variables 2020-09-12 20:59:41 +07:00
khanhduytran0 b78d05f664 Increase logcat buffer size so it won't crash by Unexpected EOF 2020-09-12 19:40:24 +07:00
khanhduytran0 108a910195 Add RegalMakeCurrent native impl 2020-09-12 18:59:21 +07:00
khanhduytran0 1e6f295518 Debug: print java classpath to logcat 2020-09-12 18:34:14 +07:00
khanhduytran0 94fc3c2124 Debug print java classpath 2020-09-12 18:10:03 +07:00
khanhduytran0 3055f41e59 Another attempt to fix Forge crash 2020-09-12 15:45:33 +07:00
khanhduytran0 b7e9b6a80f Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-12 12:23:41 +07:00
khanhduytran0 7d4ae5bb77 Not listing a file as Minecraft version; Un-ignore some libs 2020-09-12 12:22:47 +07:00
ArtDev fd329e2cf8 Wake-lock when ingame 2020-09-11 16:40:25 +03:00
khanhduytran0 5980b5822f Fix download assets for 1.13+ 2020-09-11 20:13:18 +07:00
khanhduytran0 71fcfa4ed1 Un-reserve Y position 2020-09-11 15:23:08 +07:00
khanhduytran0 6a9b99953b Fix Forge crash 2020-09-11 13:50:10 +07:00
artdeell 16550344e7 Logcat logging 2020-09-10 17:35:58 +03:00
khanhduytran0 c450afe458 Completely remove .jar patcher 2020-09-10 18:59:29 +07:00
khanhduytran0 a54e605e73 Use Apache Commons IOUtils to read byte array; cleanup unused parts 2020-09-10 18:50:41 +07:00
khanhduytran0 e71fc849e3 Improve byte array reader; Attempt fix input not working 2020-09-10 18:18:08 +07:00
khanhduytran0 2664976cbd Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-10 15:14:14 +07:00
khanhduytran0 464479cac2 Debug input 2020-09-10 15:10:19 +07:00
Tran Khanh Duy 272c24a7ad Update version date for ready for working v3 2020-09-10 12:51:58 +07:00
khanhduytran0 0fee980626 Fix extract... 2020-09-10 12:32:51 +07:00
khanhduytran0 b344fee33a Dismiss dialog on select JRE OpenJDK tar.xz 2020-09-10 12:24:26 +07:00
khanhduytran0 c612fdcca1 Add missing lib org.tukaani.xz 2020-09-10 12:05:39 +07:00
khanhduytran0 e8299920d0 Cleanup unused codes; Add java runtime installer 2020-09-10 11:39:30 +07:00
khanhduytran0 ca58191935 Disable LWJGL lookup logging; Prepare for JRE installer 2020-09-10 09:28:12 +07:00
khanhduytran0 23e321e74f Comment out GLESv2 check 2020-09-09 15:58:37 +07:00
khanhduytran0 74938b2be4 Limit default -Xmx value to 900mb 2020-09-09 15:20:43 +07:00
khanhduytran0 130ea87366 Catch an exception 2020-09-09 13:11:13 +07:00
khanhduytran0 42357626cf Fix OutOfMemory after enable Log output 2020-09-09 13:09:12 +07:00
khanhduytran0 816c0ad709 Fix crash 2020-09-09 12:41:30 +07:00
khanhduytran0 7045371568 Allow load custom OpenGL library: Regal 2020-09-09 12:34:30 +07:00
khanhduytran0 5bf7e11127 Custom java args: fix crash, remove infinity GC interval 2020-09-09 11:53:21 +07:00
khanhduytran0 8a6d23a06f JNI: Attach Android thread to JRE, is it safe? 2020-09-09 06:09:50 +07:00
khanhduytran0 1690938b3b Fix custom java args not take effect; Allow override java properties 2020-09-09 05:29:13 +07:00
Tran Khanh Duy 12b5ebfb78 Update input_bridge.c 2020-09-08 20:04:22 +07:00
khanhduytran0 c61d361d4e Attempt fix crash on send input event 2020-09-08 19:54:43 +07:00
Tran Khanh Duy 5af6e527bf Update utils.h 2020-09-08 19:47:12 +07:00
khanhduytran0 f809cefe28 Another fix 2020-09-08 19:36:58 +07:00
khanhduytran0 af50e9678f Add missing include 2020-09-08 19:32:37 +07:00
khanhduytran0 ab662dbbce Remove duplicate settings Activity 2020-09-08 19:28:17 +07:00
khanhduytran0 80261db3ac Update input type index; forget say: added custom JVM arguments 2020-09-08 19:04:50 +07:00
khanhduytran0 41e3207d38 Add a pipe to send input event; Clean LWJGL2 2020-09-08 19:02:52 +07:00
khanhduytran0 fcfc4f16cb Fix log 2020-09-08 13:59:47 +07:00
khanhduytran0 9e55cd329a Update README.md 2020-09-08 12:03:16 +07:00
khanhduytran0 66c2da95d6 Update current status 2020-09-08 12:01:59 +07:00
khanhduytran0 b9a016e4d3 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-08 06:33:09 +07:00
khanhduytran0 b5782d5d4e Load gl4es before lwjgl 2020-09-08 06:32:08 +07:00
Tran Khanh Duy 49dd368c0e Update egl_bridge.c
Fix it
2020-09-07 18:04:58 +07:00
khanhduytran0 2cf6d8c1d1 fix 2 2020-09-07 17:59:33 +07:00
khanhduytran0 0b2c7b56d3 fix 2020-09-07 17:54:15 +07:00
khanhduytran0 84afa73a72 Debug 2020-09-07 17:34:39 +07:00
khanhduytran0 84d39544ee Remove awt_xawt 2020-09-07 16:22:23 +07:00
khanhduytran0 6ceac22aff Am I missing 'ANativeWindow_setBuffersGeometry'? 2020-09-07 14:45:01 +07:00
khanhduytran0 88ab3875b5 Move run java runtime mode 2020-09-07 14:44:21 +07:00
khanhduytran0 94c08b52a5 Move java launch to another place 2020-09-07 13:19:24 +07:00
khanhduytran0 ea4002f0a2 Start porting libawt_xawt.so to Android 2020-09-07 13:18:17 +07:00
khanhduytran0 7be2291bfd Stub initIDs() of libawt_xawt.so 2020-09-06 19:21:14 +07:00
khanhduytran0 9a1a2d4aff Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-06 07:55:23 +07:00
khanhduytran0 81ddd9905a Init GL4ES after make current 2020-09-06 07:54:15 +07:00
khanhduytran0 9bcf2de57c Merge branch 'v3_openjdk' of https://github.com/khanhduytran0/PojavLauncher.git into v3_openjdk 2020-09-06 06:43:10 +07:00
khanhduytran0 18a25e0343 Remove toast...... 2020-09-06 06:43:04 +07:00
khanhduytran0 d2609d4a11 Add return 2020-09-06 06:03:01 +07:00
khanhduytran0 6c58e93d9f Add import 2020-09-06 05:56:43 +07:00
khanhduytran0 8cfe95cc5e Combine init and make current then test 2020-09-06 05:39:47 +07:00
khanhduytran0 3e603581a4 Let GLFW init GL Context 2020-09-05 18:49:24 +07:00
khanhduytran0 5505721a12 Let GLFW call eglMakeCurrent() 2020-09-05 18:17:55 +07:00
khanhduytran0 c6dafb38b5 Use debug.keystore 2020-09-05 17:24:17 +07:00
Tran Khanh Duy 4c6cdfd9e1 (1/2) Try to sign with same debug keystore 2020-09-05 15:30:01 +07:00
khanhduytran0 8b9b25f958 Update binary 2020-09-05 14:44:17 +07:00
khanhduytran0 e2a4a67f92 Link libGLESv2 for test 2020-09-05 13:13:46 +07:00
khanhduytran0 fb59710939 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-05 13:05:29 +07:00
khanhduytran0 bd16b01c0c Fix errors 2020-09-05 13:03:31 +07:00
Tran Khanh Duy b6139cf4c7 Merge pull request #299 from PojavLauncherTeam/v3_ghaction
Merge workflows yml
2020-09-05 13:00:41 +07:00
khanhduytran0 0b6701624d Test some GL commands after make current 2020-09-05 12:53:55 +07:00
Tran Khanh Duy 49669a2251 Update android.yml 2020-09-05 08:51:03 +07:00
khanhduytran0 055743f90a Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-05 06:59:16 +07:00
khanhduytran0 356610b762 Try bridge 2020-09-05 06:57:45 +07:00
Tran Khanh Duy def4e450b0 Update android.yml 2020-09-04 19:35:17 +07:00
Tran Khanh Duy a15db6613e Update android.yml 2020-09-04 19:33:41 +07:00
Tran Khanh Duy 5250127062 Update android.yml 2020-09-04 19:32:19 +07:00
Tran Khanh Duy f6cef543c1 Add GitHub action badge 2020-09-04 17:45:43 +07:00
Tran Khanh Duy 79aeb14453 GitHub Actions: use v2 upload artifact to not zip 2020-09-04 17:00:58 +07:00
Tran Khanh Duy 22a192682d Disable x86 build 2020-09-04 15:37:41 +07:00
khanhduytran0 53e6e1106f Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-09-04 15:31:48 +07:00
khanhduytran0 c58b840982 Merge branch 'v3_ghaction' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_ghaction 2020-09-04 15:29:07 +07:00
khanhduytran0 2f0f4f8ee6 Move some native codes to there 2020-09-04 15:27:56 +07:00
Tran Khanh Duy a786f6bbb6 Merge pull request #298 from PojavLauncherTeam/v3_ghaction
Migrate to GitHub Actions since build time shorter than Travis CI
2020-09-04 13:35:38 +07:00
Tran Khanh Duy e9dfa2256b Delete busybox-arm64
It is no longer used
2020-09-04 13:34:01 +07:00
Tran Khanh Duy b21da28134 chmod +x gradlew since it's not have already 2020-09-04 13:27:36 +07:00
Tran Khanh Duy 25322df40b Github Actions 2020-09-04 13:01:37 +07:00
khanhduytran0 97893a2222 Prepare compare build time 2020-09-04 12:35:02 +07:00
khanhduytran0 976c43536c Update lib for another attempt 2020-09-04 12:32:18 +07:00
khanhduytran0 139064fdc9 Change to Xbootclasspath for caciocavallo 2020-09-02 05:07:09 +07:00
khanhduytran0 af3cc21fd5 Fix build error; add override cacio argd 2020-09-01 10:48:03 +07:00
khanhduytran0 db9dcbd131 cacioawt check exists 2020-09-01 10:28:50 +07:00
khanhduytran0 a2e62939c6 Append caciocavallo lib 2020-09-01 10:24:50 +07:00
khanhduytran0 da050942f8 Update lib; share surface using pointer 2020-09-01 10:18:43 +07:00
khanhduytran0 79f513a25f Fix error 2020-09-01 07:58:03 +07:00
khanhduytran0 958e22f0a3 Add mod installer (not implemented) 2020-09-01 07:32:54 +07:00
khanhduytran0 bf49d40eb7 Change lib 2020-08-31 11:52:54 +07:00
khanhduytran0 e6ea54740d Make Boardwalk2's JRE9 runtime works on this launcher 2020-08-30 05:53:54 +07:00
khanhduytran0 f2d44e8f14 LD_LIBRARY_PATH: Put lib/server to first path to make libjli.so ignore re-execute 2020-08-29 09:37:56 +07:00
khanhduytran0 002dd96a55 Fix OpenJDK? 2020-08-29 09:27:35 +07:00
khanhduytran0 2f2d74a8b0 Allow override launch type, set some env if neee 2020-08-29 07:42:57 +07:00
khanhduytran0 c55cddf6f1 Replace execute binary with 'JNI_CreateJavaVM' 2020-08-28 14:45:43 +07:00
khanhduytran0 4918d8d8c4 Update 2020-08-28 05:23:35 +07:00
khanhduytran0 dde2ce9152 Fix build error, update README.md 2020-08-27 18:08:26 +07:00
khanhduytran0 b25e8ebf34 setupBridgeEGL 2020-08-27 17:51:18 +07:00
khanhduytran0 332f8c300d Smaller code set LD_LIBRARY_PATH 2020-08-27 17:42:40 +07:00
khanhduytran0 ea8caa3cd9 setEnvironment: (value part) replace some env with direct value 2020-08-27 17:40:22 +07:00
khanhduytran0 46f9d1aa88 Attempt to 'JLI_Launch' for JVDroid OpenJDK 2020-08-27 17:37:07 +07:00
khanhduytran0 588594d2d8 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-08-27 08:38:34 +07:00
khanhduytran0 ed7be8ef6a Try new way set LD_LIBRARY_PATH for JLI Invocation 2020-08-27 08:37:13 +07:00
khanhduytran0 06202f2701 Remove unnecessary class 2020-08-25 18:11:30 +07:00
khanhduytran0 53154d03dd Add strace, fix startup error 2020-08-25 17:37:44 +07:00
khanhduytran0 0b7501c28d Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-08-25 10:43:03 +07:00
khanhduytran0 4edd06ac0d Update libs; Send EGL addresses to subprocess; Add some properties for Minecraft 1.13+ 2020-08-25 10:42:10 +07:00
khanhduytran0 61d2b4bd00 Merge 2020-08-24 16:10:03 +07:00
khanhduytran0 258bfae8ff Add print 2020-08-24 16:09:09 +07:00
khanhduytran0 6659be1b94 Change launch type 2020-08-24 10:07:13 +07:00
khanhduytran0 ba31ba5712 GLFW stub: add window width height property set 2020-08-24 09:27:00 +07:00
khanhduytran0 ca75732aa5 Update stuff 2020-08-24 07:32:07 +07:00
khanhduytran0 39790fea92 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-08-24 07:06:55 +07:00
khanhduytran0 db9bb201de Re-add BinaryExecutor 2020-08-24 07:05:26 +07:00
Tran Khanh Duy ee7c39fd96 Update README.md 2020-08-24 06:34:51 +07:00
khanhduytran0 3acd6a0a54 Fixed Java segmentation fault 2020-08-24 05:31:05 +07:00
khanhduytran0 10115d31ac Attempt fix java segmentation fault... 2020-08-23 20:35:53 +07:00
khanhduytran0 2cb0781265 Cleanup to launch from command 2020-08-23 19:15:52 +07:00
khanhduytran0 bac17651e1 Cleanup to launch from command 2020-08-23 19:14:52 +07:00
Tran Khanh Duy ebeb4e76e5 Update README.md 2020-08-23 15:50:38 +07:00
khanhduytran0 ab30999e3e Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-08-23 14:23:12 +07:00
Tran Khanh Duy cd7b1de858 Revert 2020-08-23 13:25:28 +07:00
Tran Khanh Duy 4302814df1 Update .travis.yml 2020-08-23 13:23:16 +07:00
khanhduytran0 ffc2f640d9 VMLauncher... TODO LD_LIBRARY_PATH to support Android 5... 2020-08-23 12:45:04 +07:00
khanhduytran0 965b9ff10e Changes 2020-08-23 10:56:49 +07:00
khanhduytran0 96686fb8e4 update 2020-08-23 08:42:43 +07:00
khanhduytran0 cf23e6b259 Attempt set env 2020-08-23 06:15:46 +07:00
khanhduytran0 7d04a7f9b9 Update some 2020-08-22 20:25:52 +07:00
khanhduytran0 f4ff61537b Update libbinexecutor.so 2020-08-22 19:13:04 +07:00
khanhduytran0 33129ad947 Some fixes 2020-08-22 18:38:28 +07:00
khanhduytran0 73056cae19 Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk 2020-08-22 17:47:04 +07:00
khanhduytran0 a8aea5d865 Remove unused imports 2020-08-22 17:46:10 +07:00
Tran Khanh Duy 1b9a5b8380 On 'branch: gl4es' to [push] 2020-08-22 17:37:04 +07:00
khanhduytran0 18c7655dff More changes 2020-08-22 17:34:52 +07:00
khanhduytran0 320c7af46c More cleanup and additional 2020-08-22 16:07:23 +07:00
khanhduytran0 27b070167b Cleanup to prepare a new v3 2020-08-22 16:04:02 +07:00
Tran Khanh Duy 7ecb14534b Update badge redirect to CI page 2020-08-22 08:49:09 +07:00
khanhduytran0 226c8ae7e9 Not creating StringBuilder without use 2020-08-22 05:48:57 +07:00
khanhduytran0 6132f81b25 Access hidden method android.view.MotionEvent.buttonStateToString() 2020-08-22 05:47:45 +07:00
khanhduytran0 fdc72af987 Fixing pointer capture external mouse event trigger 2020-08-22 05:22:53 +07:00
LegacyGamerHD c491ec5edc full screen login ui 2020-08-15 12:48:23 +02:00
Tran Khanh Duy fa7a340b2b Merge pull request #277 from RealEthanPlayzDev/patch-2
FIXED Added Bahasa translation.
2020-08-12 19:47:05 +07:00
EthanPlayzDev 759f692369 Bahasa version of the strings.xml 2020-08-12 19:44:05 +07:00
LegacyGamerHD 6ff539fb66 bad idea turning it off 2020-08-09 16:33:04 +02:00
LegacyGamerHD c5b79ab4ab make it more clear its a dev build also clean up files instead of skipping it 2020-08-09 16:25:55 +02:00
khanhduytran0 21a6cb7074 Minecraft should recognize correct OpenGL version (fixed again) 2020-08-09 18:36:06 +07:00
khanhduytran0 8df8c90d34 Better launcher crash report 2020-08-09 09:19:26 +07:00
khanhduytran0 0932fcad09 styles.xml: synchronize theme 2020-08-09 08:12:03 +07:00
khanhduytran0 f02ae570c6 Put 'app/libs/boardwalk_lwjgl_buffer.jar' to attempt fix crash 2020-08-09 06:26:30 +07:00
khanhduytran0 a5d020da94 Attempt fix GLTextureView null stuff 2020-08-08 16:46:50 +07:00
khanhduytran0 3a450ae911 Change error msg a bit 2020-08-08 16:05:39 +07:00
khanhduytran0 3bbec01507 Fatal error: show 'Unexpectedly crashed' instead of 'Fatal error' 2020-08-08 16:04:51 +07:00
khanhduytran0 7c68a3ac2a Only requestRender() when GLTextureView is not null 2020-08-08 15:59:28 +07:00
khanhduytran0 f8a73da290 Fix AWT returned headless mode 2020-08-08 15:53:58 +07:00
khanhduytran0 8f7b17955a Removed another duplicate class 2020-08-08 12:02:43 +07:00
khanhduytran0 9a7981138f Removed duplicate classes 2020-08-08 11:55:42 +07:00
khanhduytran0 21c4b8d056 Separate some LWJGL2 buffer classes 2020-08-08 11:22:17 +07:00
khanhduytran0 d5774ca006 Repatch AndroidDisplay.class to fix RSAPadding on OptiFine 2020-08-08 10:16:30 +07:00
khanhduytran0 0d2cd19b84 Modified AndroidDisplay.class 2020-08-08 09:53:34 +07:00
khanhduytran0 5b12c7bfb4 Debug: Show fatal error on launcher crash 2020-08-08 09:11:02 +07:00
khanhduytran0 9d4b607003 Load LWJGL2 if necessary 2020-08-08 08:01:06 +07:00
khanhduytran0 234c1eaf9a java.awt.GraphicsDevice: fix size 2020-08-06 10:03:08 +07:00
khanhduytran0 457311354b AWT: More stubs to unimplemented components 2020-08-06 09:36:41 +07:00
LegacyGamerHD a3a58aaa0a fully working full screen 2020-08-05 10:09:56 +02:00
LegacyGamerHD c0122c2a72 remove the fullscreen theme 2020-08-04 18:44:31 +02:00
LegacyGamerHD b82cb2fc45 Revert "Merge remote-tracking branch 'origin/gl4es' into gl4es"
This reverts commit 827ab9f4dc.
2020-08-04 13:02:15 +02:00
LegacyGamerHD 827ab9f4dc Merge remote-tracking branch 'origin/gl4es' into gl4es 2020-08-04 12:57:21 +02:00
LegacyGamerHD 45dc25e16c some more work 2020-08-04 12:57:01 +02:00
LegacyGamerHD 1aa5a9651b Revert "Fix empty space because we hide the nave bar try 1"
This reverts commit cb143956e4.
2020-08-04 10:57:26 +02:00
LegacyGamerHD 4d81e7e843 Revert "Test with layout"
This reverts commit e5a04c7e78.
2020-08-04 10:57:09 +02:00
LegacyGamerHD 57fc260eac Revert "Fix crashing"
This reverts commit 05aafcbd27.
2020-08-04 10:56:59 +02:00
LegacyGamerHD 05aafcbd27 Fix crashing 2020-08-04 00:36:05 +02:00
LegacyGamerHD e5a04c7e78 Test with layout
Again am on mobile revert if it isn't right
2020-08-04 00:23:53 +02:00
LegacyGamerHD cb143956e4 Fix empty space because we hide the nave bar try 1
Editing on mobile blame me when explode
2020-08-03 23:51:26 +02:00
LegacyGamerHD a916648e45 i hate notepad++ 2020-08-03 20:13:07 +02:00
LegacyGamerHD 57249f2d0c fix the strange blank bar 2020-08-03 20:11:57 +02:00
ArtDev 1e9256c60b Merge pull request #268 from PojavLauncherTeam/full-screen
Full screen
2020-08-03 21:03:45 +03:00
LegacyGamerHD 94b05fcd3a cleanup 2020-08-03 19:50:00 +02:00
LegacyGamerHD d451ee4dfe code rework 2020-08-03 19:48:01 +02:00
LegacyGamerHD 7a55074fb4 more fullscreen code 2020-08-03 18:17:58 +02:00
LegacyGamerHD 44afbe23f9 Update styles.xml 2020-08-03 18:08:46 +02:00
ArtDev 176cbe3ca1 Fix Polish strings so they don't crash the launcher 2020-08-03 18:35:19 +03:00
ArtDev ce0125658a Merge pull request #267 from PojavLauncherTeam/artdeell-patch-1
Overall translation patches
2020-08-03 18:16:33 +03:00
ArtDev 3f11b01888 One more fixation 2020-08-03 18:04:33 +03:00
ArtDev 6631a588cb Source code fixations 2020-08-03 18:00:26 +03:00
ArtDev 84d6ff85eb EN: No log string 2020-08-03 17:57:43 +03:00
ArtDev 33dc73a98e RU: No log string 2020-08-03 17:56:55 +03:00
ArtDev 0d6446de14 Translation patches (XML) 2020-08-03 17:52:12 +03:00
ArtDev 54ba0d759d Always overwrite latest commit-build 2020-08-03 16:30:16 +03:00
ArtDev faff301e32 Build badge 2020-08-03 16:26:32 +03:00
Tran Khanh Duy ee4a84016f URL: Change khanhduytran0.github.io...
...into pojavlauncherteam.github.io
2020-08-03 19:47:06 +07:00
LegacyGamerHD 9632601aa3 fix deploying 2020-08-03 14:44:27 +02:00
ArtDev 4019487b68 Merge pull request #265 from PojavLauncherTeam/patch-1
travis setup
2020-08-03 15:34:55 +03:00
LegacyGamerHD 9c6f2950b6 clean up again 2020-08-03 14:28:59 +02:00
ArtDev cfbc54017c Basic deployment 2020-08-03 15:24:07 +03:00
LegacyGamerHD f981615df9 cleanup 2020-08-03 14:21:23 +02:00
LegacyGamerHD a170dd0d7e trying to fix the android abi warnings 2020-08-03 14:17:25 +02:00
ArtDev e40c4955ab Supress lint (PATCH-2) 2020-08-03 15:08:53 +03:00
ArtDev 556b5cede4 Supress lint (for testing) 2020-08-03 15:08:11 +03:00
LegacyGamerHD 3f1bec6368 Update .travis.yml 2020-08-03 13:59:27 +02:00
LegacyGamerHD ad584b81b8 Update .travis.yml 2020-08-03 13:56:43 +02:00
LegacyGamerHD beaa6883e3 Update .travis.yml 2020-08-03 13:53:53 +02:00
LegacyGamerHD 02d4cf7d04 fixes my mess 2020-08-03 13:51:37 +02:00
ArtDev 185d1cdb3c Update build.gradle 2020-08-03 14:49:36 +03:00
LegacyGamerHD dfc0b3f719 Update .travis.yml 2020-08-03 13:47:03 +02:00
ArtDev 60f804638a Update gradle-wrapper.properties 2020-08-03 14:40:06 +03:00
LegacyGamerHD e6b8e8cf22 Update gradle-wrapper.properties 2020-08-03 13:39:00 +02:00
LegacyGamerHD f4f6f6868a Update build.gradle 2020-08-03 13:36:15 +02:00
LegacyGamerHD f4bdbba873 Update gradle-wrapper.properties 2020-08-03 13:35:44 +02:00
LegacyGamerHD 5741453299 Update gradle-wrapper.properties 2020-08-03 13:33:48 +02:00
ArtDev b231706328 3.5.3 Gradle Plugin 2020-08-03 14:31:27 +03:00
LegacyGamerHD 8376e7541f Update .travis.yml 2020-08-03 13:29:12 +02:00
LegacyGamerHD 2ee7be113c Update .travis.yml 2020-08-03 13:24:23 +02:00
LegacyGamerHD 50520593d7 eccept it 2020-08-03 13:20:26 +02:00
LegacyGamerHD 2c8a0887a5 add the gradlew file 2020-08-03 13:13:27 +02:00
LegacyGamerHD fcbfd51979 Update .travis.yml 2020-08-03 13:08:26 +02:00
ArtDev edcb8492c2 Gradle Plaugin 2.3.0 2020-08-03 13:58:54 +03:00
ArtDev 3b628d2883 Set Gradle to gradle-5.4.1-all.zip 2020-08-03 13:51:00 +03:00
ArtDev 47a7be595e Travis build config 2020-08-03 13:46:41 +03:00
khanhduytran0 4bda2a8672 Design [Login screen]: Changed EditText color 2020-08-03 14:43:46 +07:00
root 32672372aa Fixed 'ClassCastException' from last commit 2020-08-03 14:13:41 +07:00
khanhduytran0 3d0264923d Design: UI more like Minecraft Launcher, change how font replaced 2020-08-03 14:07:11 +07:00
khanhduytran0 efffa26f2f Design [Login screen]: Logo are half in another layout now; Add Minecraft-Ten font 2020-08-03 12:50:18 +07:00
khanhduytran0 d02e5cdff2 Little compatible with dark theme; Attempt to bring Minecraft logo as similar as Minecraft Launcher PC 2020-08-03 09:25:32 +07:00
khanhduytran0 99dd12efce Design: attempt set Minecraft logo Z order 2020-08-03 07:40:45 +07:00
khanhduytran0 dda4e6f6c0 Design: add Minecraft logo at login screen 2020-08-03 07:03:08 +07:00
khanhduytran0 2434086335 Fixed some '%s' 2020-08-02 19:05:44 +07:00
khanhduytran0 ed6f15dd6f Removed unsaved offline account warning dialog 2020-08-02 18:56:20 +07:00
khanhduytran0 6345c352c2 Design: work in progress new design for login screen 2020-08-02 18:15:21 +07:00
khanhduytran0 7a92d86ad4 Start v2.5.3 development 2020-08-02 14:03:49 +07:00
Tran Khanh Duy 99e22c9a84 Merge pull request #261 from notfoundname/gl4es
Russian translation (untested)
2020-08-02 13:54:14 +07:00
notfoundname 3dd6abb623 wait 2020-08-02 13:37:27 +08:00
notfoundname 174f44c09a Russian translation (untested)
I don't know how to test this.
2020-08-02 13:36:04 +08:00
khanhduytran0 d545bf4bc8 Bumped to v2.5.2 (update build date) 2020-08-02 06:30:35 +07:00
khanhduytran0 487dcc8eee Commented out old multiDexEnabled (in buildTypes = release) 2020-08-02 06:23:57 +07:00
khanhduytran0 b4d7359366 RSAPadding: Attempt fix OptiFine by repatch on start done 2020-08-01 20:39:29 +07:00
khanhduytran0 3def5bd8a1 RSAPadding debug: temporary commented out some debug prints 2020-08-01 14:53:54 +07:00
khanhduytran0 fc951edf61 Error report: Split between fatal error and global error 2020-08-01 14:36:00 +07:00
khanhduytran0 a871fb1e48 (Android 6+) Default control json now will be saved after user grant storage permission 2020-08-01 14:30:42 +07:00
khanhduytran0 21eb5c0aa5 Error report: added FatalErrorActivity 2020-08-01 14:16:21 +07:00
khanhduytran0 6986c58853 RSAPadding Android 7+: add more debug 2020-08-01 13:42:49 +07:00
khanhduytran0 bc06d0a94e Fix startup crashed (Spinner) 2020-08-01 12:59:54 +07:00
khanhduytran0 c286c79722 Design: Change language area as a Spinner view 2020-08-01 12:12:01 +07:00
khanhduytran0 9924302604 Design: add earth icon 2020-08-01 07:50:29 +07:00
khanhduytran0 886bc74837 RSAPadding: Android 10 support 2020-08-01 07:49:49 +07:00
khanhduytran0 7868dff575 Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher into gl4es 2020-07-31 20:20:08 +07:00
khanhduytran0 534243e8ba RSAPadding: add ProviderList method dump because Android 10 not worked 2020-07-31 20:17:47 +07:00
Tran Khanh Duy 2d87c186eb Merge pull request #257 from LegacyGamerHD/pull2
fix Android- Error:Execution failed for task ':app:transformClassesWi…
2020-07-31 18:55:14 +07:00
LegacyGamerHD 5c2ce7534d fix Android- Error:Execution failed for task ':app:transformClassesWithDexForRelease' 2020-07-31 13:51:25 +02:00
khanhduytran0 a53d6ce0a4 Removed duplicate classes from boardwalk_lwjgl2_separate.jar 2020-07-31 18:24:10 +07:00
khanhduytran0 7abd75ae98 DEBUG: put LWJGL2 separate jar into (temporary) 2020-07-31 17:19:51 +07:00
khanhduytran0 755393cb10 RSAPadding: success 2 modified partial RSA cipher 2020-07-31 17:17:12 +07:00
khanhduytran0 b36cb0d45f LWJGL3: attempt 2020-07-31 14:50:37 +07:00
khanhduytran0 8d5f5e3126 Fixed LWJGL2 incorrect path (again) 2020-07-31 13:33:10 +07:00
khanhduytran0 09da15ef13 Debug log output: redirect error stream to output stream 2020-07-31 13:11:09 +07:00
khanhduytran0 99444d8b4a Moved 'Tools.libraries' to correct place, fix LWJGL2 incorrect path 2020-07-31 12:54:04 +07:00
khanhduytran0 9cd20869c3 Fixed loading LWJGL2 in incorrect path 2020-07-31 12:52:07 +07:00
khanhduytran0 24bda98648 Fix ClassNotFoundException again 2020-07-31 11:02:27 +07:00
khanhduytran0 b72184a8d8 LWJGL2: Moved some classes to launcher side fix 'ClassNotFoundException' 2020-07-31 10:41:48 +07:00
khanhduytran0 5c69b52161 Added 'optifine:launchwrapper-of:2.1' into ignore list 2020-07-31 10:19:39 +07:00
khanhduytran0 c3280d31ae Split boardwalk_lwjgl.jar into separate file; Re-extract libraries 2020-07-31 10:13:37 +07:00
khanhduytran0 73958353a8 Put org.lwjgl into separate file 2020-07-31 10:11:10 +07:00
khanhduytran0 5494ed6b86 LWJGL 3: debug add LWJGL3 classpath 2020-07-31 09:23:49 +07:00
Tran Khanh Duy e8bbe7ae68 Update README.md 2020-07-31 06:09:36 +07:00
Tran Khanh Duy 535725c149 Update README.md 2020-07-31 06:07:34 +07:00
khanhduytran0 0f9bf4608e Update build version 2020-07-31 05:58:36 +07:00
khanhduytran0 d14ef38b8f Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher into gl4es 2020-07-31 05:58:05 +07:00
khanhduytran0 0bda4a11fc CustomControls: exception print wrong object type 2020-07-31 05:55:58 +07:00
Tran Khanh Duy a0e61210c7 Merge pull request #256 from LegacyGamerHD/gl4es
add a gradle wrapper and fix building on android studio
2020-07-31 05:06:23 +07:00
LegacyGamerHD fc19594127 add a gradle warpper by default 2020-07-30 17:03:56 +02:00
LegacyGamerHD bb343f26da fix compiling 2020-07-30 16:34:13 +02:00
LegacyGamerHD 058a280ca4 Merge remote-tracking branch 'origin/gl4es' into gl4es 2020-07-30 16:28:25 +02:00
khanhduytran0 ee333d89c0 Update Polish translation: 'zoom' translate 2020-07-30 15:24:40 +07:00
LegacyGamerHD 511a9110b5 fix compiling 2020-07-29 11:37:38 +02:00
khanhduytran0 ed6efd7f9f RSAPadding: Android 6 unfixable warning 2020-07-28 16:41:29 +07:00
khanhduytran0 dfaff7ff33 RSAPadding: Android 7+ stage 2 attempt, not tested 2020-07-28 16:22:59 +07:00
khanhduytran0 9d347f2a66 RSAPadding: Android 7+ success first stage 2020-07-28 14:53:26 +07:00
khanhduytran0 03edbeb4cf Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher.git into gl4es 2020-07-28 13:41:43 +07:00
khanhduytran0 f16b70d988 Fix minor problem 2020-07-28 13:41:32 +07:00
khanhduytran0 2ec155fcf2 RSAPadding: Another attempt 2020-07-28 12:59:35 +07:00
khanhduytran0 3a3786bc7f RSAPadding: try a new way 2020-07-28 10:13:16 +07:00
Tran Khanh Duy 8759a9f85d Create LICENSE 2020-07-28 06:25:28 +07:00
khanhduytran0 120a3d3206 RSAPadding: hacky attempt to fix 2020-07-27 17:39:31 +07:00
khanhduytran0 39c3281f33 Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher into gl4es 2020-07-27 15:57:46 +07:00
khanhduytran0 ede65a8c90 RSAPadding: attempt 2020-07-27 15:56:11 +07:00
khanhduytran0 bd7a465a51 RSAPadding error report: add close() 2020-07-27 07:39:14 +07:00
khanhduytran0 5af41ff0b8 Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher.git into gl4es 2020-07-27 07:31:29 +07:00
khanhduytran0 6e0f5e819c Add RSAPadding error report; Rename some fields 2020-07-27 07:24:38 +07:00
khanhduytran0 b99ad2de4b Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher.git into gl4es 2020-07-26 08:05:53 +07:00
khanhduytran0 f87771b5e0 Minecraft exit changes; Attempt fix RSA Padding 2020-07-26 07:53:02 +07:00
khanhduytran0 5250faa924 Support Minecraft 1.13+ arguments parsing 2020-07-25 17:50:57 +07:00
khanhduytran0 65f1de276f UI now scaled correctly; Fix compile errors on SDK 26; Ignore download LWJGL 3 2020-07-24 12:51:55 +07:00
khanhduytran0 dfeb505373 Add Polish translation by @dawid5635 2020-07-22 16:02:08 +07:00
khanhduytran0 5f1e53e577 Fixes. Bumped to v2.5.1 2020-07-19 10:36:25 +07:00
khanhduytran0 2035ba6e06 Completely re-added fixed control after a broken custom control... 2020-07-19 09:36:22 +07:00
khanhduytran0 fb25891e3c Update prebuilt GL4ES libraries to 1.1.4 2020-07-19 09:31:07 +07:00
khanhduytran0 980389a1af Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher into gl4es 2020-07-19 06:30:20 +07:00
khanhduytran0 88370b1b7c Reset to 0f76135 2020-07-19 06:29:47 +07:00
khanhduytran0 9e68f13aec Add virtual mouse button a special Custom button 2020-06-11 05:19:05 +07:00
khanhduytran0 cd37263b35 Imported Custom controls from v3 2020-06-10 17:37:03 +07:00
khanhduytran0 4d008013ad Adding custom controls cause broken? 2020-05-05 13:18:39 +07:00
khanhduytran0 0f76135da8 Fix wrong word, fix OptiFine installer crash. 2020-05-05 09:12:34 +07:00
khanhduytran0 8ef9e2f4e6 Change some text 2020-04-27 06:10:03 +07:00
khanhduytran0 9807cf500c HandleView from AOSP for easy resize 2020-04-23 08:05:10 +07:00
khanhduytran0 186b89c12e Partial mapping default controls to custom controls 2020-04-21 19:33:32 +07:00
khanhduytran0 325835ddaa Remove update option, more work at custom control 2020-04-21 09:34:32 +07:00
khanhduytran0 da136c0011 Merge branch 'gl4es' of https://github.com/khanhduytran0/PojavLauncher into gl4es 2020-04-20 13:40:32 +07:00
khanhduytran0 cc005abb99 Fix attribute 2020-04-20 13:00:52 +07:00
khanhduytran0 6ea3a448b8 Update README.md 2020-04-20 05:29:57 +07:00
khanhduytran0 06a1640f9a Fix import 2020-04-19 10:31:45 +07:00
khanhduytran0 594b195dcc Fix wrong preview version 2020-04-18 06:12:19 +07:00
khanhduytran0 7c974c2f13 More features 2020-04-18 06:08:42 +07:00
khanhduytran0 d37c4ff464 version option 2020-04-16 10:46:27 +07:00
khanhduytran0 8f62e43f69 Remove Regal things 2020-04-15 14:29:07 +07:00
khanhduytran0 322dd12700 Merge pull request #4 from khanhduytran0/regal
Regal
2020-04-15 14:19:39 +07:00
khanhduytran0 6c240e2fa9 Option: forget OptiFine path 2020-04-15 14:16:32 +07:00
khanhduytran0 7a3256acc6 Merge pull request #3 from khanhduytran0/gl4es
Gl4es
2020-04-15 06:57:21 +07:00
khanhduytran0 7345102fb3 Merge branch 'regal' into gl4es 2020-04-15 06:57:04 +07:00
khanhduytran0 0a60407853 Preview11b3 2020-04-15 06:48:30 +07:00
khanhduytran0 08f5897cc1 More working at custom controls 2020-04-14 15:09:13 +07:00
khanhduytran0 ebb1cd9c7b Remove duplicate library 2020-04-14 13:35:39 +07:00
khanhduytran0 19e4088cc8 Minecraft now recognize correctly OpenGL version 2020-04-14 12:11:08 +07:00
khanhduytran0 22415b9925 Added original GLContext.java 2020-04-14 12:02:54 +07:00
khanhduytran0 02b4f07460 More Regal experimental 2020-04-14 10:32:57 +07:00
khanhduytran0 b390639fba Begin Regal! 2020-04-13 05:50:43 +07:00
khanhduytran0 a7eec7e082 Back to Apache Codec 1.14 2020-04-12 16:48:22 +07:00
khanhduytran0 7849771f3a Down to 26 2020-04-12 16:44:52 +07:00
khanhduytran0 616a76e238 Fix buld error in Android Studio 2020-04-11 15:30:08 +07:00
khanhduytran0 80c8aa6945 Android Studio compatibility 2020-04-11 15:05:51 +07:00
khanhduytran0 4ed0897ed7 Move setContentView to above because NullPointerException 2020-04-11 13:42:53 +07:00
khanhduytran0 e3b8f49cdd Forgot replace to R.layout.control_mapping 2020-04-11 13:39:41 +07:00
khanhduytran0 4a0505308c More little custom controls 2020-04-11 13:36:36 +07:00
khanhduytran0 cff85c1197 demo buttob 2020-04-11 11:06:43 +07:00
khanhduytran0 9a64dde80c Custom controls: can move or not 2020-04-11 09:52:18 +07:00
khanhduytran0 5666b2973a A little custom controls 2020-04-11 09:48:17 +07:00
khanhduytran0 b96b9489df Release preview 11 2020-04-11 08:55:32 +07:00
khanhduytran0 985ead7f68 Untracking generated files 2020-04-11 05:43:48 +07:00
khanhduytran0 5257c68a3a Fix init mult time, extract launcher_profiles.json 2020-04-11 05:39:49 +07:00
khanhduytran0 7d93ae9b8f Very little LWJGL 3 port 2020-04-10 20:00:14 +07:00
khanhduytran0 0d04a1ab1b launcher_profiles.json, Hold slot item of hotbar to drop 2020-04-10 08:56:03 +07:00
khanhduytran0 8b64eb8abc Back to old name 2020-04-09 15:54:54 +07:00
khanhduytran0 8930f236a0 Remove arm64-v8a, update debug if visible 2020-04-09 15:37:26 +07:00
khanhduytran0 19d267dfec Change web address, smaller code 2020-04-09 12:30:36 +07:00
khanhduytran0 e45068c880 Merge branch 'master' of https://github.com/khanhduytran0/PojavLauncherSource.git 2020-04-09 06:33:25 +07:00
khanhduytran0 4975eddb06 Smaller code 2020-04-09 06:29:39 +07:00
khanhduytran0 3f3e73c876 Update README.md 2020-04-08 18:24:22 +07:00
khanhduytran0 0bad37c1fc Merge branch fullawt to master 2020-04-08 17:37:38 +07:00
khanhduytran0 368fa5d305 AWT 2020-04-01 13:27:30 +07:00
khanhduytran0 acaed5a179 begin launcher_profiles.json support 2020-03-31 13:44:49 +07:00
khanhduytran0 125e2f4a5e Fix unconverted version go to run 2020-03-31 12:16:59 +07:00
khanhduytran0 420d9af8b2 Some work about preview8b1 2020-03-31 07:43:38 +07:00
khanhduytran0 90ead1cef7 Using Apache Codec 1.14 2020-03-30 09:28:36 +07:00
khanhduytran0 7e98ecfd41 Fix double letters on MC 1.9 and above 2020-03-30 06:24:38 +07:00
khanhduytran0 5932f03a03 fix not work 2020-03-29 17:39:34 +07:00
khanhduytran0 70c97f4c66 Fix double letters 2020-03-29 17:21:22 +07:00
khanhduytran0 23354ab0ca Change VMStack hidden API 2020-03-29 10:47:59 +07:00
khanhduytran0 79438184f8 Preview 7 2020-03-29 10:23:06 +07:00
khanhduytran0 8dc1b841fc Preview 6.1 2020-03-28 07:31:25 +07:00
khanhduytran0 62df7b204f More mini, add LaunchWrapper Android 2020-03-26 16:07:41 +07:00
khanhduytran0 8e78a26b08 Remove built-in launchwrapper 2020-03-25 15:41:38 +07:00
khanhduytran0 116591b01b Fix build error 2020-03-25 05:43:55 +07:00
khanhduytran0 f6fd1c152b Move com.android to com.pojavdx 2020-03-25 05:36:13 +07:00
khanhduytran0 8cedf73bde Prepare for preview5 2020-03-23 20:09:52 +07:00
khanhduytran0 ee10455d0c Fix not breakline, fix inaccessible 2020-03-22 05:35:28 +07:00
khanhduytran0 d1e9314280 Work 2020-03-21 16:58:14 +07:00
khanhduytran0 b81a406655 Replace multidoj7 with PojavDX16 2020-03-21 14:44:06 +07:00
khanhduytran0 6d194ae356 Replace multidoj7 with dx1.16 (base multidoj16) 2020-03-21 05:09:16 +07:00
khanhduytran0 32b121cbd2 Some small changes 2020-03-19 17:07:50 +07:00
khanhduytran0 e1ce65eb29 Upload sources 2020-03-19 16:42:25 +07:00
khanhduytran0 86083535a8 Initial commit 2020-03-19 16:19:50 +07:00
304 changed files with 21961 additions and 126 deletions

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: Android CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build 64-bit APK with Gradle
run: |
mkdir -p out
chmod +x gradlew
./gradlew clean assembleDebug
mv app/build/outputs/apk/debug/app-debug.apk out/app-debug-64bit.apk
# find . -name "*.so"
- name: Build 32-bit APK with Gradle
run: |
replace="\, \"x86_64\" , \"arm64-v8a\""
sed -i "s/$replace//g" app/build.gradle
./gradlew assembleDebug
mv app/build/outputs/apk/debug/app-debug.apk out/app-debug-32bit.apk
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: app-debug
path: out
+2
View File
@@ -0,0 +1,2 @@
/build
/app/build
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\PointerCapture26Wrapper.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/PointerCapture26Wrapper.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\asm-tree-5.0.3.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/asm-tree-5.0.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_asm.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/boardwalk_asm.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_jinput.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/boardwalk_jinput.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_lwjgl.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/boardwalk_lwjgl.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_lzma.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/boardwalk_lzma.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\gson-2.8.6.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/gson-2.8.6.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\jopt-simple-5.0.4.jar:unspecified@jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/libs/jopt-simple-5.0.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="Gradle: android.arch.core:common:1.1.1@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.core/common/1.1.1/e55b70d1f5620db124b3e85a7f4bdc7bd48d9f95/common-1.1.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.core/common/1.1.1/ae9b923fc99c1fc5a7a9b6cedc6df8b2b8529c54/common-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="Gradle: android.arch.core:runtime:1.1.1@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/32c3c3c1ff1572cd4fbf4adc8b2e281b/runtime-1.1.1/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/32c3c3c1ff1572cd4fbf4adc8b2e281b/runtime-1.1.1/res" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.core/runtime/1.1.1/25df553df10af32bede9dd768a2d15299543d84/runtime-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="Gradle: android.arch.lifecycle:common:1.1.1@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/common/1.1.1/207a6efae6a3555e326de41f76bdadd9a239cbce/common-1.1.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/common/1.1.1/bcdaa509a856d1430e736b102f899aa9870a8f83/common-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="Gradle: android.arch.lifecycle:livedata:1.1.1@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/855199d21a2457dffd94f776f414402b/livedata-1.1.1/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/855199d21a2457dffd94f776f414402b/livedata-1.1.1/res" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/livedata/1.1.1/bf27acaa4953c98cd519756ed7b7caacf94407d4/livedata-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="Gradle: android.arch.lifecycle:livedata-core:1.1.1@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/0c580ad6917269345b415f2689381fa7/livedata-core-1.1.1/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/0c580ad6917269345b415f2689381fa7/livedata-core-1.1.1/res" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/livedata-core/1.1.1/c38818e006ea7a408c05e3090364332d46494ef/livedata-core-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="Gradle: android.arch.lifecycle:runtime:1.1.1@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/912d14cf8b7da59afd70a06b1ab8df17/runtime-1.1.1/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/912d14cf8b7da59afd70a06b1ab8df17/runtime-1.1.1/res" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/runtime/1.1.1/8e4214221b3797b863dc9998d16abb4af043e784/runtime-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="Gradle: android.arch.lifecycle:viewmodel:1.1.1@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e30d9e6f3403e84c4cae532d406e4009/viewmodel-1.1.1/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e30d9e6f3403e84c4cae532d406e4009/viewmodel-1.1.1/res" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/viewmodel/1.1.1/d1cc8e805317f171be63c68341f499acda7e42d6/viewmodel-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:animated-vector-drawable:24.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/75877556ef6481fccd342946f0c48eda/animated-vector-drawable-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/75877556ef6481fccd342946f0c48eda/animated-vector-drawable-24.0.0/res" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/animated-vector-drawable/24.0.0/7cdb85f9bda31e9a1a885a9d35bded49d7bfda79/animated-vector-drawable-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/animated-vector-drawable/24.0.0/1a9454b9d6a39997960dc49990e46d70398ce220/animated-vector-drawable-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:animated-vector-drawable:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c82b71cc23f1f749201c229f1e0919f8/animated-vector-drawable-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c82b71cc23f1f749201c229f1e0919f8/animated-vector-drawable-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:appcompat-v7:24.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/944544cad7c677d407c6328370bb2d6b/appcompat-v7-24.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/944544cad7c677d407c6328370bb2d6b/appcompat-v7-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/944544cad7c677d407c6328370bb2d6b/appcompat-v7-24.0.0/res" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/appcompat-v7/24.0.0/1dee1f847e0681d78ab66161730cb2de984d3a9d/appcompat-v7-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/appcompat-v7/24.0.0/62f5a92844ab233aca69beadc350d772b8b44b85/appcompat-v7-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:appcompat-v7:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7f5f0b3369d8fa8a72a20e2278ec0acc/appcompat-v7-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7f5f0b3369d8fa8a72a20e2278ec0acc/appcompat-v7-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7f5f0b3369d8fa8a72a20e2278ec0acc/appcompat-v7-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:asynclayoutinflater:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e2a5a2145c109898fc28f4778cc59fa2/asynclayoutinflater-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e2a5a2145c109898fc28f4778cc59fa2/asynclayoutinflater-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:cardview-v7:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/45af0f91ec351e1a1c603d501e9b45b7/cardview-v7-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/45af0f91ec351e1a1c603d501e9b45b7/cardview-v7-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:collections:28.0.0@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/collections/28.0.0/c1bcdade4d3cc2836130424a3f3e4182c666a745/collections-28.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:coordinatorlayout:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/2f9ffac3f9aa7c3da9b2ea0a60bff798/coordinatorlayout-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/2f9ffac3f9aa7c3da9b2ea0a60bff798/coordinatorlayout-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/2f9ffac3f9aa7c3da9b2ea0a60bff798/coordinatorlayout-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:cursoradapter:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/f89186d3faa35207960141dbf97e7823/cursoradapter-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/f89186d3faa35207960141dbf97e7823/cursoradapter-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:customview:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b82955ed32a4ee277723d8123c155ac3/customview-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b82955ed32a4ee277723d8123c155ac3/customview-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:design:24.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7406d0210466456f7f2a18769322be/design-24.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7406d0210466456f7f2a18769322be/design-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7406d0210466456f7f2a18769322be/design-24.0.0/res" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/design/24.0.0/4e7a74da078c5b1e11fd4485cefba1390a88c290/design-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/design/24.0.0/eafe125bfb8f8971b1e717c04a01446b944c238e/design-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:design:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9d7250a774d78c6da773e4ce19c93e82/design-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9d7250a774d78c6da773e4ce19c93e82/design-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9d7250a774d78c6da773e4ce19c93e82/design-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:documentfile:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/6382b0a1555e0e71f2a2930dfe6b1d66/documentfile-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/6382b0a1555e0e71f2a2930dfe6b1d66/documentfile-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:drawerlayout:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e393f8741de26a3dcc6eeb170bd18679/drawerlayout-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e393f8741de26a3dcc6eeb170bd18679/drawerlayout-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/e393f8741de26a3dcc6eeb170bd18679/drawerlayout-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:interpolator:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9f66af0770fd83464340388aae824c93/interpolator-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9f66af0770fd83464340388aae824c93/interpolator-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:loader:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/776dfa9be835a7a130740bd6b0619584/loader-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/776dfa9be835a7a130740bd6b0619584/loader-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:localbroadcastmanager:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/ab60f6dd6ef13cb57d98ea7973f298c0/localbroadcastmanager-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/ab60f6dd6ef13cb57d98ea7973f298c0/localbroadcastmanager-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:print:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/441dd746fc5507909e127eaa50801847/print-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/441dd746fc5507909e127eaa50801847/print-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/441dd746fc5507909e127eaa50801847/print-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:recyclerview-v7:24.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/5e9dfaae4dbe56458c785c60383ff02f/recyclerview-v7-24.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/5e9dfaae4dbe56458c785c60383ff02f/recyclerview-v7-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/5e9dfaae4dbe56458c785c60383ff02f/recyclerview-v7-24.0.0/res" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/recyclerview-v7/24.0.0/1a7422282d41a7cc03967d984f98c3cc2403b366/recyclerview-v7-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/recyclerview-v7/24.0.0/7d5bcb1d9d740c56fa29a830e5430bae461c4c5b/recyclerview-v7-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:recyclerview-v7:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/711cd693cb47fa08b9b342d9a2815457/recyclerview-v7-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/711cd693cb47fa08b9b342d9a2815457/recyclerview-v7-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/711cd693cb47fa08b9b342d9a2815457/recyclerview-v7-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:slidingpanelayout:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c98a9bc0a455ab0200cce6feac99fa67/slidingpanelayout-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c98a9bc0a455ab0200cce6feac99fa67/slidingpanelayout-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-annotations:24.0.0@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-annotations/24.0.0/2943c74db6d4346ab8c6531adac91fa05c137c40/support-annotations-24.0.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-annotations/24.0.0/1860f9b872b4c4a2940e44aff2a923e2c6a6125d/support-annotations-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-annotations/24.0.0/95108bd6693b3b1a192e750e29d5b57bf36a651b/support-annotations-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-annotations:28.0.0@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-annotations/28.0.0/ed73f5337a002d1fd24339d5fb08c2c9d9ca60d8/support-annotations-28.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-compat:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b73d0db3c489aeab8b531c92b0313ef9/support-compat-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b73d0db3c489aeab8b531c92b0313ef9/support-compat-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b73d0db3c489aeab8b531c92b0313ef9/support-compat-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-core-ui:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/240ad4e7c0a4c0f0ac07ba22afac43c2/support-core-ui-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/240ad4e7c0a4c0f0ac07ba22afac43c2/support-core-ui-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-core-utils:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/13f115cc5d5138e9ed6d7046dab5d030/support-core-utils-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/13f115cc5d5138e9ed6d7046dab5d030/support-core-utils-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-fragment:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bc3876738bdb5d8e498d8c27630d1092/support-fragment-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bc3876738bdb5d8e498d8c27630d1092/support-fragment-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bc3876738bdb5d8e498d8c27630d1092/support-fragment-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-media-compat:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7ba19d4c13a915d31338854ea04490b4/support-media-compat-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7ba19d4c13a915d31338854ea04490b4/support-media-compat-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/7ba19d4c13a915d31338854ea04490b4/support-media-compat-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,18 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-v4:24.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/be53f99ed6133cd79ec12244f8e69ea0/support-v4-24.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/be53f99ed6133cd79ec12244f8e69ea0/support-v4-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/be53f99ed6133cd79ec12244f8e69ea0/support-v4-24.0.0/res" />
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/be53f99ed6133cd79ec12244f8e69ea0/support-v4-24.0.0/jars/libs/internal_impl-24.0.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-v4/24.0.0/6de54e5f4f33e1b3f15fe239f0fedce9867bfdb3/support-v4-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-v4/24.0.0/16200284c24098f46a52d93f8f608486423369de/support-v4-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-v4:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/5e6c966e41283eb28599ac75ae8916f4/support-v4-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/5e6c966e41283eb28599ac75ae8916f4/support-v4-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-vector-drawable:24.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9a930d2ee4ded0c4ef412c68b5a80450/support-vector-drawable-24.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/9a930d2ee4ded0c4ef412c68b5a80450/support-vector-drawable-24.0.0/res" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-vector-drawable/24.0.0/6de54e5f4f33e1b3f15fe239f0fedce9867bfdb3/support-vector-drawable-24.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.android.support/support-vector-drawable/24.0.0/200498b6cb999f720daae0e89725984b46192534/support-vector-drawable-24.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:support-vector-drawable:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/6c361ce609604c8b37cbff4112761818/support-vector-drawable-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/6c361ce609604c8b37cbff4112761818/support-vector-drawable-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:swiperefreshlayout:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/8756cea37b098f254fcf1c05271849e1/swiperefreshlayout-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/8756cea37b098f254fcf1c05271849e1/swiperefreshlayout-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/8756cea37b098f254fcf1c05271849e1/swiperefreshlayout-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:transition:28.0.0@aar">
<ANNOTATIONS>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a191153422ddfd26478c8b99811273f5/transition-28.0.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a191153422ddfd26478c8b99811273f5/transition-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a191153422ddfd26478c8b99811273f5/transition-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:versionedparcelable:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b93ddaf99704c9896c23344bb8a6cc5b/versionedparcelable-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/b93ddaf99704c9896c23344bb8a6cc5b/versionedparcelable-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="Gradle: com.android.support:viewpager:28.0.0@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/4660acd0807cc71ba66bee2bd6cbbbe5/viewpager-28.0.0/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/4660acd0807cc71ba66bee2bd6cbbbe5/viewpager-28.0.0/res" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: com.wu-man:android-bsf-api:3.1.3@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.wu-man/android-bsf-api/3.1.3/f89b7955c5b01302e2227d75ee9ee24e5dc611fb/android-bsf-api-3.1.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.wu-man/android-bsf-api/3.1.3/627f8295fa1ae98e7d5b89dc1784fe4cb83a9093/android-bsf-api-3.1.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.wu-man/android-bsf-api/3.1.3/7b4fe6354c0df85bd90d0e902a92a32b8a4f5ceb/android-bsf-api-3.1.3-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Gradle: commons-codec:commons-codec:20041127.091804@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/20041127.091804/17b1ff59f0916ac7bcff704e712415a0d49d468d/commons-codec-20041127.091804.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Gradle: javax.annotation:javax.annotation-api:1.3.2@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.3.2/934c04d3cfef185a8008e7bf34331b79730a9d43/javax.annotation-api-1.3.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.3.2/cbbe0a4445e038f75c4c8aea3179bd17108ec57e/javax.annotation-api-1.3.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.3.2/65dfd2c47380bf72ec62a5b8c4ceb78a4eda1a53/javax.annotation-api-1.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>
+58
View File
@@ -0,0 +1,58 @@
language: android
sudo: required
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=26
- ANDROID_BUILD_TOOLS_VERSION=26.0.0
- ANDROID_ABI=armeabi-v7a
- ANDROID_ABI=X86
- ANDROID_ABI=ARMEABI_V7A
android:
components:
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
- extra-android-m2repository
licenses:
- yes | sudo sdkmanager --licenses
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-26"
- yes | sdkmanager "build-tools;26.0.0"
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
before_script:
- chmod +x gradlew
script:
- ./gradlew clean build
- ./gradlew test
deploy:
provider: releases
api-key: $GITHUB_API_KEY
file: $TRAVIS_BUILD_DIR/app/build/outputs/apk/debug/app-debug.apk
skip_cleanup: true
name: PojavLauncher-v3_DevBuild-$TRAVIS_COMMIT
body: Automatic build of PojavLauncher from the latest source commit ($TRAVIS_COMMIT) built by Travis CI on $(date +'%F %T %Z').
prerelease: true
overwrite: true
target_commitish: $TRAVIS_COMMIT
# on: [push]
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+26 -126
View File
@@ -1,131 +1,31 @@
[![Android CI](https://github.com/PojavLauncherTeam/PojavLauncher/workflows/Android%20CI/badge.svg)](https://github.com/PojavLauncherTeam/PojavLauncher/actions)
# PojavLauncher
A Minecraft: Java Edition launcher for Android based from Boardwalk. Support up-to Minecraft 1.11
A Minecraft: Java Edition launcher for Android based from Boardwalk. This branch is intended to support 1.13+
## Source code
- This repository currently for bug tracking.
- There are some open source parts used in this launcher.
## This branch?
- Attempt to run Minecraft in OpenJDK, similar way with Boardwalk 2.
## Planning
- There's no planning.
## About OpenJDK 9 Java Runtime Mobile
Build script: [PojavLauncherTeam/android-openjdk-build-multiarch](https://github.com/PojavLauncherTeam/android-openjdk-build-multiarch)<br>
Source code: http://hg.openjdk.java.net/mobile/jdk9 <br>
Architectures:
- For ARMv7 (aarch32): **working**.
- For ARM64 (aarch64): **working**.
- For x86 (i\*86): **working**.
- For x86_64 (amd64): **working**.
## iOS version?
- Impossible for directly run. RoboVM is AOT Compiler. You could also try UTM with Android-x86.
## Current status
- [x] **Removed** ~~BinaryExecutor: execute `java` binary, no `JNIInvocation`.~~
- [x] **Temporary removed** ~~JVDroid OpenJDK 11 (32 and 64-bit ARM and x86). Partial, no error `can't lock mutex`, but now exit with none output.~~
- [x] OpenJDK 9 Mobile port: ARM32, ARM64, x86, x86_64.
- [x] Mod installer headless
- [ ] Mod installer with GUI. Will try own graphics environment~~use `Caciocavallo` project~~.
- [x] OpenGL in OpenJDK environment
- [x] OpenAL (work on most devices)
- [x] Input keyboard and mouse events from ART to OpenJDK environment
- [x] Support Minecraft 1.12.2 and below. Used [lwjglx](https://github.com/PojavLauncherTeam/lwjglx), a LWJGL2 compatibility layer for LWJGL3.
- [x] Support Minecraft 1.13 and above. Used [GLFW stub](https://github.com/PojavLauncherTeam/lwjgl3-glfw-java).
- [ ] More...
## Installing OptiFine?
Follow steps [here](https://github.com/khanhduytran0/PojavLauncher/wiki/Install-OptiFine).
## Installing Forge?
Not implemented yet.
## Known issues
- Some Huawei devices can't run Minecraft or OptiFine.
- Can't run multiple versions at same time.
## Got some bugs?
### • Unable to drag item in inventory?
Disable touchscreen mode. Open Minecraft Settings -> Controls -> Touchscreen Mode: Toggle to OFF.
### • Unable to install Minecraft 1.9 or above, can't convert library `net.java.dev.jna`
Increase max DX references. Launcher Options -> Settings -> Increase max DX references to 8k.
### • Other bugs or still not working?
#### Report an issue with:
- Full error log: press **Show more** and copy.
#### If it isn't a Minecraft crash:
- Device name
- Android version
## Minecraft versions worked in PojavLauncher 2.4.2
<table>
<thead>
<tr>
<th></th>
<th align="center" colspan="7">Minecraft version</th>
</tr>
<tr>
<th>Android</th>
<th align="center">1.7.10</th>
<th align="center">1.8</th>
<th align="center">1.9</th>
<th align="center">1.10</th>
<th align="center">1.11</th>
<th align="center">1.12</th>
<th align="center">1.12.2</th>
</tr>
</thead>
<tbody>
<tr>
<td>5.x</td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center">???</td>
<td align="center">???</td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
</tr>
<tr>
<td>6.0</td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center">???</td>
<td align="center">???</td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
</tr>
</tbody>
<tbody>
<tr>
<td>7.x</td>
<td align="center">???</td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">No</a></td>
</tr>
<tr>
<td>8.x</td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center">???</td>
<td align="center">???</td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
</tr>
</tbody>
<tbody>
<tr>
<td>9.0</td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><b>Yes</b></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
</tr>
<tr>
<td>10.0</td>
<td align="center"><a href="https://github.com/khanhduytran0/PojavLauncher/issues/7#issue-586928527"><b>Yes</b></a></td>
<td align="center"><a href="https://github.com/khanhduytran0/PojavLauncher/issues/7#issue-586928527"><b>Yes</b></a></td>
<td align="center"><a href="https://github.com/khanhduytran0/PojavLauncher/issues/7#issue-586928527"><b>Yes</b></a></td>
<td align="center"><a href="https://github.com/khanhduytran0/PojavLauncher/issues/7#issue-586928527"><b>Yes</b></a></td>
<td align="center"><a href="https://github.com/khanhduytran0/PojavLauncher/issues/7#issue-586928527"><b>Yes</b></a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
<td align="center"><a href="https://stackoverflow.com/a/57861173">Java8</a></td>
</tr>
</tbody>
</table>
## OptiFine worked in PojavLauncher 2.4.2
|Android version | 9.0 |???|???|Manually Android 10|9.0|
|-----------------|------|---|---|-----|-----|
|Minecraft version|1.7.10|1.8|1.9| 1.10| 1.11|
|OptiFine |OptiFine_1.7.10_HD_U_E7|???|???|OptiFine_1.10_HD_U_H5|OptiFine_1.11_HD_U_F5|
|Status |[Worked](https://youtu.be/In_EPebQG7Q)|???|???|[Worked (manually)](https://youtu.be/TJeJcPFgzcI)|[Worked (with 1 hack)](https://youtu.be/eIawM9UmQ88)
## License
- PojavLauncher is licensed under GPLv3.
+140
View File
@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.5.3" />
<option name="LAST_KNOWN_AGP_VERSION" value="3.5.3" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/resValues/debug" />
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/build/intermediates/javac/debug/classes" />
<output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugUnitTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\asm-tree-5.0.3.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_asm.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_jinput.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_lwjgl.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\boardwalk_lzma.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\gson-2.8.6.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\jopt-simple-5.0.4.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncherSource\app\libs\PointerCapture26Wrapper.jar:unspecified@jar" level="project" />
<orderEntry type="library" name="Gradle: javax.annotation:javax.annotation-api:1.3.2@jar" level="project" />
<orderEntry type="library" name="Gradle: commons-codec:commons-codec:20041127.091804@jar" level="project" />
<orderEntry type="library" name="Gradle: com.wu-man:android-bsf-api:3.1.3@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:collections:28.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.1.1@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:common:1.1.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:28.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-v4:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:design:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-media-compat:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-fragment:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:recyclerview-v7:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-ui:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:transition:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:loader:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:viewpager:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:coordinatorlayout:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:drawerlayout:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:slidingpanelayout:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:customview:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:swiperefreshlayout:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:asynclayoutinflater:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-compat:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:versionedparcelable:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:cursoradapter:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:cardview-v7:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime:1.1.1@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:documentfile:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:localbroadcastmanager:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:print:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:interpolator:28.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:viewmodel:1.1.1@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata:1.1.1@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata-core:1.1.1@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:runtime:1.1.1@aar" level="project" />
</component>
</module>
+81
View File
@@ -0,0 +1,81 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
abortOnError false
}
signingConfigs {
customDebug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
defaultConfig {
applicationId "net.kdt.pojavlaunch"
minSdkVersion 21
targetSdkVersion 26
versionCode 156235
versionName "3.2.0t6_6406b_20201007"
multiDexEnabled true //important
ndk {
// Do not edit below as 32bit and 64bit are built separately
// or ask @khanhduytran0 before edit below, as the text replacer may be broken.
abiFilters "armeabi-v7a" , "x86" , "x86_64" , "arm64-v8a"
}
}
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.customDebug
}
release {
// Don't set to true or java.awt will be a.a or something similar.
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// defaultConfig already set
// multiDexEnabled = true
debuggable = true
}
}
externalNativeBuild {
ndkBuild {
path file('src/main/jni/Android.mk')
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'commons-codec:commons-codec:1.14'
implementation 'com.wu-man:android-bsf-api:3.1.3'
implementation 'com.android.support:support-v4:26.0.0'
implementation 'com.android.support:preference-v7:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0'
implementation 'com.android.support:preference-v14:26.0.0'
implementation 'com.android.support:design:26.0.0'
implementation 'com.android.support:support-annotations:26.0.0'
// compile 'com.google.guava:guava:24.0-android'
implementation 'org.tukaani:xz:1.8'
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\tools\adt-bundle-windows-x86_64-20131030\sdk/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 *;
#}
-keep class !android.support.v7.internal.view.menu.**,android.support.** {*;}
+72
View File
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.kdt.pojavlaunch">
<uses-feature android:glEsVersion="0x00020000"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:name=".PojavApplication"
android:theme="@style/AppTheme"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:roundIcon="@drawable/ic_launcher"
android:resizeableActivity="true">
<meta-data
android:name="android.max_aspect"
android:value="ratio_float"/>
<activity
android:screenOrientation="sensorLandscape"
android:label="@string/app_short_name"
android:name=".PojavLoginActivity"
android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:theme="@style/MenuDialog"
android:screenOrientation="sensorLandscape"
android:name=".FatalErrorActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:screenOrientation="sensorLandscape"
android:name=".MCLauncherActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:screenOrientation="sensorLandscape"
android:name=".PojavLauncherActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:screenOrientation="sensorLandscape"
android:name=".InstallModActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:screenOrientation="sensorLandscape"
android:name=".CustomControlsActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:launchMode="standard"
android:multiprocess="true"
android:screenOrientation="sensorLandscape"
android:name=".MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity
android:screenOrientation="sensorLandscape"
android:name=".prefs.LauncherPreferenceActivity"
android:configChanges="keyboardHidden|orientation|screenSize"/>
</application>
</manifest>
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
%s BETA (Minecraft Java launcher for Android), version %s by Tran Khanh Duy (based from "Boardwalk" app)<br>
* Using libraries:<br>
• ClassWrapperMC: A simple wrapper to help launching Minecraft LaunchWrapper on JRE9 and later.<br>
• gl4es: OpenGL for OpenGL ES devices by lunixbochs and ptitSeb.<br>
• OpenJDK JRE 10 for Android by dongfangxunlei.<br>
• Apache Commons Compress.<br>
• LWJGL.<br>
* License:<br>
• This application and ClassWrapperMC are licensed under <a href="https://github.com/khanhduytran0/PojavLauncher/blob/master/LICENSE">Apache License 2.0</a>.<br>
* Third party licenses:<br>
• Apache Commons Compress (unknown or Apache License 2.0).<br>
• gl4es: <a href="https://github.com/ptitSeb/gl4es/blob/master/LICENSE">MIT License</a>.<br>
• LegacyLauncher: (unknown license).<br>
• OpenJDK: <a href="https://openjdk.java.net/legal/gplv2+ce.html">GNU GPLv2 License</a>.<br>
• PRoot: <a href="https://github.com/termux/proot/blob/master/COPYING">GNU GPLv2 License</a>.<br>
• TheQVD XVnc Pro: <a href="https://github.com/theqvd/qvd-client-android/blob/master/LICENSE.txt">GNU GPLv3 License</a>.<br>
• LWJGL: <a href="http://legacy.lwjgl.org/license.php.html">LWJGL 2's License</a>.<br><br>
• Debian libraries: Multiple licenses.<br>
• BusyBox: <a href="https://busybox.net/license.html">GNU GPL License</a><br>
* Notes:<br>
- This app is under development and will not be stable.<br>
- This app is not affiliated with Minecraft, Mojang or Microsoft.
+33
View File
@@ -0,0 +1,33 @@
Version 2.4.2
* Changed (user):
- Translate is easier than before.
- UI layout now fit to the big screen.
- Fixed click event triggered after touch screen.
- Migrated libraries, versions, gamedir folders to /sdcard/games/minecraft
- Added option set max DX references.
* Changed (development):
- Redesigned partially of UI.
- Added 'Do not show again' to warning to unsupported Android version.
- Moved strings to /res/values/strings.xml for easy translating.
- Fixed touch event trigger as click on LWJGL (exist from Boardwalk)
- Migrate all folders to single to match Java.
- Added javax.sound.midi, javax.script.
- Moved to use JsonArguments
* The first as '#' for FIXED or DID IT.
* Or as '$' for PARTIAL '#'.
* Know issuses from 2.4 affect in Android 9 devices.
- Cannot find class 'com.google.guava.?' (#E0402)
* TODO of the launcher:
# Clean unused AWT classes.
# Optimize more performance of AWT classes.
$ Fill in all missing classes.
$ Redesign user interface.
$ Run without VMOS (VMOS takes ~500MB for secondary Android system).
- External mouse tracker.
- Make LWJGL3 and GLFW translator code to LWJGL2.
- Support client 1.13 and above.
+92
View File
@@ -0,0 +1,92 @@
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to
provide a free and open framework in which fonts may be shared and
improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software
components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to,
deleting, or substituting -- in part or in whole -- any of the
components of the Original Version, by changing formats or by porting
the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed,
modify, redistribute, and sell modified and unmodified copies of the
Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in
Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created using
the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.
File renamed without changes.
+32
View File
@@ -0,0 +1,32 @@
- multidoj is a modified version of dx.jar (dexer tool).
- It creates raw dex files and a resources.jar in multidoj folder, make the RAM usage is fewer than dx.
- multidoj implements multidex and process listener for embedding to an app.
NOTE: multidoj24 is unstable on Android 7.0 and up. So may not support...
How to use multidoj:
- For embedding to your app:
+ Make sure you have added these import:
// Begin code
import com.android.dx.observer.ObserverStatus;
// End code
+ Next, set the listener when processing files:
// Begin code
ObserverStatus.setListener(new ObserverStatus.ProcessListener(){
@Override
public void onProcess(String msg, int max, int current) {
// Implements your code here
}
});
// End code
+ Finally, convert a file:
// Begin code
String INPUT_FILE = "(your input file path)";
String OUTPUT_FILE = "(your output file path)";
com.android.dx.command.Main.main(
"--dex", "--output", OUTPUT_FILE, INPUT_FILE
);
// End code
- For load via JarClassLoader
NOTE: Only dexer feature has observer.
+96
View File
@@ -0,0 +1,96 @@
invertYMouse:false
mouseSensitivity:0.5
fov:0.0
gamma:0.5070422
saturation:0.0
renderDistance:2
guiScale:3
particles:1
bobView:false
anaglyph3d:false
advancedOpengl:false
maxFps:260
fboEnable:true
difficulty:2
fancyGraphics:false
ao:0
clouds:true
resourcePacks:[]
lastServer:
lang:en_US
chatVisibility:0
chatColors:true
chatLinks:true
chatLinksPrompt:true
chatOpacity:1.0
snooperEnabled:true
fullscreen:true
enableVsync:false
hideServerAddress:false
advancedItemTooltips:false
pauseOnLostFocus:true
showCape:true
touchscreen:false
overrideWidth:0
overrideHeight:0
heldItemTooltips:true
chatHeightFocused:1.0
chatHeightUnfocused:0.44366196
chatScale:1.0
chatWidth:1.0
showInventoryAchievementHint:false
mipmapLevels:0
anisotropicFiltering:1
streamBytesPerPixel:0.5
streamMicVolume:1.0
streamSystemVolume:1.0
streamKbps:0.5412844
streamFps:0.31690142
streamCompression:1
streamSendMetadata:true
streamPreferredServer:
streamChatEnabled:0
streamChatUserFilter:0
streamMicToggleBehavior:0
forceUnicodeFont:false
key_key.attack:-100
key_key.use:-99
key_key.forward:17
key_key.left:30
key_key.back:31
key_key.right:32
key_key.jump:57
key_key.sneak:42
key_key.drop:16
key_key.inventory:18
key_key.chat:20
key_key.playerlist:15
key_key.pickItem:-98
key_key.command:53
key_key.screenshot:60
key_key.togglePerspective:63
key_key.smoothCamera:0
key_key.sprint:29
key_key.streamStartStop:64
key_key.streamPauseUnpause:65
key_key.streamCommercial:0
key_key.streamToggleMic:0
key_key.fullscreen:87
key_key.hotbar.1:2
key_key.hotbar.2:3
key_key.hotbar.3:4
key_key.hotbar.4:5
key_key.hotbar.5:6
key_key.hotbar.6:7
key_key.hotbar.7:8
key_key.hotbar.8:9
key_key.hotbar.9:10
soundCategory_master:1.0
soundCategory_music:1.0
soundCategory_record:1.0
soundCategory_weather:1.0
soundCategory_block:1.0
soundCategory_hostile:1.0
soundCategory_neutral:1.0
soundCategory_player:1.0
soundCategory_ambient:1.0
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,120 @@
/*
* Copyright (C) 2012 Paul Burke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ipaulpro.afilechooser;
import android.content.*;
import android.view.*;
import android.widget.*;
import java.io.*;
import java.util.*;
import net.kdt.pojavlaunch.*;
/**
* List adapter for Files.
*
* @version 2013-12-11
* @author paulburke (ipaulpro)
*
* @addDate 2018-08-08
* @addToMyProject khanhduy032
*/
public class FileListAdapter extends BaseAdapter {
private final static int ICON_FOLDER = R.drawable.ic_folder;
private final static int ICON_FILE = R.drawable.ic_file;
private final LayoutInflater mInflater;
private List<File> mData = new ArrayList<File>();
public FileListAdapter(Context context) {
mInflater = LayoutInflater.from(context);
}
public void add(File file) {
mData.add(file);
notifyDataSetChanged();
}
public void remove(File file) {
mData.remove(file);
notifyDataSetChanged();
}
public void insert(File file, int index) {
mData.add(index, file);
notifyDataSetChanged();
}
public void clear() {
mData.clear();
notifyDataSetChanged();
}
@Override
public File getItem(int position) {
return mData.get(position);
}
@Override
public long getItemId(int position) {
return position;
}
@Override
public int getCount() {
return mData.size();
}
public List<File> getListItems() {
return mData;
}
/**
* Set the list items without notifying on the clear. This prevents loss of
* scroll position.
*
* @param data
*/
public void setListItems(List<File> data) {
mData = data;
notifyDataSetChanged();
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View row = convertView;
if (row == null)
row = mInflater.inflate(android.R.layout.simple_list_item_1, parent, false);
TextView view = (TextView) row;
// Get the file at the current position
final File file = getItem(position);
// Set the TextView as the file name
view.setText(file.getName());
// If the item is not a directory, use the file icon
int icon = file.isDirectory() ? ICON_FOLDER : ICON_FILE;
view.setCompoundDrawablesWithIntrinsicBounds(icon, 0, 0, 0);
return row;
}
}
@@ -0,0 +1,141 @@
package com.kdt.filerapi;
import android.support.v7.app.*;
import android.content.*;
import android.util.*;
import android.view.*;
import android.widget.*;
import android.widget.AdapterView.*;
import com.ipaulpro.afilechooser.*;
import java.io.*;
import java.util.*;
import net.kdt.pojavlaunch.*;
import android.os.*;
public class FileListView extends LinearLayout
{
//For list view:
private String fullPath;
private ListView mainLv;
private Context context;
//For File selected listener:
private FileSelectedListener listener;
private AlertDialog build;
private String lockPath = "/";
public FileListView(AlertDialog build) {
this(build.getContext(), null);
this.build = build;
}
public FileListView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public FileListView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
init(context);
}
public void init(final Context context) {
//Main setup:
this.context = context;
LayoutParams layParam = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
setOrientation(VERTICAL);
mainLv = new ListView(context);
//listFileAt(Environment.getExternalStorageDirectory().getPath());
mainLv.setOnItemClickListener(new OnItemClickListener(){
@Override
public void onItemClick(AdapterView<?> p1, View p2, int p3, long p4)
{
// TODO: Implement this method
File mainFile = new File(p1.getItemAtPosition(p3).toString());
if (p3 == 0 && !lockPath.equals(fullPath)) {
parentDir();
} else {
listFileAt(mainFile.getAbsolutePath());
}
}
});
mainLv.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener(){
@Override
public boolean onItemLongClick(AdapterView<?> p1, View p2, int p3, long p4)
{
// TODO: Implement this method
File mainFile = new File(p1.getItemAtPosition(p3).toString());
if (mainFile.isFile()) {
listener.onFileLongClick(mainFile, mainFile.getAbsolutePath());
return true;
}
return false;
}
});
addView(mainLv, layParam);
listFileAt(Environment.getExternalStorageDirectory().getAbsolutePath());
}
public void setFileSelectedListener(FileSelectedListener listener)
{
this.listener = listener;
}
public void listFileAt(final String path)
{
try{
final File mainPath = new File(path);
if(mainPath.exists()){
if(mainPath.isDirectory()){
fullPath = path;
File[] listFile = mainPath.listFiles();
FileListAdapter fileAdapter = new FileListAdapter(context);
if(!path.equals(lockPath)){
//fileAdapter.add(new File(path, "Path=\""+path+"\".noEquals(homePath=\""+homePath+"\")"));
fileAdapter.add(new File(path, ".."));
}
if(listFile.length != 0){
Arrays.sort(listFile, new SortFileName());
for(File file : listFile){
fileAdapter.add(file);
}
}
mainLv.setAdapter(fileAdapter);
if (build != null) build.setTitle(new File(path).getName());
} else {
listener.onFileSelected(mainPath, path);
}
} else {
Toast.makeText(context, "This folder (or file) doesn't exist", Toast.LENGTH_SHORT).show();
refreshPath();
}
} catch (Exception e){
Tools.showError(context, e);
}
}
public String getFullPath(){
return fullPath;
}
public void refreshPath() {
listFileAt(getFullPath());
}
public void parentDir() {
File pathFile = new File(fullPath);
if(!pathFile.getAbsolutePath().equals("/")){
listFileAt(pathFile.getParent());
}
}
public void lockPathAt(String path) {
lockPath = path;
listFileAt(path);
}
}
@@ -0,0 +1,9 @@
package com.kdt.filerapi;
import java.io.File;
public abstract class FileSelectedListener
{
public abstract void onFileSelected(File file, String path);
public void onFileLongClick(File file, String path) {}
}
@@ -0,0 +1,13 @@
package com.kdt.filerapi;
import java.io.*;
import java.util.*;
public class SortFileName implements Comparator<File>
{
@Override
public int compare(File f1, File f2) {
return f1.getName().compareToIgnoreCase(f2.getName());
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,239 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
import android.content.*;
import android.view.*;
import android.view.View.*;
import android.view.ViewGroup.*;
import android.widget.*;
import java.lang.reflect.*;
import net.kdt.pojavlaunch.*;
import android.view.View.OnClickListener;
import net.kdt.pojavlaunch.value.customcontrols.*;
import android.support.v7.app.*;
public class ActionPopupWindow extends PinnedPopupWindow implements OnClickListener {
private static final int POPUP_TEXT_LAYOUT = getInternalId("layout", "text_edit_action_popup_text");
private TextView mEditTextView;
private TextView mDeleteTextView;
public ActionPopupWindow(HandleView handleView) {
super(handleView);
}
private static int getInternalId(String type, String name) {
try {
for (Class perType : Class.forName("com.android.internal.R").getDeclaredClasses()) {
if (perType.getSimpleName().equals(type)) {
try {
Field f = perType.getDeclaredField(name);
f.setAccessible(true);
return (int) f.get(null);
} catch (Throwable th) {
th.printStackTrace();
}
}
}
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
// If unable to find in com.android.internal.R, go find in android.R
for (Class perType : android.R.class.getDeclaredClasses()) {
if (perType.getSimpleName().equals(type)) {
try {
Field f = perType.getDeclaredField(name);
f.setAccessible(true);
return (int) f.get(null);
} catch (Throwable th) {
th.printStackTrace();
}
}
}
return -1;
}
@Override
protected void createPopupWindow() {
mPopupWindow = new PopupWindow(mHandleView.getContext(), null, getInternalId("attr", "textSelectHandleWindowStyle"));
mPopupWindow.setClippingEnabled(true);
}
@Override
protected void initContentView() {
LinearLayout linearLayout = new LinearLayout(mHandleView.getContext());
linearLayout.setOrientation(LinearLayout.HORIZONTAL);
mContentView = linearLayout;
mContentView.setBackgroundResource(getInternalId("drawable", "text_edit_paste_window"));
LayoutInflater inflater = (LayoutInflater) mHandleView.getContext().
getSystemService(Context.LAYOUT_INFLATER_SERVICE);
LayoutParams wrapContent = new LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
mEditTextView = (TextView) inflater.inflate(POPUP_TEXT_LAYOUT, null);
mEditTextView.setLayoutParams(wrapContent);
mContentView.addView(mEditTextView);
mEditTextView.setText(R.string.global_edit);
mEditTextView.setOnClickListener(this);
mDeleteTextView = (TextView) inflater.inflate(POPUP_TEXT_LAYOUT, null);
mDeleteTextView.setLayoutParams(wrapContent);
mContentView.addView(mDeleteTextView);
mDeleteTextView.setText(getInternalId("string", "delete"));
mDeleteTextView.setOnClickListener(this);
}
@Override
public void show() {
super.show();
}
@Override
public void onClick(final View view) {
AlertDialog.Builder alert = new AlertDialog.Builder(view.getContext());
alert.setCancelable(false);
if (view == mEditTextView) {
alert.setTitle(view.getResources().getString(R.string.global_edit) + " " + mHandleView.mView.getText());
alert.setView(R.layout.control_setting);
alert.setPositiveButton(android.R.string.ok, null);
alert.setNegativeButton(android.R.string.cancel, null);
final AlertDialog dialog = alert.create();
final ControlButton properties = mHandleView.mView.getProperties();
dialog.setOnShowListener(new DialogInterface.OnShowListener() {
@Override
public void onShow(DialogInterface dialogInterface) {
final LinearLayout normalBtnLayout = dialog.findViewById(R.id.controlsetting_normalbtnlayout);
final EditText editName = dialog.findViewById(R.id.controlsetting_edit_name);
editName.setText(properties.name);
final Spinner spinnerKeycode = dialog.findViewById(R.id.controlsetting_spinner_lwjglkeycode);
ArrayAdapter<String> adapter = new ArrayAdapter<String>(view.getContext(), android.R.layout.simple_spinner_item);
String[] oldSpecialArr = ControlButton.buildSpecialButtonArray();
String[] specialArr = new String[oldSpecialArr.length];
for (int i = 0; i < specialArr.length; i++) {
specialArr[i] = "SPECIAL_" + oldSpecialArr[i];
}
adapter.addAll(specialArr);
adapter.addAll(AndroidLWJGLKeycode.generateKeyName());
adapter.setDropDownViewResource(android.R.layout.simple_list_item_single_choice);
spinnerKeycode.setAdapter(adapter);
if (properties.keycode < 0) {
spinnerKeycode.setSelection(properties.keycode + 2);
} else {
spinnerKeycode.setSelection(AndroidLWJGLKeycode.getIndexByLWJGLKey(properties.keycode + 2));
}
spinnerKeycode.setOnItemSelectedListener(new Spinner.OnItemSelectedListener(){
@Override
public void onItemSelected(AdapterView<?> adapter, View view, int position, long id) {
normalBtnLayout.setVisibility(id < 2 ? View.GONE : View.VISIBLE);
}
@Override
public void onNothingSelected(AdapterView<?> adapter){
// Unused
}
});
final CheckBox checkHidden = dialog.findViewById(R.id.controlsetting_checkbox_hidden);
checkHidden.setChecked(properties.hidden);
Button button = dialog.getButton(AlertDialog.BUTTON_POSITIVE);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view2) {
if (editName.getText().toString().isEmpty()) {
editName.setError(view.getResources().getString(R.string.global_error_field_empty));
} else {
properties.keycode = AndroidLWJGLKeycode.getKeyIndex(spinnerKeycode.getSelectedItemPosition()) - 2;
properties.name = editName.getText().toString();
properties.hidden = checkHidden.isChecked();
mHandleView.mView.updateProperties();
dialog.dismiss();
}
}
});
}
});
dialog.show();
} else if (view == mDeleteTextView) {
alert.setMessage(view.getResources().getString(getInternalId("string", "delete")) + " " + mHandleView.mView.getText() + "?");
alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface p1, int p2)
{
ControlsLayout layout = ((ControlsLayout) mHandleView.mView.getParent());
layout.removeControlButton(mHandleView.mView);
}
});
alert.setNegativeButton(android.R.string.cancel, null);
alert.show();
}
hide();
}
@Override
protected int getTextOffset() {
return 0;
// return (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2;
}
@Override
protected int getVerticalLocalPosition(int line) {
// return mTextView.getLayout().getLineTop(line) - mContentView.getMeasuredHeight();
return 0;
}
@Override
protected int clipVertically(int positionY) {
/*
if (positionY < 0) {
final int offset = getTextOffset();
final Layout layout = mTextView.getLayout();
final int line = layout.getLineForOffset(offset);
positionY += layout.getLineBottom(line) - layout.getLineTop(line);
positionY += mContentView.getMeasuredHeight();
// Assumes insertion and selection handles share the same height
final Drawable handle = mHandleView.getContext().getDrawable(
mTextView.mTextSelectHandleRes);
positionY += handle.getIntrinsicHeight();
}
*/
return positionY;
}
}
@@ -0,0 +1,424 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
import android.graphics.*;
import android.graphics.drawable.*;
import android.os.*;
import android.text.*;
import android.view.*;
import android.widget.*;
import android.content.*;
import java.lang.reflect.*;
import net.kdt.pojavlaunch.*;
import net.kdt.pojavlaunch.value.customcontrols.*;
public abstract class HandleView extends View implements ViewPositionListener, View.OnLongClickListener
{
protected Drawable mDrawable;
protected Drawable mDrawableLtr;
protected Drawable mDrawableRtl;
private final PopupWindow mContainer;
// Position with respect to the parent TextView
private int mPositionX, mPositionY;
private boolean mIsDragging;
// Offset from touch position to mPosition
private float mTouchToWindowOffsetX, mTouchToWindowOffsetY;
protected int mHotspotX;
protected int mHorizontalGravity;
// Offsets the hotspot point up, so that cursor is not hidden by the finger when moving up
private float mTouchOffsetY;
// Where the touch position should be on the handle to ensure a maximum cursor visibility
private float mIdealVerticalOffset;
// Parent's (TextView) previous position in window
private int mLastParentX, mLastParentY;
// Transient action popup window for Paste and Replace actions
protected ActionPopupWindow mActionPopupWindow;
// Previous text character offset
private int mPreviousOffset = -1;
// Previous text character offset
private boolean mPositionHasChanged = true;
// Used to delay the appearance of the action popup window
private Runnable mActionPopupShower;
// Minimum touch target size for handles
private int mMinSize;
protected ControlView mView;
// MOD: Addition. Save old size of parent
private int mDownWidth, mDownHeight;
// int mWindowPosX, mWindowPosY;
private PositionListener mPositionListener;
public PositionListener getPositionListener() {
if (mPositionListener == null) {
mPositionListener = new PositionListener(mView);
}
return mPositionListener;
}
private int getInternalId(String type, String name) {
try {
for (Class perType : Class.forName("com.android.internal.R").getDeclaredClasses()) {
if (perType.getSimpleName().equals(type)) {
try {
Field f = perType.getDeclaredField(name);
f.setAccessible(true);
return (int) f.get(null);
} catch (Throwable th) {
th.printStackTrace();
}
}
}
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
return -1;
}
public HandleView(ControlView view) {
super(view.getContext());
mView = view;
mDownWidth = view.getLayoutParams().width;
mDownHeight = view.getLayoutParams().height;
mContainer = new PopupWindow(view.getContext(), null, getInternalId("attr", "textSelectHandleWindowStyle"));
mContainer.setSplitTouchEnabled(true);
mContainer.setClippingEnabled(false);
mContainer.setWindowLayoutType(WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL);
mContainer.setContentView(this);
mDrawableLtr = view.getContext().getDrawable(R.drawable.text_select_handle_left_material);
mDrawableRtl = view.getContext().getDrawable(R.drawable.text_select_handle_right_material);
mMinSize = view.getContext().getResources().getDimensionPixelSize(getInternalId("dimen", "text_handle_min_size"));
setOnLongClickListener(this);
updateDrawable();
final int handleHeight = getPreferredHeight();
mTouchOffsetY = -0.3f * handleHeight;
mIdealVerticalOffset = 0.7f * handleHeight;
}
protected void updateDrawable() {
// final int offset = getCurrentCursorOffset();
final boolean isRtlCharAtOffset = true; // mView.getLayout().isRtlCharAt(offset);
mDrawable = isRtlCharAtOffset ? mDrawableRtl : mDrawableLtr;
mHotspotX = getHotspotX(mDrawable, isRtlCharAtOffset);
mHorizontalGravity = getHorizontalGravity(isRtlCharAtOffset);
}
protected abstract int getHotspotX(Drawable drawable, boolean isRtlRun);
protected abstract int getHorizontalGravity(boolean isRtlRun);
// Touch-up filter: number of previous positions remembered
private static final int HISTORY_SIZE = 5;
private static final int TOUCH_UP_FILTER_DELAY_AFTER = 150;
private static final int TOUCH_UP_FILTER_DELAY_BEFORE = 350;
private final long[] mPreviousOffsetsTimes = new long[HISTORY_SIZE];
private final int[] mPreviousOffsets = new int[HISTORY_SIZE];
private int mPreviousOffsetIndex = 0;
private int mNumberPreviousOffsets = 0;
private void startTouchUpFilter(int offset) {
mNumberPreviousOffsets = 0;
addPositionToTouchUpFilter(offset);
}
private void addPositionToTouchUpFilter(int offset) {
mPreviousOffsetIndex = (mPreviousOffsetIndex + 1) % HISTORY_SIZE;
mPreviousOffsets[mPreviousOffsetIndex] = offset;
mPreviousOffsetsTimes[mPreviousOffsetIndex] = SystemClock.uptimeMillis();
mNumberPreviousOffsets++;
}
private void filterOnTouchUp() {
final long now = SystemClock.uptimeMillis();
int i = 0;
int index = mPreviousOffsetIndex;
final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE);
while (i < iMax && (now - mPreviousOffsetsTimes[index]) < TOUCH_UP_FILTER_DELAY_AFTER) {
i++;
index = (mPreviousOffsetIndex - i + HISTORY_SIZE) % HISTORY_SIZE;
}
if (i > 0 && i < iMax &&
(now - mPreviousOffsetsTimes[index]) > TOUCH_UP_FILTER_DELAY_BEFORE) {
positionAtCursorOffset(mPreviousOffsets[index], false);
}
}
public boolean offsetHasBeenChanged() {
return mNumberPreviousOffsets > 1;
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
setMeasuredDimension(getPreferredWidth(), getPreferredHeight());
}
private int getPreferredWidth() {
return Math.max(mDrawable.getIntrinsicWidth(), mMinSize);
}
private int getPreferredHeight() {
return Math.max(mDrawable.getIntrinsicHeight(), mMinSize);
}
public void show() {
if (isShowing()) return;
getPositionListener().addSubscriber(this, true /* local position may change */);
// Make sure the offset is always considered new, even when focusing at same position
mPreviousOffset = -1;
positionAtCursorOffset(getCurrentCursorOffset(), false);
hideActionPopupWindow();
}
protected void dismiss() {
mIsDragging = false;
mContainer.dismiss();
onDetached();
}
public void hide() {
dismiss();
getPositionListener().removeSubscriber(this);
}
void showActionPopupWindow(int delay) {
if (mActionPopupWindow == null) {
mActionPopupWindow = new ActionPopupWindow(this);
}
if (mActionPopupShower == null) {
mActionPopupShower = new Runnable() {
public void run() {
mActionPopupWindow.show();
}
};
} else {
mView.removeCallbacks(mActionPopupShower);
}
mView.postDelayed(mActionPopupShower, delay);
}
protected void hideActionPopupWindow() {
if (mActionPopupShower != null) {
mView.removeCallbacks(mActionPopupShower);
}
if (mActionPopupWindow != null) {
mActionPopupWindow.hide();
}
}
public boolean isShowing() {
return mContainer.isShowing();
}
private boolean isVisible() {
// Always show a dragging handle.
if (mIsDragging) {
return true;
}
return mView.getVisibility() == View.VISIBLE;
}
public abstract int getCurrentCursorOffset();
protected abstract void updateSelection(int offset);
public abstract void updatePosition(float x, float y);
protected void positionAtCursorOffset(int offset, boolean parentScrolled) {
mPositionX = (int) (mView.getWidth() / 1.1);
mPositionY = mView.getHeight();
mPositionHasChanged = true;
}
public void updatePosition(int parentPositionX, int parentPositionY,
boolean parentPositionChanged, boolean parentScrolled) {
positionAtCursorOffset(getCurrentCursorOffset(), parentScrolled);
if (parentPositionChanged || mPositionHasChanged) {
if (mIsDragging) {
// Update touchToWindow offset in case of parent scrolling while dragging
if (parentPositionX != mLastParentX || parentPositionY != mLastParentY) {
mTouchToWindowOffsetX += parentPositionX - mLastParentX;
mTouchToWindowOffsetY += parentPositionY - mLastParentY;
mLastParentX = parentPositionX;
mLastParentY = parentPositionY;
}
onHandleMoved();
}
if (isVisible()) {
final int positionX = parentPositionX + mPositionX;
final int positionY = parentPositionY + mPositionY;
/*
mWindowPosX = positionX;
mWindowPosY = positionY;
*/
if (isShowing()) {
mContainer.update(positionX, positionY, -1, -1);
} else {
mContainer.showAtLocation(mView, Gravity.NO_GRAVITY,
positionX, positionY);
}
} else {
if (isShowing()) {
dismiss();
}
}
mPositionHasChanged = false;
}
}
@Override
protected void onDraw(Canvas c) {
final int drawWidth = mDrawable.getIntrinsicWidth();
final int left = getHorizontalOffset();
mDrawable.setBounds(left, 0, left + drawWidth, mDrawable.getIntrinsicHeight());
mDrawable.draw(c);
}
private int getHorizontalOffset() {
final int width = getPreferredWidth();
final int drawWidth = mDrawable.getIntrinsicWidth();
final int left;
switch (mHorizontalGravity) {
case Gravity.LEFT:
left = 0;
break;
default:
case Gravity.CENTER:
left = (width - drawWidth) / 2;
break;
case Gravity.RIGHT:
left = width - drawWidth;
break;
}
return left;
}
protected int getCursorOffset() {
return 0;
}
// MOD: Addition
@Override
public boolean onLongClick(View view) {
showActionPopupWindow(0);
return true;
}
// MOD: Addition
private float mDownX, mDownY;
@Override
public boolean onTouchEvent(MotionEvent ev) {
ViewGroup.LayoutParams params = mView.getLayoutParams();
switch (ev.getActionMasked()) {
case MotionEvent.ACTION_DOWN: {
startTouchUpFilter(getCurrentCursorOffset());
mTouchToWindowOffsetX = ev.getRawX() - mPositionX;
mTouchToWindowOffsetY = ev.getRawY() - mPositionY;
final PositionListener positionListener = getPositionListener();
mLastParentX = positionListener.getPositionX();
mLastParentY = positionListener.getPositionY();
mIsDragging = true;
// MOD: Addition
mDownX = ev.getRawX();
mDownY = ev.getRawY();
mDownWidth = params.width;
mDownHeight = params.height;
break;
}
case MotionEvent.ACTION_MOVE: {
final float rawX = ev.getRawX();
final float rawY = ev.getRawY();
// Vertical hysteresis: vertical down movement tends to snap to ideal offset
final float previousVerticalOffset = mTouchToWindowOffsetY - mLastParentY;
final float currentVerticalOffset = rawY - mPositionY - mLastParentY;
float newVerticalOffset;
if (previousVerticalOffset < mIdealVerticalOffset) {
newVerticalOffset = Math.min(currentVerticalOffset, mIdealVerticalOffset);
newVerticalOffset = Math.max(newVerticalOffset, previousVerticalOffset);
} else {
newVerticalOffset = Math.max(currentVerticalOffset, mIdealVerticalOffset);
newVerticalOffset = Math.min(newVerticalOffset, previousVerticalOffset);
}
mTouchToWindowOffsetY = newVerticalOffset + mLastParentY;
final float newPosX = rawX - mTouchToWindowOffsetX + mHotspotX;
final float newPosY = rawY - mTouchToWindowOffsetY + mTouchOffsetY;
int newWidth = (int) (mDownWidth + (rawX - mDownX));
int newHeight = (int) (mDownHeight + (rawY - mDownY));
if (newWidth > 49) params.width = newWidth;
if (newHeight > 49) params.height = newHeight;
mView.setLayoutParams(params);
updatePosition(newPosX, newPosY);
// break;
return true;
}
case MotionEvent.ACTION_UP:
filterOnTouchUp();
mIsDragging = false;
break;
case MotionEvent.ACTION_CANCEL:
mIsDragging = false;
break;
}
return false; // super.onTouchEvent(ev);
}
public boolean isDragging() {
return mIsDragging;
}
void onHandleMoved() {
hideActionPopupWindow();
}
public void onDetached() {
hideActionPopupWindow();
}
}
@@ -0,0 +1,142 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
import android.util.*;
import android.view.*;
import android.view.ViewGroup.*;
import android.widget.*;
public abstract class PinnedPopupWindow implements ViewPositionListener {
protected PopupWindow mPopupWindow;
protected ViewGroup mContentView;
int mPositionX, mPositionY;
protected HandleView mHandleView;
protected abstract void createPopupWindow();
protected abstract void initContentView();
protected abstract int getTextOffset();
protected abstract int getVerticalLocalPosition(int line);
protected abstract int clipVertically(int positionY);
public PinnedPopupWindow(HandleView handleView) {
mHandleView = handleView;
createPopupWindow();
mPopupWindow.setWindowLayoutType(WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL);
mPopupWindow.setWidth(ViewGroup.LayoutParams.WRAP_CONTENT);
mPopupWindow.setHeight(ViewGroup.LayoutParams.WRAP_CONTENT);
initContentView();
LayoutParams wrapContent = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT);
mContentView.setLayoutParams(wrapContent);
mPopupWindow.setContentView(mContentView);
}
public void show() {
mHandleView.getPositionListener().addSubscriber(this, false /* offset is fixed */);
computeLocalPosition();
final PositionListener positionListener = mHandleView.getPositionListener();
updatePosition(positionListener.getPositionX(), positionListener.getPositionY());
}
protected void measureContent() {
final DisplayMetrics displayMetrics = mHandleView.getResources().getDisplayMetrics();
mContentView.measure(
View.MeasureSpec.makeMeasureSpec(displayMetrics.widthPixels,
View.MeasureSpec.AT_MOST),
View.MeasureSpec.makeMeasureSpec(displayMetrics.heightPixels,
View.MeasureSpec.AT_MOST));
}
/* The popup window will be horizontally centered on the getTextOffset() and vertically
* positioned according to viewportToContentHorizontalOffset.
*
* This method assumes that mContentView has properly been measured from its content. */
private void computeLocalPosition() {
measureContent();
/*
final int width = mContentView.getMeasuredWidth();
final int offset = getTextOffset();
mPositionX = (int) (mTextView.getLayout().getPrimaryHorizontal(offset) - width / 2.0f);
mPositionX += mTextView.viewportToContentHorizontalOffset();
final int line = mTextView.getLayout().getLineForOffset(offset);
mPositionY = getVerticalLocalPosition(line);
mPositionY += mTextView.viewportToContentVerticalOffset();
*/
/*
mPositionX = (int) mHandleView.mView.getTranslationX();
mPositionY = (int) mHandleView.mView.getTranslationY();
*/
mPositionY = mHandleView.mView.getHeight();
}
private void updatePosition(int parentPositionX, int parentPositionY) {
int positionX = parentPositionX + mPositionX;
int positionY = parentPositionY + mPositionY;
positionY = clipVertically(positionY);
// Horizontal clipping
final DisplayMetrics displayMetrics = mHandleView.getResources().getDisplayMetrics();
final int width = mContentView.getMeasuredWidth();
positionX = Math.min(displayMetrics.widthPixels - width, positionX);
positionX = Math.max(0, positionX);
if (isShowing()) {
mPopupWindow.update(positionX, positionY, -1, -1);
} else {
mPopupWindow.showAtLocation(mHandleView, Gravity.NO_GRAVITY,
positionX, positionY);
}
}
public void hide() {
mPopupWindow.dismiss();
mHandleView.getPositionListener().removeSubscriber(this);
}
@Override
public void updatePosition(int parentPositionX, int parentPositionY,
boolean parentPositionChanged, boolean parentScrolled) {
// Either parentPositionChanged or parentScrolled is true, check if still visible
if (isShowing()) {
if (parentScrolled) computeLocalPosition();
updatePosition(parentPositionX, parentPositionY);
} else {
hide();
}
}
public boolean isShowing() {
return mPopupWindow.isShowing();
}
}
@@ -0,0 +1,119 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
import android.view.*;
public class PositionListener implements ViewTreeObserver.OnPreDrawListener {
// 3 handles
// 3 ActionPopup [replace, suggestion, easyedit] (suggestionsPopup first hides the others)
// 1 CursorAnchorInfoNotifier
private final int MAXIMUM_NUMBER_OF_LISTENERS = 7;
private ViewPositionListener[] mPositionListeners =
new ViewPositionListener[MAXIMUM_NUMBER_OF_LISTENERS];
private boolean mCanMove[] = new boolean[MAXIMUM_NUMBER_OF_LISTENERS];
private boolean mPositionHasChanged = true;
// Absolute position of the TextView with respect to its parent window
private int mPositionX, mPositionY;
private int mNumberOfListeners;
private boolean mScrollHasChanged;
final int[] mTempCoords = new int[2];
private View mView;
public PositionListener(View view) {
mView = view;
}
public void addSubscriber(ViewPositionListener positionListener, boolean canMove) {
if (mNumberOfListeners == 0) {
updatePosition();
ViewTreeObserver vto = mView.getViewTreeObserver();
vto.addOnPreDrawListener(this);
}
int emptySlotIndex = -1;
for (int i = 0; i < MAXIMUM_NUMBER_OF_LISTENERS; i++) {
ViewPositionListener listener = mPositionListeners[i];
if (listener == positionListener) {
return;
} else if (emptySlotIndex < 0 && listener == null) {
emptySlotIndex = i;
}
}
mPositionListeners[emptySlotIndex] = positionListener;
mCanMove[emptySlotIndex] = canMove;
mNumberOfListeners++;
}
public void removeSubscriber(ViewPositionListener positionListener) {
for (int i = 0; i < MAXIMUM_NUMBER_OF_LISTENERS; i++) {
if (mPositionListeners[i] == positionListener) {
mPositionListeners[i] = null;
mNumberOfListeners--;
break;
}
}
if (mNumberOfListeners == 0) {
ViewTreeObserver vto = mView.getViewTreeObserver();
vto.removeOnPreDrawListener(this);
}
}
public int getPositionX() {
return mPositionX;
}
public int getPositionY() {
return mPositionY;
}
@Override
public boolean onPreDraw() {
updatePosition();
for (int i = 0; i < MAXIMUM_NUMBER_OF_LISTENERS; i++) {
if (mPositionHasChanged || mScrollHasChanged || mCanMove[i]) {
ViewPositionListener positionListener = mPositionListeners[i];
if (positionListener != null) {
positionListener.updatePosition(mPositionX, mPositionY,
mPositionHasChanged, mScrollHasChanged);
}
}
}
mScrollHasChanged = false;
return true;
}
private void updatePosition() {
mView.getLocationInWindow(mTempCoords);
mPositionHasChanged = mTempCoords[0] != mPositionX || mTempCoords[1] != mPositionY;
mPositionX = mTempCoords[0];
mPositionY = mTempCoords[1];
}
public void onScrollChanged() {
mScrollHasChanged = true;
}
}
@@ -0,0 +1,77 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
import android.graphics.drawable.*;
import android.text.*;
import android.view.*;
import android.os.*;
import net.kdt.pojavlaunch.value.customcontrols.*;
public class SelectionEndHandleView extends HandleView
{
public SelectionEndHandleView(ControlView view) {
super(view);
}
@Override
protected int getHotspotX(Drawable drawable, boolean isRtlRun) {
if (isRtlRun) {
return (drawable.getIntrinsicWidth() * 3) / 4;
} else {
return drawable.getIntrinsicWidth() / 4;
}
}
@Override
protected int getHorizontalGravity(boolean isRtlRun) {
return isRtlRun ? Gravity.LEFT : Gravity.RIGHT;
}
@Override
public int getCurrentCursorOffset() {
return 0; // mView.getSelectionEnd();
}
@Override
public void show() {
super.show();
showActionPopupWindow(0);
}
@Override
public void updateSelection(int offset) {
// Selection.setSelection((Spannable) mView.getText(), mView.getSelectionStart(), offset);
updateDrawable();
}
@Override
public void updatePosition(float x, float y) {
// updatePosition((int) x, (int) y, false, false);
positionAtCursorOffset(0, false);
}
/*
public void setActionPopupWindow(ActionPopupWindow actionPopupWindow) {
mActionPopupWindow = actionPopupWindow;
}
*/
}
@@ -0,0 +1,24 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This class has been splited from android/widget/Editor$HandleView.java
*/
package com.kdt.handleview;
public interface ViewPositionListener {
public void updatePosition(int parentPositionX, int parentPositionY, boolean parentPositionChanged, boolean parentScrolled);
}
@@ -0,0 +1,103 @@
package com.kdt.mcgui;
import android.content.*;
import android.graphics.*;
import android.graphics.drawable.*;
import android.util.*;
import android.view.*;
import android.widget.*;
import android.view.View.*;
import net.kdt.pojavlaunch.*;
public class MineButton extends Button
{
private ColorDrawable left = new ColorDrawable(Color.parseColor("#80000000"));
private ColorDrawable top = new ColorDrawable(Color.parseColor("#64FC20"));
private ColorDrawable right = new ColorDrawable(Color.parseColor("#40000000"));
private ColorDrawable bottom = new ColorDrawable(Color.parseColor("#80000000"));
private ColorDrawable bgNormal = new ColorDrawable(Color.parseColor("#36b030"));
private ColorDrawable leftFocus = new ColorDrawable(Color.parseColor("#C2000000"));
private ColorDrawable topFocus = new ColorDrawable(Color.parseColor("#80313131"));
private ColorDrawable rightFocus = new ColorDrawable(Color.parseColor("#C2000000"));
private ColorDrawable bottomFocus = new ColorDrawable(Color.parseColor("#C2000000"));
private ColorDrawable bgFocus = new ColorDrawable(Color.parseColor("#313131"));
private boolean isUp = true;
private Drawable[] DrawableArray = new Drawable[]{
top,
left,
right,
bottom,
bgNormal
};
private Drawable[] DrawableArrayFocus = new Drawable[]{
topFocus,
leftFocus,
rightFocus,
bottomFocus,
bgFocus
};
private LayerDrawable layerdrawable, layerdrawablefocus;
public MineButton(Context ctx) {
this(ctx, null);
}
public MineButton(Context ctx, AttributeSet attrs) {
super(ctx, attrs);
init();
}
public void init() {
getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
@Override
public void onGlobalLayout() {
layerdrawable = new LayerDrawable(DrawableArray);
layerdrawable.setLayerInset(0, 0, 0, 0, 0); // top
layerdrawable.setLayerInset(1, 0, 8, getWidth() - 8,0); // left
layerdrawable.setLayerInset(2, getWidth() - 8, 8, 0, 0); // right
layerdrawable.setLayerInset(3, 0, getHeight() - 8, 0, 0); // bottom
layerdrawable.setLayerInset(4, 8, 8, 8, 8); // bg
layerdrawablefocus = new LayerDrawable(DrawableArrayFocus);
layerdrawablefocus.setLayerInset(0, 0, 0, 0, 0); // top
layerdrawablefocus.setLayerInset(1, 0, 8, getWidth() - 8,0); // left
layerdrawablefocus.setLayerInset(2, getWidth() - 8, 8, 0, 0); // right
layerdrawablefocus.setLayerInset(3, 0, getHeight() - 8, 0, 0); // bottom
layerdrawablefocus.setLayerInset(4, 8, 8, 8, 8); // bg
setBackgroundDrawable(layerdrawable);
setTextColor(Color.WHITE);
setPadding(10, 10, 10, 10);
//setOnTouchListener(null);
}
});
setTypeface(Typeface.createFromAsset(getContext().getAssets(), "font/NotoSans-Bold.ttf"));
}
@Override
public void setEnabled(boolean enabled)
{
super.setEnabled(enabled);
setBackgroundDrawable(enabled ? layerdrawable : layerdrawablefocus);
}
@Override
public boolean onTouchEvent(MotionEvent event)
{
if ((event.getAction() == event.ACTION_UP) && !isUp && isEnabled()) {
setBackgroundDrawable(layerdrawable);
isUp = true;
} else if (event.getAction() == event.ACTION_DOWN && isUp) {
setBackgroundDrawable(layerdrawablefocus);
isUp = false;
}
return super.onTouchEvent(event);
}
}
@@ -0,0 +1,29 @@
package com.kdt.mcgui;
import android.content.*;
import android.util.*;
import android.widget.*;
import net.kdt.pojavlaunch.*;
import android.graphics.*;
public class MineEditText extends EditText
{
public MineEditText(Context ctx)
{
super(ctx);
init();
}
public MineEditText(Context ctx, AttributeSet attrs)
{
super(ctx, attrs);
init();
}
public void init()
{
// setBackgroundResource(R.drawable.border_edittext);
setBackgroundColor(Color.parseColor("#131313"));
setPadding(5, 5, 5, 5);
}
}
@@ -0,0 +1,134 @@
package com.kdt.mcgui.app;
import android.content.pm.*;
import android.os.*;
import android.support.v7.app.*;
import android.view.*;
import android.widget.*;
import net.kdt.pojavlaunch.*;
import java.util.*;
import android.content.*;
import com.kdt.mcgui.*;
public class MineActivity extends AppCompatActivity implements View.OnClickListener
{
private int topId = 150001;
private boolean showBeforeView = true;
private ImageButton menu;
private LinearLayout content, undertop;
private LayoutInflater li;
@Override
protected void onCreate(Bundle savedInstanceState) {
this.onCreate(savedInstanceState, true);
}
protected void onCreate(Bundle savedInstanceState, boolean showBeforeView) {
super.onCreate(savedInstanceState);
this.showBeforeView = showBeforeView;
if (showBeforeView) {
mcUIInit();
}
}
private void mcUIInit() {
RelativeLayout root = new RelativeLayout(this);
LinearLayout top = new LinearLayout(this);
top.setId(topId);
content = new LinearLayout(this);
RelativeLayout btm = new RelativeLayout(this);
li = LayoutInflater.from(this);
li.inflate(R.layout.top_bar, top, true);
li.inflate(R.layout.bottom_bar, btm, true);
FontChanger.changeFonts(btm);
// replaceFont((TextView) top.findViewById(R.id.topbar_navmenu_changelang));
Spinner changeLangSpinner = ((Spinner) top.findViewById(R.id.topbar_navmenu_changelang));
// Locale l = getResources().getConfiguration().locale;
RelativeLayout.LayoutParams conLay = new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
conLay.addRule(root.BELOW, topId);
conLay.bottomMargin = 66;
content.setLayoutParams(conLay);
root.addView(top, new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));
root.addView(content);
root.addView(btm);
super.setContentView(root);
TextView ver = (TextView) findViewById(R.id.bottombar_version_view);
menu = (ImageButton) findViewById(R.id.topbar_navmenu_icon);
setMenuVisible(false);
undertop = (LinearLayout) findViewById(R.id.topbar_undertop_view);
try {
ver.setText(getPackageManager().getPackageInfo(getPackageName(), 0).versionName);
} catch (PackageManager.NameNotFoundException e) {} // Never happend!
setClick(R.id.topbar_help_text);
setClick(R.id.topbar_logo);
setClick(R.id.bottombar_author_logo);
}
@Override
public void setContentView(int resource)
{
if (!showBeforeView) {
mcUIInit();
}
li.inflate(resource, content, true);
FontChanger.changeFonts(content);
}
@Override
public void setContentView(View view)
{
if (!showBeforeView) {
mcUIInit();
}
content.addView(view);
if (view instanceof ViewGroup) {
FontChanger.changeFonts((ViewGroup) view);
}
}
@Override
public void onClick(View view)
{
switch (view.getId()) {
case R.id.topbar_help_text: Tools.openURL(this, "https://www.minecraft.net/help");
break;
case R.id.topbar_logo: Tools.openURL(this, "https://www.minecraft.net");
break;
case R.id.bottombar_author_logo: Tools.openURL(this, "https://mojang.com");
break;
}
}
public void setUndertopView(View view) {
if (undertop.getChildCount() > 0) {
undertop.removeAllViews();
}
undertop.addView(view);
}
public void setMenuVisible(boolean value) {
menu.setVisibility(value ? View.VISIBLE : View.GONE);
}
public void setClick(int id) {
findViewById(id).setOnClickListener(this);
}
}
@@ -0,0 +1,23 @@
package com.kdt.mcgui.app;
import android.support.v7.app.*;
import android.os.*;
import android.support.v4.app.*;
import android.widget.*;
public class MinePrefActivity extends MineActivity
{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FrameLayout fl = new FrameLayout(this);
fl.setId(65535);
setContentView(fl);
}
public void setFragment(Fragment fm) {
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
ft.replace(65535, fm);
ft.commit();
}
}
@@ -0,0 +1,493 @@
/*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.kdt.mcgui.pref;
import android.content.*;
import android.content.res.*;
import android.os.*;
import android.support.v7.preference.*;
import android.util.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import android.widget.SeekBar.*;
import net.kdt.pojavlaunch.*;
import android.view.View.BaseSavedState;
import net.kdt.pojavlaunch.R;
/**
* Preference based on android.preference.SeekBarPreference but uses support preference as a base
* . It contains a title and a {@link SeekBar} and an optional SeekBar value {@link TextView}.
* The actual preference layout is customizable by setting {@code android:layout} on the
* preference widget layout or {@code seekBarPreferenceStyle} attribute.
*
* <p>The {@link SeekBar} within the preference can be defined adjustable or not by setting {@code
* adjustable} attribute. If adjustable, the preference will be responsive to DPAD left/right keys.
* Otherwise, it skips those keys.
*
* <p>The {@link SeekBar} value view can be shown or disabled by setting {@code showSeekBarValue}
* attribute to true or false, respectively.
*
* <p>Other {@link SeekBar} specific attributes (e.g. {@code title, summary, defaultValue, min,
* max})
* can be set directly on the preference widget layout.
*/
public class MineSeekBarPref extends Preference {
private static final String TAG = "SeekBarPreference";
@SuppressWarnings("WeakerAccess") /* synthetic access */
int mSeekBarValue;
@SuppressWarnings("WeakerAccess") /* synthetic access */
int mMin;
private int mMax;
private int mSeekBarIncrement;
@SuppressWarnings("WeakerAccess") /* synthetic access */
boolean mTrackingTouch;
@SuppressWarnings("WeakerAccess") /* synthetic access */
SeekBar mSeekBar;
private TextView mSeekBarValueTextView;
// Whether the SeekBar should respond to the left/right keys
@SuppressWarnings("WeakerAccess") /* synthetic access */
boolean mAdjustable;
// Whether to show the SeekBar value TextView next to the bar
private boolean mShowSeekBarValue;
// Whether the SeekBarPreference should continuously save the Seekbar value while it is being
// dragged.
@SuppressWarnings("WeakerAccess") /* synthetic access */
boolean mUpdatesContinuously;
/**
* Listener reacting to the {@link SeekBar} changing value by the user
*/
private OnSeekBarChangeListener mSeekBarChangeListener = new OnSeekBarChangeListener() {
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
if (fromUser && (mUpdatesContinuously || !mTrackingTouch)) {
syncValueInternal(seekBar);
} else {
// We always want to update the text while the seekbar is being dragged
updateLabelValue(progress + mMin);
}
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
mTrackingTouch = true;
}
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
mTrackingTouch = false;
if (seekBar.getProgress() + mMin != mSeekBarValue) {
syncValueInternal(seekBar);
}
}
};
/**
* Listener reacting to the user pressing DPAD left/right keys if {@code
* adjustable} attribute is set to true; it transfers the key presses to the {@link SeekBar}
* to be handled accordingly.
*/
private View.OnKeyListener mSeekBarKeyListener = new View.OnKeyListener() {
@Override
public boolean onKey(View v, int keyCode, KeyEvent event) {
if (event.getAction() != KeyEvent.ACTION_DOWN) {
return false;
}
if (!mAdjustable && (keyCode == KeyEvent.KEYCODE_DPAD_LEFT
|| keyCode == KeyEvent.KEYCODE_DPAD_RIGHT)) {
// Right or left keys are pressed when in non-adjustable mode; Skip the keys.
return false;
}
// We don't want to propagate the click keys down to the SeekBar view since it will
// create the ripple effect for the thumb.
if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
return false;
}
if (mSeekBar == null) {
Log.e(TAG, "SeekBar view is null and hence cannot be adjusted.");
return false;
}
return mSeekBar.onKeyDown(keyCode, event);
}
};
public MineSeekBarPref(
Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
TypedArray a = context.obtainStyledAttributes(
attrs, R.styleable.SeekBarPreference, defStyleAttr, defStyleRes);
// The ordering of these two statements are important. If we want to set max first, we need
// to perform the same steps by changing min/max to max/min as following:
// mMax = a.getInt(...) and setMin(...).
mMin = a.getInt(R.styleable.SeekBarPreference_min, 0);
setMax(a.getInt(R.styleable.SeekBarPreference_android_max, 100));
setSeekBarIncrement(a.getInt(R.styleable.SeekBarPreference_seekBarIncrement, 0));
mAdjustable = a.getBoolean(R.styleable.SeekBarPreference_adjustable, true);
mShowSeekBarValue = a.getBoolean(R.styleable.SeekBarPreference_showSeekBarValue, false);
// mUpdatesContinuously = a.getBoolean(R.styleable.SeekBarPreference_updatesContinuously, false);
a.recycle();
}
public MineSeekBarPref(Context context, AttributeSet attrs, int defStyleAttr) {
this(context, attrs, defStyleAttr, 0);
}
public MineSeekBarPref(Context context, AttributeSet attrs) {
this(context, attrs, R.attr.seekBarPreferenceStyle);
}
public MineSeekBarPref(Context context) {
this(context, null);
}
@Override
public void onBindViewHolder(PreferenceViewHolder view) {
super.onBindViewHolder(view);
view.itemView.setOnKeyListener(mSeekBarKeyListener);
mSeekBar = (SeekBar) view.findViewById(R.id.seekbar);
mSeekBarValueTextView = (TextView) view.findViewById(R.id.seekbar_value);
mSeekBarValueTextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 16f);
if (mShowSeekBarValue) {
mSeekBarValueTextView.setVisibility(View.VISIBLE);
} else {
mSeekBarValueTextView.setVisibility(View.GONE);
mSeekBarValueTextView = null;
}
if (mSeekBar == null) {
Log.e(TAG, "SeekBar view is null in onBindViewHolder.");
return;
}
mSeekBar.setOnSeekBarChangeListener(mSeekBarChangeListener);
mSeekBar.setMax(mMax - mMin);
// If the increment is not zero, use that. Otherwise, use the default mKeyProgressIncrement
// in AbsSeekBar when it's zero. This default increment value is set by AbsSeekBar
// after calling setMax. That's why it's important to call setKeyProgressIncrement after
// calling setMax() since setMax() can change the increment value.
if (mSeekBarIncrement != 0) {
mSeekBar.setKeyProgressIncrement(mSeekBarIncrement);
} else {
mSeekBarIncrement = mSeekBar.getKeyProgressIncrement();
}
mSeekBar.setProgress(mSeekBarValue - mMin);
updateLabelValue(mSeekBarValue);
mSeekBar.setEnabled(isEnabled());
}
// @Override
protected void onSetInitialValue(Object defaultValue) {
if (defaultValue == null) {
defaultValue = 0;
}
setValue(getPersistedInt((Integer) defaultValue));
}
@Override
protected Object onGetDefaultValue(TypedArray a, int index) {
return a.getInt(index, 0);
}
/**
* Gets the lower bound set on the {@link SeekBar}.
*
* @return The lower bound set
*/
public int getMin() {
return mMin;
}
/**
* Sets the lower bound on the {@link SeekBar}.
*
* @param min The lower bound to set
*/
public void setMin(int min) {
if (min > mMax) {
min = mMax;
}
if (min != mMin) {
mMin = min;
notifyChanged();
}
}
/**
* Returns the amount of increment change via each arrow key click. This value is derived from
* user's specified increment value if it's not zero. Otherwise, the default value is picked
* from the default mKeyProgressIncrement value in {@link android.widget.AbsSeekBar}.
*
* @return The amount of increment on the {@link SeekBar} performed after each user's arrow
* key press
*/
public final int getSeekBarIncrement() {
return mSeekBarIncrement;
}
/**
* Sets the increment amount on the {@link SeekBar} for each arrow key press.
*
* @param seekBarIncrement The amount to increment or decrement when the user presses an
* arrow key.
*/
public final void setSeekBarIncrement(int seekBarIncrement) {
if (seekBarIncrement != mSeekBarIncrement) {
mSeekBarIncrement = Math.min(mMax - mMin, Math.abs(seekBarIncrement));
notifyChanged();
}
}
/**
* Gets the upper bound set on the {@link SeekBar}.
*
* @return The upper bound set
*/
public int getMax() {
return mMax;
}
/**
* Sets the upper bound on the {@link SeekBar}.
*
* @param max The upper bound to set
*/
public final void setMax(int max) {
if (max < mMin) {
max = mMin;
}
if (max != mMax) {
mMax = max;
notifyChanged();
}
}
/**
* Gets whether the {@link SeekBar} should respond to the left/right keys.
*
* @return Whether the {@link SeekBar} should respond to the left/right keys
*/
public boolean isAdjustable() {
return mAdjustable;
}
/**
* Sets whether the {@link SeekBar} should respond to the left/right keys.
*
* @param adjustable Whether the {@link SeekBar} should respond to the left/right keys
*/
public void setAdjustable(boolean adjustable) {
mAdjustable = adjustable;
}
/**
* Gets whether the {@link SeekBarPreference} should continuously save the {@link SeekBar} value
* while it is being dragged. Note that when the value is true,
* {@link Preference.OnPreferenceChangeListener} will be called continuously as well.
*
* @return Whether the {@link SeekBarPreference} should continuously save the {@link SeekBar}
* value while it is being dragged
* @see #setUpdatesContinuously(boolean)
*/
public boolean getUpdatesContinuously() {
return mUpdatesContinuously;
}
/**
* Sets whether the {@link SeekBarPreference} should continuously save the {@link SeekBar} value
* while it is being dragged.
*
* @param updatesContinuously Whether the {@link SeekBarPreference} should continuously save
* the {@link SeekBar} value while it is being dragged
* @see #getUpdatesContinuously()
*/
public void setUpdatesContinuously(boolean updatesContinuously) {
mUpdatesContinuously = updatesContinuously;
}
/**
* Gets whether the current {@link SeekBar} value is displayed to the user.
*
* @return Whether the current {@link SeekBar} value is displayed to the user
* @see #setShowSeekBarValue(boolean)
*/
public boolean getShowSeekBarValue() {
return mShowSeekBarValue;
}
/**
* Sets whether the current {@link SeekBar} value is displayed to the user.
*
* @param showSeekBarValue Whether the current {@link SeekBar} value is displayed to the user
* @see #getShowSeekBarValue()
*/
public void setShowSeekBarValue(boolean showSeekBarValue) {
mShowSeekBarValue = showSeekBarValue;
notifyChanged();
}
private void setValueInternal(int seekBarValue, boolean notifyChanged) {
if (seekBarValue < mMin) {
seekBarValue = mMin;
}
if (seekBarValue > mMax) {
seekBarValue = mMax;
}
if (seekBarValue != mSeekBarValue) {
mSeekBarValue = seekBarValue;
updateLabelValue(mSeekBarValue);
persistInt(seekBarValue);
if (notifyChanged) {
notifyChanged();
}
}
}
/**
* Gets the current progress of the {@link SeekBar}.
*
* @return The current progress of the {@link SeekBar}
*/
public int getValue() {
return mSeekBarValue;
}
/**
* Sets the current progress of the {@link SeekBar}.
*
* @param seekBarValue The current progress of the {@link SeekBar}
*/
public void setValue(int seekBarValue) {
setValueInternal(seekBarValue, true);
}
/**
* Persist the {@link SeekBar}'s SeekBar value if callChangeListener returns true, otherwise
* set the {@link SeekBar}'s value to the stored value.
*/
@SuppressWarnings("WeakerAccess") /* synthetic access */
void syncValueInternal(SeekBar seekBar) {
int seekBarValue = mMin + seekBar.getProgress();
if (seekBarValue != mSeekBarValue) {
if (callChangeListener(seekBarValue)) {
setValueInternal(seekBarValue, false);
} else {
seekBar.setProgress(mSeekBarValue - mMin);
updateLabelValue(mSeekBarValue);
}
}
}
/**
* Attempts to update the TextView label that displays the current value.
*
* @param value the value to display next to the {@link SeekBar}
*/
@SuppressWarnings("WeakerAccess") /* synthetic access */
void updateLabelValue(int value) {
if (mSeekBarValueTextView != null) {
mSeekBarValueTextView.setText(String.valueOf(value));
}
}
@Override
protected Parcelable onSaveInstanceState() {
final Parcelable superState = super.onSaveInstanceState();
if (isPersistent()) {
// No need to save instance state since it's persistent
return superState;
}
// Save the instance state
final SavedState myState = new SavedState(superState);
myState.mSeekBarValue = mSeekBarValue;
myState.mMin = mMin;
myState.mMax = mMax;
return myState;
}
@Override
protected void onRestoreInstanceState(Parcelable state) {
if (!state.getClass().equals(SavedState.class)) {
// Didn't save state for us in onSaveInstanceState
super.onRestoreInstanceState(state);
return;
}
// Restore the instance state
SavedState myState = (SavedState) state;
super.onRestoreInstanceState(myState.getSuperState());
mSeekBarValue = myState.mSeekBarValue;
mMin = myState.mMin;
mMax = myState.mMax;
notifyChanged();
}
/**
* SavedState, a subclass of {@link BaseSavedState}, will store the state of this preference.
*
* <p>It is important to always call through to super methods.
*/
private static class SavedState extends BaseSavedState {
public static final Parcelable.Creator<SavedState> CREATOR =
new Parcelable.Creator<SavedState>() {
@Override
public SavedState createFromParcel(Parcel in) {
return new SavedState(in);
}
@Override
public SavedState[] newArray(int size) {
return new SavedState[size];
}
};
int mSeekBarValue;
int mMin;
int mMax;
SavedState(Parcel source) {
super(source);
// Restore the click counter
mSeekBarValue = source.readInt();
mMin = source.readInt();
mMax = source.readInt();
}
SavedState(Parcelable superState) {
super(superState);
}
@Override
public void writeToParcel(Parcel dest, int flags) {
super.writeToParcel(dest, flags);
// Save the click counter
dest.writeInt(mSeekBarValue);
dest.writeInt(mMin);
dest.writeInt(mMax);
}
}
}
@@ -0,0 +1,7 @@
package com.kdt.mojangauth;
public interface LoginListener
{
public void onBeforeLogin();
public void onLoginDone(String[] result);
}
@@ -0,0 +1,71 @@
package com.kdt.mojangauth;
import android.os.*;
import com.kdt.mojangauth.yggdrasil.*;
import java.io.*;
import java.util.*;
import net.kdt.pojavlaunch.*;
public class LoginTask extends AsyncTask<String, Void, String[]>
{
private YggdrasilAuthenticator authenticator = new YggdrasilAuthenticator();
//private String TAG = "MojangAuth-login";
private LoginListener listener;
public LoginTask setLoginListener(LoginListener listener)
{
this.listener = listener;
return this;
}
private UUID getRandomUUID()
{
return UUID.randomUUID();
}
@Override
protected void onPreExecute()
{
listener.onBeforeLogin();
super.onPreExecute();
}
@Override
protected String[] doInBackground(String[] args)
{
ArrayList<String> str = new ArrayList<String>();
str.add("ERROR");
try{
try{
AuthenticateResponse response = authenticator.authenticate(args[0], args[1], getRandomUUID());
if(response.selectedProfile == null){
str.add("Can't login a demo account!\n");
}
else{
if(new File(Tools.mpProfiles + "/" + response.selectedProfile.name).exists()){
str.add("This account already exist!\n");
}
else{
str.add(response.accessToken); // Access token
str.add(response.clientToken.toString()); // Client token
str.add(response.selectedProfile.id); // Profile ID
str.add(response.selectedProfile.name); // Username
str.set(0, "NORMAL");
}
}
}
//MainActivity.updateStatus(804);
catch(Throwable e){
str.add(e.getMessage());
}
}
catch(Exception e){
str.add(e.getMessage());
}
return str.toArray(new String[0]);
}
@Override
protected void onPostExecute(String[] result)
{
listener.onLoginDone(result);
super.onPostExecute(result);
}
}
@@ -0,0 +1,7 @@
package com.kdt.mojangauth;
public interface RefreshListener
{
public void onFailed(Throwable e);
public void onSuccess();
}
@@ -0,0 +1,66 @@
package com.kdt.mojangauth;
import android.content.*;
import android.os.*;
import com.google.gson.*;
import java.util.*;
import net.kdt.pojavlaunch.*;
import com.kdt.mojangauth.yggdrasil.*;
import android.app.*;
public class RefreshTokenTask extends AsyncTask<String, Void, Throwable> {
private YggdrasilAuthenticator authenticator = new YggdrasilAuthenticator();
//private Gson gson = new Gson();
private RefreshListener listener;
private MCProfile.Builder profilePath;
private Context ctx;
private ProgressDialog build;
public RefreshTokenTask(Context ctx, RefreshListener listener) {
this.ctx = ctx;
this.listener = listener;
}
@Override
public void onPreExecute() {
build = new ProgressDialog(ctx);
build.setMessage("Refreshing");
build.setProgressStyle(ProgressDialog.STYLE_SPINNER);
build.setCancelable(false);
build.show();
}
@Override
public Throwable doInBackground(String... args) {
try {
this.profilePath = MCProfile.load(args[0]);
RefreshResponse response = this.authenticator.refresh(profilePath.getAccessToken(), UUID.fromString(profilePath.getClientID()));
if (response == null) {
throw new NullPointerException("Response is null?");
}
if (response.selectedProfile == null) {
throw new IllegalArgumentException("Can't refresh a demo account!");
}
profilePath.setClientID(response.clientToken.toString());
profilePath.setAccessToken(response.accessToken);
profilePath.setUsername(response.selectedProfile.name);
profilePath.setProfileID(response.selectedProfile.id);
MCProfile.build(profilePath);
return null;
} catch (Throwable e) {
return e;
}
}
@Override
public void onPostExecute(Throwable result) {
build.dismiss();
if (result == null) {
listener.onSuccess();
} else {
listener.onFailed(result);
}
}
}
@@ -0,0 +1,24 @@
package com.kdt.mojangauth.yggdrasil;
import java.util.UUID;
public class AuthenticateRequest {
public AgentInfo agent = new AgentInfo();
public UUID clientToken;
public String password;
public String username;
public static class AgentInfo {
public String name;
public int version;
}
public AuthenticateRequest(String username, String password, UUID clientToken, String clientName, int clientVersion) {
this.username = username;
this.password = password;
this.clientToken = clientToken;
this.agent.name = clientName;
this.agent.version = clientVersion;
}
}
@@ -0,0 +1,11 @@
package com.kdt.mojangauth.yggdrasil;
import java.util.UUID;
public class AuthenticateResponse {
public String accessToken;
public Profile[] availableProfiles;
public UUID clientToken;
public Profile selectedProfile;
}
@@ -0,0 +1,8 @@
package com.kdt.mojangauth.yggdrasil;
public class ErrorResponse {
public String cause;
public String error;
public String errorMessage;
}
Loaded 100 of 304 files, more files were not shown because too many files have changed in this diff. Show more