Android:需要在c ++ NDK中创建Toast对象以用于Toasting消息

我是android NDK c ++的新手,我不知道如何在NDK c ++中创建Toast对象以进行Toasting消息 喜欢:

async onSubmit(ref) { if (ref.state.emailID && ref.state.password) { this.showLoader(); await axios.post('http://apiurl.com/api/user/Userlogin?emailID=' + ref.state.emailID + '&password=' + ref.state.password,{ emailID: ref.state.emailID,password: ref.state.password },{ headers: { 'Content-Type': 'application/json' } }) .then((response) => { console.log('Innnn'); this.hideLoader(); console.log("response data: ",response.data); }).catch(err => { this.hideLoader(); console.log("error: ",err.message); }) } }

我想在NDK c ++中通过native-lib.cpp文件执行相同的任务。

hopelove1983 回答:Android:需要在c ++ NDK中创建Toast对象以用于Toasting消息

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3075654.html

大家都在问