Android Question How to open an external App dictionary with a specific vocabulary

Albert Lin

Member
Licensed User
Longtime User
Dear All

Now I could open an external App of dictionary in my app. My code is as following
====================================
B4X:
Sub OpenDictionary(keyword As String )
Dim PackageName As String, I As Intent, p As PackageManager

        PackageName=modFun.GetTheApp("oxfordadvanceddiction")
        I = p.GetApplicationIntent(PackageName)
        StartActivity(I)
  End Sub

but everytime I have to type the vocabulary that I want to look up. I wonder that if I can pass the vocabulary to the App of dictionary when my app call this external app in my App. Highly appreciate for any kind of support.

All the best,
Albert Lin
 
Top