Reputation: 2238
A while ago I followed some tutorials but failed at lines of code like this one :
public class RemoteControlDisplay extends IRemoteControlDisplay.Stub {
It does not find IRemoteControlDisplay.Stub
. Eclipse always had problems with Stub
s.
I'm currently following this tutorial but it just won't work. The errors say IRemoteControlDisplay cannot be resolved to be a type
. Why can I never extend these .Stub
s?
Upvotes: 0
Views: 264
Reputation: 970
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
The above link explains how to enable com.android.internal
and @hide
areas of the API. This should allow the ADT plugin for Eclipse to find and use the stub.
Bear in mind that this is in no way guaranteed to work. The hidden areas of the ADT are often changed when they are updated.
Upvotes: 1