How to open a Sencha Touch View from an Android Activity or Objective C method

删除回忆录丶 提交于 2020-01-05 08:49:19

问题


How to open a Sencha Touch view from an Android Activity?

I can define this Activity in the android manifest so when user attempts to open myawesomeapp://doSomethingSpecificToThisDeepLink I can do something, i guess I have to provide a class com.myCompany.AwesomeHandler ... but from there how can I open a Sencha Touch View ?

<activity xmlns:android="http://schemas.android.com/apk/res/android"
          android:name="com.myCompany.AwesomeHandler"
          android:label="OpenMyTrustfulApp">
  <intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="myawesomeapp://doSomethingSpecificToThisDeepLink" />
  </intent-filter>
</activity> 

Any ideas, examples, doc ref, different approaches would be appreciated. At the end of the day what I try to accomplish is to allow other apps to deep link my cordova / sencha touch app (android / ios)

I am trying to do as http://appurl.org/ says in:

http://appurl.org/docs/android

http://appurl.org/docs/ios

Thanks.

来源:https://stackoverflow.com/questions/25223642/how-to-open-a-sencha-touch-view-from-an-android-activity-or-objective-c-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!