On Wed, Dec 1, 2010 at 8:42 AM, dario <dario.nycj...@gmail.com> wrote:

> 'Standalone' apps don't have to go away. OHA should commit to openness
> to make sure we don't have to fragment our apps. For example, using a
> front facing camera shouldn't require separate apks (even Qik had to
> do this).
>

What does "OHA should commit to openness to make sure we don't have to
fragment our apps" mean?  I thought all this openness was the cause of all
these fragmentation problems. :)

Anyway.

I can't count the times I have pointed out and cajoled and generally tried
to promote to developers to not maintain separate .apks.  50% of the time
developers seem to *want* that.  I don't know why.  (Actually, there are
some reasons, but having little to do with "Android OMG FRAGMENTATION," and
they are few.)

There are very few things forcing people to use separate .apks.  Yes, prior
to 2.0, if an API was being made available as a shared library, you couldn't
use android:required="false" to allow your app to still be installed even if
it doesn't exist.  That was fixed last year, however, and the devices
running pre-2.0 versions of the platform are fairly rapidly going down.  So.
 Well, problem being solved.

Re:

Going back to the start of this thread, I tested the following:
>  <uses-feature android:name="android.hardware.touchscreen"
> required="false" />
>

The syntax is android:required="false".

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to