When using SmartCafe Java cards, the information about the free memory is available through the card manager. Once authenticated, the user should send GET DATA apdu with the appropriate combination of P1 and P2 parameters and card responds with the amount of memory left.
Best regards,
Aleksandar
In JC 2.2.1 you should use the JCSystem.getAvailableMemory(byte memoryType) method. The response is a short --> info about a max. of 32k free memory.
eefree applet is a relict from the JC 2.1 specification. There was no API defined. If you still want to use it, just select this applet or send any APDU to the applet, and it will return a short (bytes of free memory). Be aware that the applet will allocate of up to 32k bytes. Only way to free the memory is to delete the eefree instance.