解决方案 »
- android aes加密和解密,在android2.1和2.2下一切正常,可在2.3.3等以上版本却提示错误
- Android GridView固定两行,水平滚动,有哪位大能进来指点下?
- android发送短信的为什么不能运行
- 使用什么软件查看android source code?
- Android 请问如何在service中获得传感器的值
- 请教如何在Service中关闭调用它的Activity?
- 初学ARM11
- 360手机卫士 && QQ手机管家 一丘之貉
- 一个热爱编程的软工学生求助
- 求指教:android如何将一个Bitmap保存为单色的BMP格式的位图
- 如何设置MediaPlayer视频的控制次数循环播放
- android launcher 实现翻页动画
在你的Activity里面加上
public void onNewIntent(final Intent newIntent) {
super.onNewIntent(newIntent);
String ac = newIntent.getAction();
if (Intent.ACTION_SEARCH.equals(ac)) {
doSearchQuery(newIntent);
}
}
就可以了。