Page 1 of 1

Link to the search function in android app

Posted: 17 Nov 2019, 01:14
by hetao
Hello,

I am using Anki, and I would like to redirect the sentence that I am learning to the "search function" of Hanping. I would like to know how if hyperlinks that redirects to the app exists
(Actually my friend already did it for Pleco, but I would have preferred using Hanping : plecoapi://x-callback-url/s?q=... )

Thomas

Re: Link to the search function in android app

Posted: 20 Nov 2019, 06:42
by hanping
Hi there! You can take a look at one of Hanping's Back templates and you'll see something like:

Code: Select all

android-app://com.embermitre.hanping.app.pro#Intent;action=com.hanpingchinese.cmn.intent.action.DETAILS;S.p={{text:Pinyin}};S.s={{text:Simplified}};S.t={{text:Traditional}};S.LANG=cmn;S._SOURCE=anki;end
which will jump straight to the details screen. Have a play with that to see if it suits your needs.