which api jar u needed to change ?
UNTOUCHABILITY IS SIN SO KEEP IN TOUCH On Thu, Nov 19, 2009 at 9:38 PM, [email protected] < [email protected]> wrote: > I tried and it worked. You are right that if you use the SDK straight > you won't be able to compile such code. However, if you replace the > API jar file from the SDK, then you can build such apps with calls to > hidden APIs. > > So it seems Android doesn't really try to prevent you from using > hidden APIs (not that this is recommended for production apps) so as > long as you could build the APK file you're good to go -- at least for > the specific version of Android on the specific handset that you're > targeting. For me that's good enough as I was just writing a demo. > > On Nov 19, 5:54 am, "Fred Grott(Android Expert, > http://mobilebytes.wordpress.com)" > <[email protected]> wrote: > > Try it you will not get a compile though..the are not in the > > framework jar so it would be a pointless task on your part.. > > > > Fred Grott > > Android Developerhttp://mobilebytes.wordpress.com > > > > On Nov 18, 7:49 pm, "[email protected]" > > > > > > > > <[email protected]> wrote: > > > There are a bunch of APIs that are hidden using the @hide tag so they > > > are not exposed in the SDK. If I call these APIs anyway, does the VM > > > actually prevent me from doing that (in dexopt stage, etc)? > > > > > I am trying to do a demo so I just need a quick hack. This is not for > > > a product so please don't tell me to "do the right thing" :-) > > > > > Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

