Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在android中添加按钮动态。如何设置显示器开启按钮?
我想实现一个功能,比如我在主界面中添加一个按钮,如何在这个按钮上添加一个监视器。
然后我接受语音消息。如何播放语音留言?
myBtn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub //Start accepting voice message } });