1

sdk of Wialon local.

Topic: sdk of Wialon local.

Hello experts
Hello everybody. I'm using WL but i'm a beginner. I have a problem now.
I want to get unit location using sdk. But i successfully loged in after error messages showed me /INVALID SESSION/.
How can i fix this. please see the picture.
https://s32.postimg.org/7tmhw46nl/WL_sdk.jpg

It's my life
2

sdk of Wialon local.

Re: sdk of Wialon local.

b.chuka, show full code listing. What url do You use pass to initSession?

Head of Wialon Local Department
Gurtam
3

sdk of Wialon local.

Re: sdk of Wialon local.

b.chuka, change initSession to this:
wialon.core.Session.getInstance().initSession("<your_dns>", "", 0x800); // init session, 0x800 - use internal gis

Head of Wialon Local Department
Gurtam
4

sdk of Wialon local.

(edited by b.chuka 28/06/2016 13:45:22)

Re: sdk of Wialon local.

Hello Deal
Thank you so much. It's working

It's my life
5

sdk of Wialon local.

Re: sdk of Wialon local.

Deal

Hello again.
My code is working  in playground.
Then I saved the source code *.html. But that is not working showed me following error "ERROR PERFORMING REQUEST ".

It's my life
6

sdk of Wialon local.

Re: sdk of Wialon local.

b.chuka, the code won't work if You open local html-file in browser (file://). It will work on web-server.

Head of Wialon Local Department
Gurtam