How to open Pleco on iOS and/or Android from another app?

alanmd

探花
Is there a URI or something (e.g. “pleco://好吧” that can be used to open Pleco with a specific char/word, something like Skritter does, on iOS and/or Android?
 
There is on iOS:

plecoapi://x-callback-url/s?q=(search term)

You can add:

&x-source=(your app name)&x-success=(callback URL)

to add a button to return to your app / website afterwords.

There's not currently a URI equivalent on Android - you can easily launch Pleco from an intent but not from a URI.
 
Last edited:
Thanks, I was able to add a plug-in to ctext.org to open Pleco and look-up words :)
Is there a more complete documentation of the URI features that are available? (perhaps a Reader that is able to use the ctext URIs would be useful!)
 
We haven't bothered documenting them explicitly since they've pretty much all been added at the request of various developers that want to link to us, but if you go to pleco.com/ipmanual/vershist.html and search for 'plecoapi' you should see them all in there.
 
Back
Top