언어 설정

Menu
Sites
Language
SAP connection problem

Hi everybody,

 

I am writing basic integrated app for gear2 and samsung s4. Im trying to use SAP for communication. I basically rewrited hello accessory example, but i cant make it work. in SASocket.onServiceConnectionLost im getting error 513, which is supposed to mean, that accessory requested connection close. onServiceConnectionLost is called just after i click connect. I dont know whether it migh matter, but i have certificate for platform privilege, and i saved the certificate file in /home/developer on gear2. services.xml file i copied from hello accessory example, just changed name, kept  channel id = 104.

Please give me some hint

Regards
 

Responses

1 댓글
flopo lopolus

I never had the hello accessory program work for me. if you want something easy to gut that is already set up i would use the File Transfersample here:

http://developer.samsung.com/samsung-gear

it uses SAP to establish the connection and it includes the file transfer methods as necessary(if you need them).