[英]How to display a toast on image button click in android widget
I'm creating a widget that had a button! 我正在创建一个带有按钮的小部件! When I click on a button. 当我单击一个按钮时。 It just reads my location and toasts it! 它只是读取我的位置并敬酒! It should not open any activity! 它不应该打开任何活动! Just a toast on the button click in the widget! 只需在按钮上祝酒,在小部件中单击即可! Need help! 需要帮忙!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.