Lakaroth

Regular
Regular
Joined
Dec 9, 2014
Messages
281
Reaction score
137
First Language
English
Primarily Uses
Hello there, i'm using (@xilefian unofficial Mv Client) for android build.
I need to open external link at the start screen, so i use Yep External links.
But on mobile YEP External link give me an error
Cannot read property "open" of undefined (At the main sreen)
In game if i try to open a link with plugin command:
Code:
OpenNewTab http://www.google.com/
or
Code:
OpenNewWindow http://www.google.com/

It show the popup blocker message.

I've try to add in manifest file permissions
Code:
Code:
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
But it don't work...

Compiling my app with Cordova, it works, but i can't customize my app, i compile it with cloud client like Monaca or Cocoon.io
The use plugin cordova white list to avoid this.

Where i'm wrong?
Thanks
 

xilefian

Regular
Regular
Joined
Nov 26, 2014
Messages
121
Reaction score
208
First Language
English
Primarily Uses
Taking a look at the source code of YEP External Link the only object with the property "open" is the "window" object. It's kind of weird that the window object is undefined.

See this line here: github.com/AltimitSystems/mv-android-client/app/src/webview/java/systems/altimit/rpgmakermv/WebPlayerView.java#L94 add the following Java code underneath it:
Java:
webSettings.setJavaScriptCanOpenWindowsAutomatically(true);
webSettings.setSupportMultipleWindows(true);
Please tell me if this fixes the problem and I can add it into the MV Android Client. There may be additional issues involved that I haven't thought of yet (maybe the link opens inside the app rather than open the browser?).
 

Lakaroth

Regular
Regular
Joined
Dec 9, 2014
Messages
281
Reaction score
137
First Language
English
Primarily Uses
Taking a look at the source code of YEP External Link the only object with the property "open" is the "window" object. It's kind of weird that the window object is undefined.

See this line here: github.com/AltimitSystems/mv-android-client/app/src/webview/java/systems/altimit/rpgmakermv/WebPlayerView.java#L94 add the following Java code underneath it:
Java:
webSettings.setJavaScriptCanOpenWindowsAutomatically(true);
webSettings.setSupportMultipleWindows(true);
Please tell me if this fixes the problem and I can add it into the MV Android Client. There may be additional issues involved that I haven't thought of yet (maybe the link opens inside the app rather than open the browser?).
Thank you xilefian, i've add that lines the install the app.
No more error but nothing happened if i click.
Here attached the LOGCAT in verbose ad emulation mode.
Code:
2019-02-09 14:16:44.607 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@72eff6a)
2019-02-09 14:16:44.608 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@72eff6a)
2019-02-09 14:16:45.610 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6d13c5b)
2019-02-09 14:16:45.611 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6d13c5b)
2019-02-09 14:16:46.613 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@dc9cf8)
2019-02-09 14:16:46.618 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@dc9cf8)
2019-02-09 14:16:47.617 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@59295d1)
2019-02-09 14:16:47.618 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@59295d1)
2019-02-09 14:16:48.621 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@9b5a836)
2019-02-09 14:16:48.624 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@9b5a836)
2019-02-09 14:16:49.629 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@b5d4337)
2019-02-09 14:16:49.631 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@b5d4337)
2019-02-09 14:16:49.952 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:49.952 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:50.631 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@4ba90a4)
2019-02-09 14:16:50.632 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@4ba90a4)
2019-02-09 14:16:50.807 1620-4051/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 39587780 , only wrote 39587760
2019-02-09 14:16:50.840 1638-1690/? D/AudioFlinger: mixer(0xf0d03600) throttle end: throttle time(8)
2019-02-09 14:16:50.860 1620-4051/? W/audio_hw_generic: Hardware backing HAL too slow, could only write 0 of 720 frames
2019-02-09 14:16:50.875 1620-4051/? I/chatty: uid=1041(audioserver) writer identical 1 line
2019-02-09 14:16:50.889 1620-4051/? W/audio_hw_generic: Hardware backing HAL too slow, could only write 0 of 720 frames
2019-02-09 14:16:50.912 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine$PhoneskyJobSchedulerJobService.onStartJob(8): onJobSchedulerWakeup with jobId 9000
2019-02-09 14:16:50.919 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ad.a(25): Scheduling fallback job with id: 9034, and delay: 43200000 ms
2019-02-09 14:16:50.936 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ad.a(41): Scheduling fallback in 64799988 (absolute: 65855500)
2019-02-09 14:16:50.970 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.al.handleMessage(16): DeviceState: DeviceState{currentTime=1549718210963, isCharging=true, isIdle=false, netAny=true, netNotRoaming=true, netUnmetered=true}
2019-02-09 14:16:50.990 7873-9693/? I/Finsky: [608] com.google.android.finsky.scheduler.br.b(90): Jobs in database: 1-1337 2-48879 3-3 12-1 18-18181818 19-9999 23-0 26-1414141414
2019-02-09 14:16:50.999 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(61): Running job: 12-1
2019-02-09 14:16:51.001 7873-7873/? I/Finsky: [2] com.google.android.finsky.contentsync.ContentSyncJob.a(24): ContentSyncJob started
2019-02-09 14:16:51.009 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(61): Running job: 19-9999
2019-02-09 14:16:51.010 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(108): RunningQueue size: 2, PendingQueue size: 0
2019-02-09 14:16:51.010 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(119): Running queue: 12-1 19-9999
2019-02-09 14:16:51.024 7873-7972/? I/Finsky: [448] com.google.android.finsky.p.l.a(20): Completed 0 account content syncs with 0 successful.
2019-02-09 14:16:51.031 7873-7873/? I/Finsky: [2] com.google.android.finsky.contentsync.ContentSyncJob.a(22): Installation state replication succeeded.
2019-02-09 14:16:51.031 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.bm.b(8): jobFinished: 12-1. TimeElapsed: 32ms
2019-02-09 14:16:51.032 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(142): Job 12-1 finished
2019-02-09 14:16:51.032 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(108): RunningQueue size: 1, PendingQueue size: 0
2019-02-09 14:16:51.032 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(119): Running queue: 19-9999
2019-02-09 14:16:51.094 7873-9694/? I/Finsky: [609] com.google.android.finsky.scheduler.bm.b(8): jobFinished: 19-9999. TimeElapsed: 85ms
2019-02-09 14:16:51.096 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(142): Job 19-9999 finished
2019-02-09 14:16:51.096 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.ag.a(108): RunningQueue size: 0, PendingQueue size: 0
2019-02-09 14:16:51.096 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.al.handleMessage(42): Executor finished
2019-02-09 14:16:51.116 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.br.b(90): Jobs in database: 1-1337 2-48879 3-3 18-18181818 23-0 26-1414141414
2019-02-09 14:16:51.118 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.k.a(69): ConstraintMapping: 1-1337, 23-0,  -> L: 14361988ms, D: 51539014ms, C: false, I: false, N: 1
2019-02-09 14:16:51.119 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.k.a(69): ConstraintMapping: 18-18181818,  -> L: 1762882ms, D: 2062882ms, C: false, I: false, N: 2
2019-02-09 14:16:51.120 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.k.a(69): ConstraintMapping: 2-48879, 3-3,  -> L: 0ms, D: 86358428ms, C: true, I: true, N: 2
2019-02-09 14:16:51.121 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.k.a(69): ConstraintMapping: 26-1414141414,  -> L: 43162228ms, D: 44062228ms, C: false, I: false, N: 0
2019-02-09 14:16:51.123 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(108): Cancelling existing job with id: 9002
2019-02-09 14:16:51.127 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(108): Cancelling existing job with id: 9003
2019-02-09 14:16:51.134 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(108): Cancelling existing job with id: 9001
2019-02-09 14:16:51.139 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(48): Scheduling job Id: 9004, L: 14361988, D: 51539014, C: false, I: false, N: 1
2019-02-09 14:16:51.140 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(48): Scheduling job Id: 9005, L: 1762882, D: 2062882, C: false, I: false, N: 2
2019-02-09 14:16:51.141 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(66): Throttling wakeup for job 9006 (expected to run in 0 ms) due to recent wakeup
2019-02-09 14:16:51.141 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(48): Scheduling job Id: 9006, L: 30000, D: 86358428, C: true, I: true, N: 2
2019-02-09 14:16:51.143 7873-7873/? I/Finsky: [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(48): Scheduling job Id: 9007, L: 43162228, D: 44062228, C: false, I: false, N: 0
2019-02-09 14:16:51.491 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:51.633 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@1139541)
2019-02-09 14:16:51.635 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@1139541)
2019-02-09 14:16:51.684 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:52.638 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@e168ae6)
2019-02-09 14:16:52.639 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@e168ae6)
2019-02-09 14:16:53.643 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@1cf6827)
2019-02-09 14:16:53.645 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@1cf6827)
2019-02-09 14:16:53.797 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:53.964 9382-9509/id.test.rpgmakermv I/chatty: uid=10087(id.test.rpgmakermv) Chrome_InProcGp identical 1 line
2019-02-09 14:16:54.169 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:54.643 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@c356ad4)
2019-02-09 14:16:54.644 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@c356ad4)
2019-02-09 14:16:55.500 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:55.647 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@d43447d)
2019-02-09 14:16:55.648 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@d43447d)
2019-02-09 14:16:55.679 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:55.845 9382-9509/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xeaf5dda0: ver 3 0 (tinfo 0xd31283c0)
2019-02-09 14:16:56.652 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@a306f72)
2019-02-09 14:16:56.655 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@a306f72)
2019-02-09 14:16:57.657 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@cc05fc3)
2019-02-09 14:16:57.664 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@cc05fc3)
    
    --------- beginning of system
2019-02-09 14:16:57.928 1913-1982/? D/WindowManager: powerPress: eventTime=1062403 interactive=true count=1 beganFromNonInteractive=false mShortPressOnPowerBehavior=1
2019-02-09 14:16:57.928 1913-1982/? I/PowerManagerService: Going to sleep due to power button (uid 1000)...
2019-02-09 14:16:57.930 1913-1937/? I/PowerManagerService: Sleeping (uid 1000)...
2019-02-09 14:16:57.931 1913-1913/? W/UsageStatsService: Event reported without a package name
2019-02-09 14:16:57.942 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:57.942 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:57.951 1630-9402/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496
2019-02-09 14:16:57.968 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:57.980 2056-2056/? I/vol.Events: writeEvent dismiss_dialog volume_controller
2019-02-09 14:16:57.981 1913-1937/? E/EGL_emulation: eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
2019-02-09 14:16:57.981 1913-1937/? E/EGL_emulation: tid 1937: eglQueryContext(1861): error 0x3004 (EGL_BAD_ATTRIBUTE)
2019-02-09 14:16:57.981 1630-9402/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496
2019-02-09 14:16:57.990 1755-1791/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:57.991 1755-1791/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:57.996 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.005 5870-5870/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
2019-02-09 14:16:58.006 5870-5870/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
2019-02-09 14:16:58.011 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:58.011 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:58.014 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.031 1630-9402/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496
2019-02-09 14:16:58.041 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.044 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.045 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.045 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.046 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.046 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.047 1777-1777/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.050 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:58.050 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:58.057 1630-9402/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496
2019-02-09 14:16:58.065 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.078 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:58.078 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:58.086 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.101 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.109 1913-1926/? E/memtrack: Couldn't load memtrack module
2019-02-09 14:16:58.109 1913-1926/? W/android.os.Debug: failed to get memory consumption info: -1
2019-02-09 14:16:58.120 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.488 1913-1937/? I/DisplayPowerController: Blocking screen off
2019-02-09 14:16:58.489 1913-1937/? I/DisplayPowerController: Unblocked screen off after 1 ms
2019-02-09 14:16:58.461 1913-1937/? I/chatty: uid=1000(system) PowerManagerSer identical 18 lines
2019-02-09 14:16:58.482 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.489 1630-9402/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496
2019-02-09 14:16:58.503 1755-1786/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.505 1755-1786/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.516 1913-1937/? D/EGL_emulation: eglMakeCurrent: 0xe41f13e0: ver 3 0 (tinfo 0xd2edf7c0)
2019-02-09 14:16:58.531 1913-1937/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0x0
2019-02-09 14:16:58.534 1755-1755/? D/SurfaceFlinger: Set power mode=0, type=0 flinger=0xebfc3000
2019-02-09 14:16:58.536 1755-1755/? D/SurfaceFlinger: Finished set power mode=0, type=0
2019-02-09 14:16:58.538 2056-2258/? D/EGL_emulation: eglMakeCurrent: 0xe5c054e0: ver 3 0 (tinfo 0xe5c035e0)
2019-02-09 14:16:58.542 1913-4098/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-02-09 14:16:58.542 1913-4098/? D/OpenGLRenderer: Swap behavior 1
2019-02-09 14:16:58.543 1913-1935/? I/DisplayManagerService: Display device changed state: "Built-in Screen", OFF
2019-02-09 14:16:58.543 1913-4098/? W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2019-02-09 14:16:58.551 1913-4748/? W/LocalDisplayAdapter: Unable to find color mode 0, ignoring request.
2019-02-09 14:16:58.543 1913-4098/? D/OpenGLRenderer: Swap behavior 0
2019-02-09 14:16:58.560 1913-4098/? D/EGL_emulation: eglCreateContext: 0xd1ccb900: maj 3 min 0 rcv 3
2019-02-09 14:16:58.563 2633-2645/? I/s.nexuslaunche: NativeAlloc concurrent copying GC freed 2796(246KB) AllocSpace objects, 7(5MB) LOS objects, 41% free, 8MB/14MB, paused 8.884ms total 38.463ms
2019-02-09 14:16:58.565 2633-2643/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.566 2633-2643/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.568 1913-1982/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
2019-02-09 14:16:58.571 1913-4098/? D/EGL_emulation: eglMakeCurrent: 0xd1ccb900: ver 3 0 (tinfo 0xcf3ab5a0)
2019-02-09 14:16:58.598 9382-9511/id.test.rpgmakermv D/EGL_emulation: eglMakeCurrent: 0xe2fd30a0: ver 3 0 (tinfo 0xd3128b40)
2019-02-09 14:16:58.616 2056-2258/? D/EGL_emulation: eglMakeCurrent: 0xe5c054e0: ver 3 0 (tinfo 0xe5c035e0)
2019-02-09 14:16:58.649 1638-1690/? D/AudioFlinger: mixer(0xf0d03600) throttle end: throttle time(2)
2019-02-09 14:16:58.659 2056-2056/? I/vol.Events: writeEvent dismiss_dialog screen_off
2019-02-09 14:16:58.661 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@84ca917)
2019-02-09 14:16:58.662 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@84ca917)
2019-02-09 14:16:58.706 5870-5870/? I/DeviceStatusMonitor: onReceive() : Action = android.intent.action.SCREEN_OFF
2019-02-09 14:16:58.710 5870-5870/? I/GoogleInputMethod: onReceive() : Action = android.intent.action.SCREEN_OFF
2019-02-09 14:16:58.716 2056-2065/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:58.717 2056-2065/? D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
2019-02-09 14:16:59.665 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@2f33104)
2019-02-09 14:16:59.668 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@2f33104)
2019-02-09 14:17:00.667 1913-1965/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@79346ed)
2019-02-09 14:17:00.668 1913-1926/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@79346ed)
 

xilefian

Regular
Regular
Joined
Nov 26, 2014
Messages
121
Reaction score
208
First Language
English
Primarily Uses
I updated MV Android Client to support window.open() calls. It's a bit of a weird hack (creates a dummy browser to capture the URL), but apparently there's no better way to support this feature for Android.

There's a chance here to implement the Chrome Custom Tabs feature https://developer.chrome.com/multidevice/android/customtabs however I decided not to do this as it does push the SDK requirements from 14 to 15 (not a big deal at all, but I'd rather keep it as low as possible) - as such there's no fancy behaviour in this latest change, it simply opens the web browser to the URL (or asks the user what they want to do with the URL).

EDIT: Just so you know this doesn't need internet permissions as it opens in the browser and also YEP_ExternalLinks is a bit overkill for this behaviour, you can simply use a one-line script call to do the exact same thing without needing a Plugin.
JavaScript:
window.open( 'https://www.google.com' );
YEP_ExternalLinks was designed for Web Browser deployment as the special behaviour it provides is open in web tab or web window and pop-up blocker detection (where it will tell the player to allow pop ups or something). If you aren't deploying to web browser (Mobile, Desktop) then you don't need these features.
 
Last edited:

Lakaroth

Regular
Regular
Joined
Dec 9, 2014
Messages
281
Reaction score
137
First Language
English
Primarily Uses
It works!
Even YEP plugin at main title screen work with your update!
You're doing a great job!
Thank you so much, your client boost RMMV at professional level.
I have no words, just... thank you!
PS: U can count on me for any test or idea or help to improve your client.
Best!
E.M
 

Lakaroth

Regular
Regular
Joined
Dec 9, 2014
Messages
281
Reaction score
137
First Language
English
Primarily Uses
@xilefian sorry double posting, but with the latest update, i can't sign my app.
Code:
No key with alias 'ALIAS' found in keystore
etc etc
With the previous version yes.
I do several test with different apps and they have a correct key.
Maybe something change?
 
Last edited:

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,345
Reaction score
2,643
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi guys! Just saying that this help me a lot too!!
@xilefian i have no words for all your effort. I wish have money to give you a great donation :(
 

Decinbr

Regular
Regular
Joined
Mar 20, 2015
Messages
406
Reaction score
93
First Language
Portuguese
Primarily Uses
RM2k
Can i put the window in transparent? i want to make a chat in the game, so i need to put the window in transparent and small
 

Latest Threads

Latest Profile Posts

Lily (our 4yr old) wanted to make a movie of her own. Considering she has about a 15 minute attention span limit, I think she did a great job! She used a non screen digital tablet for the first time to draw the character and had full creative direction.
1920px-Toblerone_3362.jpg
My one of 50ish weaknesses...
I'm at a writer block in my game. I'm trying to think of a mini-game for one of my levels. Maybe they have to dodge boulders while climbing a hill. Give it a bad pun name like Boulder Dash?
To cater to the communitiy's needs and desires, I am now blonde ;3

Forum statistics

Threads
134,857
Messages
1,251,312
Members
177,654
Latest member
Emm74
Top