So looking through your project, I like how you partioning your project gearing up for a pretty large project. You must be missing a view where you can see and hide all your modules in the IDE.
cMsgHub is the most interesting, its like an EventBus. Listeners get attach and can send and receive messages to class instances that are registered and alive.
The slight issue with this is the risk of having a memory leak if you do not detach the listeners.
The other issue is if the listener is inactive, like a service or activity (or any singleton inactive object), what would CallSub return?
Also I think the check for Listener doesnt exist should also check not only for subexist (which is static), but also for if the object exists or is active? Or it just fails to respond?
Anyway I am only commenting because I think this is very very cool.
Thanks!
As you say, I'm building the foundation for a big project. I've been hinting about a community project for a while, this is the foundation for that. I'm doing a lot of work to facilitate stuff like:
* Modularization. Parts should be pretty isolated, even though they have to coexist. Code for a part should be, as far as possible, in a separate module.
* Separation of concern. Each part should handle one thing, and nothing else.
* Providing a good framwork for common functionality.
If you are curious, I've written a lot on the project here (on architecture, on project management and on ideas to include):
http://troberg.synology.me/wikidash/pmwiki.php . Use any name for username, dashguest for password.
The idea is to make a complete solution for an in-car system, preferably an Android based car computer (like these:
http://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20150420042317&SearchText=android car computer ) or simply a tablet or phone.
I've realized a long time ago that I can't be the expert on everything, and I don't have the capacity or time to make it all by myself. However, I can create a platform, and then other people can build parts on which they are experts, and I can build parts which I'm an expert on. All in all, we would have great fun and the potential to corner a fresh market together.