Hey Emil, Damian,
With my SoC project, I'm trying to make that little GUI plug-in for account information. I've been working around the problem I've had of not being able to actually use the OperationSet ServerStoredContactInfo, but it's gotten kind of unavoidable recently and so I'm facing up to the fact that I just can't get it working. I'm not sure if I'm making a Java mistake or if I'm just misunderstanding something else, but some advice would be very much appreciated.
For right now, I'm making a first example with ICQ, so the point where I'm trying this line is at a point where "pps" refers to a ProtocolProviderService that we know is a PPSIcqImpl that has the operation set ServerStoredContactInfoIcqImpl. In order to actually work with it, I'm trying this:
OperationSetServerStoredContactInfoIcqImpl ssci = (OperationSetServerStoredContactInfoIcqImpl)pps.getOperationSet((Class.forName("OperationSetServerStoredContactInfoIcqImpl")));
} catch (ClassNotFoundException e)
//we always end up here
but it always has a ClassNotFoundException. Like I said before, I don't know if I'm making a Java mistake or if it's something else. Any sort of help would be really great. Thank you very much.