Languages

Menu
Sites
Language
SAP-Server on TizenSDK 2.3.1 Emulator

Hi,

I try to update my Gear-App for Gear S2, but I cant debug my app because the Emulator of TizenSDK 2.3.1 has maybe no "SAP-Server".

When I try to kill the sap-server, the Emulator said "no process found". Sometimes I get an error which said 'extra package "sap" are not installed' or something like that. I havent a screenshot yet.

How can I install sap-server to the emulator? Can anybody confirm this issue?

Responses

8 Replies
daniel kim

Hi,

I would suggest you to check below latest document and tool for emulator.

    http://developer.samsung.com/technical-doc/view.do?v=T000000162

Regards

Marco Buettner

Thanks, but I know this and it didnt solve my problem. I have do all steps from the Guideline.

I think the Emulator hasnt include the sap-server.
 

Marco Buettner

To clarify some details

my android devices are

  • Samsung Galaxy S3
  • Huawei Y509
  • Sony Xperia M1

An older release of "Applications for Emulator" works perfect with these devices and the Emulator of the Tizen SDK for Wearable 1.0.0
http://img-developer.samsung.com/contents/cmm/Guideline_on_Testing_Gear_applications_using_the_Emulator.pdf

With the linked version of "Applications for Emulator" these devices doesnt work the Tizen SDK for Wearable 1.0.0 (no connection).
http://developer.samsung.com/technical-doc/view.do?v=T000000162

These devices doesnt work with an older and latest version "Applications for Emulator" with Tizen SDK 2.3.1.

Marco Buettner

I found some more problems ... 

Tizen SDK 2.3.1 doesnt know "webapis", but the Samsung Accessory Protocol is a submodule of that.

Here is my dlog part

09-11 04:57:43.322 : ERROR / ConsoleMessage ( 3269 : 3269 ) : file:///js/sb.comm.js:115:err[ReferenceError] msg[Can't find variable: webapis]

And here my JS snippet which I use to establish a connection between Host and Gear-App

webapis.sa.requestSAAgent(onsuccess, onerror);

 

Kiwook Hong

Hi,

Have you installed extension sdk below?

http://developer.samsung.com/technical-doc/view.do?v=T000000248

In the Tizen SDK for Wearable 1.0.0, you didn't need to install extension sdk but from 2.3.1 need it for SAP API.

 


 

 

Marco Buettner

Yeah, I have installed the Extension - I forgot at at the first time..

After the installation the APIs will now found and I see the emulator install SAP, but the SAP-server isnt launch .. my devices and emulator dont find each other ... The emulator hostapp shows always "disconnect" and "killall sap-server" failed because "sap-server: no process found"...

Is they any way to start the sap-server manually on the emulator via shell?

Kiwook Hong

Well, you could find that emulator should be reboot in the guide. But not reboot command.

Should use 'shutdown -r now' or Power off by menu.

Marco Buettner

I know, I did it, nothing change :( 

But now I cant start TizenSDK 2.3.1 it hangs on "org.tizen.common" like described here