android中从一个app跳转到另一个app的方法
2016-07-13 11:28
543 查看
Intent intent = new Intent(Intent.ACTION_MAIN); ComponentName componentName = new ComponentName( "android.car.app.audio_setting",//包名 "android.car.app.audio_setting.AudioSetting");//类名 intent.setComponent(componentName); startActivity(intent);
01-25 01:41:49.710 431-748/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=android.car.app.audio_setting/.AudioSetting} from pid 699
cmp=android.car.app.audio_setting/.AudioSetting
包名:android.car.app.audio_setting
类名:android.car.app.audio_setting.AudioSetting
相关文章推荐
- Android 命名规范
- 欢迎引导页面的滑动进入
- Android Camera HAL3中拍照Capture模式下多模块间的交互与帧Result与帧数据回调
- 手机Android音视频采集与直播推送,实现单兵、移动监控类应用
- ObjectInputStream NullPointerExcetion
- Android中的基础-----如何使用JAVA动态的添加并设置组件属性
- Android 中 activity 窗口模式的实现
- Android5.1中surface和CpuConsumer下生产者和消费者间的处理框架简述
- 使用MyBatis_Generator生成Dto、Dao、Mapping
- android布局--Android fill_parent、wrap_content和match_parent的区别
- 解决ThinkPHP Call to a member function assign() on a non-object
- Android5.1中surface和CpuConsumer下生产者和消费者间的处理框架简述
- Android中Toast全屏显示
- 我的Opencv4Android添加V4L2支持的移植记录(3)
- android 布局优化
- Android Camera HAL V3 Vendor Tag及V1,V3参数转换
- 微信hit push hold !!
- Android Camera API2中采用CameraMetadata用于从APP到HAL的参数交互
- Android 中this、 getApplicationContext()、getApplication()之间的区别
- android camera接口介绍