modular programming (design pattern)

by Marton Kodok » Sun, 08 Nov 2009 18:50:36 GMT


Sponsored Links
 Hello,

I am planning to build my app in modular way. I am thinking that whenever a
user adds a new component/module that will be recognized by my main app.
Can someone point me in the best direction to read more about design
patterns for this approach for Android?

Are there any examples out there?

-- 
Mrton

--



modular programming (design pattern)

by RichardC » Sun, 08 Nov 2009 19:11:59 GMT


modular programming (design pattern)

by Marton Kodok » Sun, 08 Nov 2009 19:23:48 GMT


 For example if I have a main app and three modules in mind, such as:
audio, video, and calendar (The modules itself does nothing. They're useful
only when called by the main app)

1. how will the main app know that those modules are installed on the phone,
and can call them? how do I get a list of modules (mine) ?
2. also how do I make my modules hidden to user, they should not be visible
for launch, and should not be able to launched by an icon, only by my app?

2009/11/8 RichardC <richard.crit...@googlemail.com>


>



modular programming (design pattern)

by Justin Anderson » Tue, 10 Nov 2009 03:12:35 GMT


 Are you going to be the only person developing these modules, or are you
planning on creating some sort of a framework that other developers will be
able to tap into?
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------






>>



modular programming (design pattern)

by Marton Kodok » Tue, 10 Nov 2009 04:26:15 GMT


 I will be the only who will develop the modules, no framework in mind.

2009/11/9 Justin Anderson <janderson....@gmail.com>



>>>



modular programming (design pattern)

by Chris Zaniewski » Wed, 11 Nov 2009 23:38:04 GMT


 Please usubscribe




Are you going to be the only person developing these modules, or are you
planning on creating some sort of a framework that other developers will be
able to tap into?
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------



--



Other Threads

1. JRuby

any one know if JRuby and Android 1.0 work together?


~)o
gustin

entryway software development
http://www.entryway.net

--~--~---------~--~----~------------~-------~--~----~

2. How to load create a view programmatically with parameters from a layout file

Hello,

I have an activity "MyActivity" that repeatedly re-creates the custom
view "MyView".
While during the first iteration step, MyView is created with the
appropriate parameters from the layout file by the system, I could not
figure out how to re-create the View programmatically using the layout
specification. Thus, I have to set the layout parameters manually:

linearLayout.removeView( myView );
myView.destroy();
myView = new WebViewWithTiming( MyActivity );
LayoutParams lp = new
LinearLayout.LayoutParams( LinearLayout.LayoutParams.WRAP_CONTENT,
                  LinearLayout.LayoutParams.FILL_PARENT, (float)
1.0 );
myView.setLayoutParams( lp );
linearLayout.addView( myView, 0 );

Is there anyway, I could load the layout parameters from the
corresponding layout file instead of hardcoding them?

Thanks for your help,
Lukas


--~--~---------~--~----~------------~-------~--~----~

3. If your wondering if users are out there...

4. Wireless IP interface with Android

5. SlideME: Ready for Stocking of Applications

6. SAM 2.0 Release

7. Speech recognition private-API