Hi all, Android newbie here. I'm trying to access some of the hidden Android Calendar functions. I have downloaded the latest (2.1.1, at this point in time) source code and built my own version of the sdk I am having difficulty however trying to unhide the necessary classes. Can someone please let me know what I'm doing wrong
Steps I took to do this: 1) Downloaded source code using git 2) Went to base/core/java/android/provider/Calendar.java 3) And removed the @hide line /** * The Calendar provider contains all calendar events. * * @hide */ 4) Recompiled the code using the instructions in howto_build_SDK.txt 5) I get the following error when I remove the @hide annotation in the Calendar class frameworks/base/core/java/android/provider/Calendar.java:556: error 10: Parameter of hidden type android.pim.ICalendar.Component in android.provider.Calendar.Events.insertVEvent() make: *** [out/target/common/docs/api-stubs-timestamp] Error 45 I checked 'android.pim.ICalendar.Component' and its not marked as hidden so I'm not sure why I'm seeing this error. Any help appreciated cheers Meera -- 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

