摘要:
在appWidget中,ImageButton和Button都是被支持的控件,其事件可分成三种类型:一、开启Activity二、开始Service三、发送按钮Action下面开始一个一个分析,如何实现。一、开启Activity1、首先先定义个开启Activity的intenteg:Intent fullIntent=new Intent(this ,FullScreen.class);若要传递数据,则使用intent.putExtra()方法eg:fullIntent.putExtra("isCircle", isCircle);2、用intent实例化一个PendingI 阅读全文
posted @ 2011-04-22 13:16
山岭巨人
阅读(6381)
评论(1)
推荐(2)

浙公网安备 33010602011771号