emsg sdk core ，coding in java