[英]How i can open a splashtop app from my own app in android
誰能幫我從自己的應用程序中打開一個初始啟動應用程序。 我安裝了splashtop並在其中創建了一個帳戶。 在我的應用程序中,我有一個用於輸入用戶名和密碼的字段,還有一個確定按鈕。 通過在我自己的應用程序中輸入splashtop帳戶的用戶名和密碼,當我按確定按鈕時,它將進入原始的splashtop應用程序。 請幫我創建這個。 提前致謝。
請任何人幫我。
我找到了解決方案,我們可以通過
Intent LaunchIntent =
getPackageManager().getLaunchIntentForPackage("com.splashtop.remote.pad.v2");
startActivity(LaunchIntent);
這將幫助您將其從一個應用程序的一個活動轉移到另一個應用程序的另一個活動。
final Intent intent = new Intent();
ComponentName cActname = new ComponentName
("package_name","package_name.class_name");
intent.setComponent(cActname);
startActivity(intent);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.