我们可以调用按钮单击方法apk文件? [英] Can we invoke apk file in button click method?

查看:101
本文介绍了我们可以调用按钮单击方法apk文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/3872063/android-launch-an-application-from-another-application">Android从另一个应用程序启动应用程序

Possible Duplicate:
Android Launch an application from another application

我已创建登录Android应用程序。我们有一个calendar.apk文件,现在我们要调用该文件,点击登录按钮时。我们怎样才能做到这一点?能否请您为我们提供样品code?

I have created login android application. We have a calendar.apk file and now we want to invoke this file when login button is clicked. How can we do that? Can you please provide us a sample code?

推荐答案

检查该链接,启动的.apk文件编程。您需要使用意图。 通过您的code 启动应用程序。

Check this link for Launching .apk file programatically. You need to use Intents. Launch Application through your code

让我知道如果你需要任何帮助。

Let me know if you need any help.

这篇关于我们可以调用按钮单击方法apk文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆