Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Thu, 2011-05-26 at 09:49 +0200, Fernand Vanrie wrote:
I Trye to use the latest Google Tasks API from in LO but now we need
to connect with HTTPS
please can a developer tell me if my code had a change to work no or
in the future ?

oConnector = createUnoService("com.sun.star.connection.Connector") 

com.sun.star.connection.Connector is for connecting to a running
LibreOffice instance listening on the far side, i.e. connecting to an
UNO interprocess bridge. 

oConnection =
oConnector.connect("socket,host=www.googleapis.com,port=80")  'or port
(443)'
oConnection.write( StringToByteArray( "GET
https://www.googleapis.com/tasks/v1/lists/MDk5Nzc1MDY0NzQyMTk4NjEyMzM6MDow/tasks/MDk5Nzc1MDY0NzQyMTk4NjEyMzM6MDo4?pp=1&key={YOUR_API_KEY}";
  + cCR + cLF ))

You *might* have more luck with the ucb api, e.g.
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/UCB/Documents

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.