I recently notice there are a lot of people discussing or mention possible improvement of “the search” interface over social media. Such as, implementing web search, dictionaries, calculator, Wikipedia search.
A lot of other developers/users would usually attach this link as a guide:
However, a big problem is that the guide to implement a search provider is hard to read, full of gaps.
e.g. in the “basic” section it says:
For an application to become a search provider, it should implement the following D-Bus interface.
The C example of the implementation section is just jump into the codes brutally. It is hard to get a glue on how to combine them.
I think this is the biggest reason why developers would rather not to implementing search providers (and possible reason why a lot of them post the link to someone else ).
I kindly ask/suggest improving this guide and examples.