我们可以调用按钮单击方法apk文件?我们可以、单击、按钮、文件

2023-09-04 05:59:07 作者:相谬

可能重复:   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.