一个App调用另一个App的Activity的方法

上传者: niuba123456 | 上传时间: 2021-08-27 16:41:52 | 文件大小: 406KB | 文件类型: ZIP
设计思路: 既然我们知道一个App可以调用另一个App的Activity,那我们为什么不在调用的时候,进行传参,根据参数的不同来调用对应的方法, 通过这样一个“曲线救国”的方式就可以完成此功能了! 详情博客地址:http://blog.csdn.net/niuba123456/article/details/20129849 群号:373643359

文件下载

资源详情

[{"title":"( 52 个子文件 406KB ) 一个App调用另一个App的Activity的方法","children":[{"title":"App调用另一个App的方法","children":[{"title":"FristApplication","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"car.png <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"FristApplication.apk <span style='color:#111;'> 7.97KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"annotations-f8d66e61c65e9fb9c03c3b78e62ec971.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"frist","children":[{"title":"BuildConfig.class <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"FristActivity.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"FristActivity$1.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"car.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":null,"spread":false},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 869B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"frist","children":[{"title":"BuildConfig.java <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 737B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"frist","children":[{"title":"FristActivity.java <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"SecondApplication","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"car.png <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"annotations-f8d66e61c65e9fb9c03c3b78e62ec971.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"SecondApplication.apk <span style='color:#111;'> 121.29KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"second","children":[{"title":"BuildConfig.class <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"SecondActivity.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 117.63KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"picture2.jpg <span style='color:#111;'> 34.51KB </span>","children":null,"spread":false},{"title":"picture1.jpg <span style='color:#111;'> 78.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"car.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":null,"spread":false},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 489B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"second","children":[{"title":"BuildConfig.java <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 849B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"niuba","children":[{"title":"second","children":[{"title":"SecondActivity.java <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • usbfans :
    可以参考。
    2018-01-23
  • qq_22076877 :
    为什么我用不了啊,报错说未配置xml文件
    2017-07-12
  • ctb01 :
    很不错,谢谢分享!
    2016-06-23
  • jonliworld :
    可以,可以,直接来用,
    2015-09-14
  • u010633599 :
    嗯,简明,能直接使用移植
    2014-08-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明