I have a small app for lawyers that is working fine. But now I want to implement some courthouse data integration (in Brazil).
Unfortunatelly our courthouses doesnt provide any kind of API, so I need to perform some page crawling to obtain the information.
For each State I need to develop a different library, and I wish to develop separate modules so the users need to install only the modules for the State they work in. Doing this way I can publish updates more easily if one courthouse changes the site layout, without affecting other users.
i.e. the user download the main program (same for all users). The user from "Rio de Janeiro" downloads the crawler for "Rio de Janeiro" only, so does the user from "Sao Paulo" downloading only the "Sao Paulo" crawler.
In a windows development platform I would develop some DLLs and the work is done, but I dont know exactly how to do this in Android. I understand that I will need to develop a differente "app" for each State, but how can I check which modules are installed and most important how to call the modules functions?
So I need some basic guidance on how to do a module development and integration with main app.