Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call another application's activity

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to call another application's activity from my application activity?I tried with below codes

I am calling TestActivity from my activity.below is the code.



Also i added the below code to manifest file.


but when i run the my app it gives me below error

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does a class with that name exist in the APK? "com.sph.pdf" seems to be the package name of the application.

And I strongly advise not to name the action in a way that looks like a class name, especially if you intend to have classes that are named like that as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic