Re: [android-developers] Re: Make Software Library

2010-11-13 Thread Mark Murphy
On Sat, Nov 13, 2010 at 3:27 PM, Premier  wrote:
> My application design wants to solve follow problem:
>
> i've to create an application "template". I sell this template to my
> customers. They extend my application with their ui.
>
> My solutions are:
> - create a jar library, in this way customers can integrate my jar in
> their app. Problem is: i haven't control on their app, so if there is
> a bug in my jar library, how i can solve it for all app of all my
> customers?

Send them the replacement JAR. This model has worked reasonably well,
in various forms and technologies, for half a century.

> - create a basic app without ui, so my customers can create their app
> and use services provided by my app. In this way i can correct and
> upgrade my app, and customers haven't to upgrade their apps.

In other words, you want to force your customers to upgrade, whether
they want to or not. You will not let them discuss whether or not they
want the upgrade. You will not let them examine the security
ramifications of the upgrade. You will not let them test before
rolling out the upgrade, in case something in their application breaks
based on your changes. You will not let them distribute the upgrade
only to beta testers at the outset. You will not let them control the
timing of the upgrade, in case your upgrade comes at a bad time (e.g.,
forcing an upgrade of their World Cup application in the middle of the
World Cup). And so on.

If nothing else, offer both solutions.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Make Software Library

2010-11-13 Thread Mark Murphy
On Sat, Nov 13, 2010 at 2:34 PM, Bret Foreman  wrote:
> Here's an example where they did something like what you suggest.

IMHO, Locale bears little resemblance to what the OP is requesting.

Locale is an application, not a library. Locale has intrinsic value to
the end user but can be extended via integration with other
applications -- a library has no value to the user. Many apps that
integrate with Locale also have intrinsic value and can run without
Locale -- apps that depend upon a library cannot.

Locale *is* an excellent example of the integration possibilities of
Android, particularly between two peer applications. It is not an
example of a "software library", IMHO.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en