Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote.launchActivity("com.baidu.news.ui.IndexActivity")没有launch成功 #36

Open
hujj1987 opened this issue Mar 5, 2014 · 2 comments

Comments

@hujj1987
Copy link

hujj1987 commented Mar 5, 2014

remote.launchActivity("com.baidu.news.ui.IndexActivity")这个之后,没有调起百度新闻客户端,而是出现了一个类似于选择打开方式弹框的界面。我这边弹出的是让选择哪几个app的界面
这是为什么呢?

@summerbuild
Copy link

源码里面说得很清楚了,调用参数应该写成"com.android.mms/.ui.ConversationList",包名后面加/

@hujj1987
Copy link
Author

谢谢,嗯嗯,看到代码里的注释了。修改后可以用remote.launchActivity,launch对应的应用了。
不过,我在自己创建的测试工程中调相同的应用测试,却不work,提示log
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.anotherap/com.example.anotherap.AnotherMainActivity}; have you declared this activity in your AndroidManifest.xml?

见过这种问题没?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants