about classes that are not exposed in Android (classes hidden with @hide)
Excerpt from: http://wangsheng2008love.blog.163.com/blog/static/78201689201142643413482/
If you look at the source code of Android, you will find that there are many classes in the source of the @hide logo, then what does this flag represent?
actually This means that these classes do not appear in the public SDK. So how can you use these hide classes when you develop your application? If you use this class, there are two ways to do this, 1. Put your app in the Android source tree and compile it. Can be directly import into. 2. Remove the @hide of this class used in the source tree, recompile the SDK, and compile your application without the need for the source tree in the resulting SDK environment. Note: applications with this class do not guarantee backward compatibility, as these classes may change or disappear as the Android version is updated. |