[SailfishDevel] Javascript from remote resource
Michael Fuchs
michfu at gmx.at
Thu Mar 31 17:48:05 UTC 2016
I guess I found a solution already:
With
http://192.168.0.10/get_commandlist.cgi
you get a XML containing the available commands.
E.g. with
http://192.168.0.10/get_imglist.cgi?DIR=%2FDCIM%2F100OLYMP
you get the Files in the folder /DCIM/100OLYMP
Thanks for reading. ;)
On Donnerstag, 31. März 2016 18:58:26 CEST Michael Fuchs wrote:
> Hi together,
>
> I bought me a very cool Olympus O-MD E-M10, which has built in WiFi-support
> but surprisingly no native Sailfish App.
>
> When you connect to the Cam via WiFi, one can access the pics via
>
> http://oishare/
>
> The html responses look like these:
>
> https://gist.github.com/fuchsmich/a5741d85386f03748fa81bccc377a07c
>
> I can get the content via XMLHttpRequest, and i could parse the html myself
> with regex, split and so on.
> Is there any easier way to access the javascript objects with built in
> functions?
>
> Thanks for your help.
> Best regards, Michael.
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
More information about the Devel
mailing list