如何从快速应用程序切换到Android应用程序?

如何从快速应用程序切换到Android应用程序?,android,huawei-mobile-services,appgallery,Android,Huawei Mobile Services,Appgallery,我可以从快速应用程序切换到Android应用程序吗?如何操作它?不幸的是,目前无法从QuickApp项目切换到Android项目。我不确定这样一个功能是否计划在不久的将来发布,但它肯定是可行的 向要重定向到的目标应用程序的活动添加外部架构。示例代码如下所示: <activity android:label="@7F070043" android:name="com.huawei.phoneservice.HelpCenterActivi

我可以从快速应用程序切换到Android应用程序吗?如何操作它?

不幸的是,目前无法从QuickApp项目切换到Android项目。我不确定这样一个功能是否计划在不久的将来发布,但它肯定是可行的

  • 向要重定向到的目标应用程序的活动添加外部架构。示例代码如下所示:

    <activity 
    
        android:label="@7F070043" 
    
        android:name="com.huawei.phoneservice.HelpCenterActivity" 
    
        android:exported="true" 
    
        android:excludeFromRecents="true" 
    
         android:launchMode="2" 
    
        android:configChanges="0x40002D84"> 
    
             <intent-filter> 
    
                     <action android:name="android.intent.action.VIEW"></action> 
    
                     <category android:name="android.intent.category.DEFAULT"> </category> 
    
                     <category android:name="android.intent.category.BROWSABLE"></category> 
    
                    <data android:scheme="hwphoneservice" android:host="externalapp"></data> 
    
            </intent-filter> 
    
    </activity> 
    

  • 谢谢你的回复。
    router.push({uri:"hwphoneservice://externalapp/service"})