That said, it could be interesting to flag "bad" apps on Market and warn the user that the app he's about to download might break with a future update of the system :))
On Sun, Feb 8, 2009 at 2:06 AM, Romain Guy <romain...@google.com> wrote: > It would be way too costly to do it at install time (both in CPU and > disk space.) We could do the check during the upload to Market but > that wouldn't solve the issue with apps installed through other means > (especially alternatives to Market.) I'd rather trust the developers > to do the right thing. > > On Sun, Feb 8, 2009 at 2:02 AM, Al Sutton <a...@funkyandroid.com> wrote: >> >> Is checking API usage in a apk feasible? That way problems could be >> picked up at distribution or installation time? >> >> Al. >> >> Romain Guy wrote: >>> That's the whole point of the SDK. It does NOT let you use private >>> APIs since they are stripped out of the SDK. If you compile your app >>> against the git tree or a custom SDK, there's not much we can do. It's >>> also up to the developers to be reasonable. >>> >>> On Sun, Feb 8, 2009 at 1:43 AM, Al Sutton <a...@funkyandroid.com> wrote: >>> >>>> Maybe an API compliance test should be run as part of any app build. >>>> Does an API usage checking tool exist? and is it publicly available? >>>> >>>> Al. >>>> >>>> Jean-Baptiste Queru wrote: >>>> >>>>> Even worse, it hurts the entire ecosystem, by making users believe >>>>> that plaftorm upgrades have bugs when in fact the applications are >>>>> broken to start with. >>>>> >>>>> JBQ >>>>> >>>>> On Sat, Feb 7, 2009 at 3:18 PM, Romain Guy <romain...@google.com> wrote: >>>>> >>>>> >>>>>> That means your app will break in cupcake though. >>>>>> >>>>>> Please, please don't use private APIs, it only hurts the users :( >>>>>> >>>>>> On Feb 7, 2009 1:43 PM, "Stefan" <skyntc...@gmail.com> wrote: >>>>>> >>>>>> >>>>>> After digging a bit around in the source code, it looks like the >>>>>> namespace used for the attributes of the "internal" widgets has >>>>>> changed in RC33 from xmlns:android="http://schemas.android.com/apk/res/ >>>>>> android" to some other namespace >>>>>> (probably something like >>>>>> http://schemas.android.com/apk/res/android.intenral >>>>>> ??) and that caused the SlidingDrawer to not >>>>>> find its attributes. >>>>>> >>>>>> Well... one should never rely on internal classes, but... the >>>>>> SlidingDrawer is actually so useful... >>>>>> I am glad it will make it as an officially supported class. >>>>>> >>>>>> On Feb 7, 4:34 pm, Romain Guy <romain...@google.com> wrote: > Even worse, >>>>>> SlidingDrawer will move ... >>>>>> >>>>>> >>>>>> >>>>>>> On Sat, Feb 7, 2009 at 12:14 PM, Jean-Baptiste Queru <j...@android.com> >>>>>>> wrote: > > > Oh, ah, I had... >>>>>>> >>>>>>> >>>>>>>> On Sat, Feb 7, 2009 at 11:28 AM, Romain Guy <romain...@google.com> >>>>>>>> wrote: > > >> No, SlidingDraw... >>>>>>>> >>>>>>>> >>>>>>>>> On Sat, Feb 7, 2009 at 7:18 AM, Jean-Baptiste Queru <j...@android.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>>> Can you please report this issue inhttp://b.android.com/? (a plain >>>>>>>>>> >>>>>>>>>> copy-paste will do). > > >>> Thanks, > >>> JBQ > >>>>>>>>>> >>>>>>>>>> On Sat, Feb 7, 2009 at 6:54 AM, Stefan <skyntc...@gmail.com> wrote: > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>> It appears that ... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>> romain...@android.com >>>>>>>>> >>>>>>>>> >>>>>>>>>> Note: please don't send private questions to me, as I don't have time >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>> to provide private... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>> Romain Guy > Android framework engineer >>>>>>> >>>>>>> romain...@android.com >>>>>>> >>>>>>> >>>>>>>> Note: please don't send private questions to me, as I don't have time > >>>>>>>> to provide private suppo... >>>>>>>> >>>>>>>> >>>>> >>>>> >>>>> >>>> -- >>>> ====== >>>> Funky Android Limited is registered in England & Wales with the >>>> company number 6741909. The registered head office is Kemp House, >>>> 152-160 City Road, London, EC1V 2NX, UK. >>>> >>>> The views expressed in this email are those of the author and not >>>> necessarily those of Funky Android Limited, it's associates, or it's >>>> subsidiaries. >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> -- >> ====== >> Funky Android Limited is registered in England & Wales with the >> company number 6741909. The registered head office is Kemp House, >> 152-160 City Road, London, EC1V 2NX, UK. >> >> The views expressed in this email are those of the author and not >> necessarily those of Funky Android Limited, it's associates, or it's >> subsidiaries. >> >> >> >> >> > > > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. 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 -~----------~----~----~----~------~----~------~--~---