I use Customview with clicklistener applied to views, but the click action does not work in Floatingdesktop on V14.
I use Customview with clicklistener applied to views, but the click action does not work in Floatingdesktop on V14. It worked on V12.
]]>
< ![CDATA[
It works for me with the following script:
bindClass(“android.widget.Button”)
var btn=new Button(item.getScreen().getContext());
btn.setText(“say hello”);
btn.setOnClickListener({
onClick: function(){alert(“hello”);}
});
return btn;
What is your script?
]]>
< ![CDATA[
drive.google.com – cv_applist.txt – Google ドライブ/
It displays a ListView of apps, and launch app by clicking.
]]>
< ![CDATA[
Before LL.startActivity, add:
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
]]>
< ![CDATA[
Thanks!!
I’ll apologize for reporting the bug.
]]>
< ![CDATA[
That’s not your fault. In previous version LL.startActivity wasn’t always using the right context, hence you may not have seen the issue earlier.
]]>