There is a problem with vue embedded android, tuner.

this is the template code

<div id="box" @click="jsFormNavtive()"> 
   <img :src="imagesUrl" />
</div>

when created calls data, it comes from android

created(){
    window.jsFormNavtive = this.jsFormNavtive;
}
methods:{
    jsFormNavtive(data){
        window.android.getCamera("00000");
        this.imagesUrl = data;
        alert(data)
        return;
    }
}

undefined
clipboard.png

will appear when you select a picture when the album pops up for the first time.

Press OK, then receive the value from Android when you call the album and select again, then pop up an alert box, and then press OK to call the camera again. Repeat over and over again

Apr.07,2021

shouldn't the values of calling native and receiving native be divided into two functions? are you doing this in one function? This is an endless loop.
or window.android.getCamera ('00000') can pass a callback function.
Don't you pass a value for undefined @ click= "jsFormNavtive ()"?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40caa-2c527.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40caa-2c527.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?