return profileManager.getProfiles().toArray(new Profile[] {});
}
@Override
public void addProfileListChangeListener(final RemoteProfileListChangeListenerInterface remotelistener) throws RemoteException {
ProfileListChangeListener listener = new ProfileListChangeListener() {
@Override
public void profileChanged(Profile profile) {
try {
remotelistener.profileChanged(profile);
}