Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Michael Van Canneyt
On Fri, 24 Jul 2015, Leonardo M. Ramé wrote: Hi, does anyone know if there's a FreePascal implementation of Protocol Buffers, it seems to fit perfectly in on use case I'm working on: https://developers.google.com/protocol-buffers/ Yes, there are several. See e.g. fundamentals.

Re: [Lazarus] Library for Android

2015-07-25 Thread FreeMan
Hi Aradeonas, I'm trying use library in linux (crosscompiled) can you tell some trics about this? {$linklib libxxxlinux.a} and other definition example. Thank you regards On 25.07.2015 15:57, Aradeonas wrote: I want to know how can I simply make a library and used it in multi platforms also

Re: [Lazarus] Library for Android

2015-07-25 Thread Aradeonas
Sorry I couldn't.I dont know about cross compiling. I think you should make a new email and send it to the list so others saw it or make new topic in forum. Regards, Ara -- http://www.fastmail.com - Same, same, but different... -- ___ Lazarus

Re: [Lazarus] Library for Android

2015-07-25 Thread FreeMan
thanx, my question is not about cross compile, using in linux. On 25.07.2015 17:50, Aradeonas wrote: Sorry I couldn't.I dont know about cross compiling. I think you should make a new email and send it to the list so others saw it or make new topic in forum. Regards, Ara --

Re: [Lazarus] Library for Android

2015-07-25 Thread leledumbo
I make library that do some math stuff and I used them in Windows and Linux version made with Lazarus simply but how used it in a Android Java project? The same as how use dynamic library written in any language from Java. Two options: JNI and JNA. Feel free to read Java's documentation for

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Aradeonas
Thank you. Ara -- http://www.fastmail.com - Does exactly what it says on the tin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Leonardo M. Ramé
On 25/07/15 06:31, Michael Van Canneyt wrote: On Fri, 24 Jul 2015, Leonardo M. Ramé wrote: Hi, does anyone know if there's a FreePascal implementation of Protocol Buffers, it seems to fit perfectly in on use case I'm working on: https://developers.google.com/protocol-buffers/ Yes, there

Re: [Lazarus] Library for Android

2015-07-25 Thread Aradeonas
Is there any demo,source or documentation? Regards, Ara -- http://www.fastmail.com - The way an email service should be -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Leonardo M. Ramé
On 25/07/15 08:17, Aradeonas wrote: Leonardo can you explain where you can use it? Regards, Ara Currently one of my apps is sending JSON files to a server, with a structure similar to this: { document_name: doc 1, document_type: pdf, content: BASE64_ENCODED_PDF } Where

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Aradeonas
Leonardo can you explain where you can use it? Regards, Ara -- http://www.fastmail.com - Choose from over 50 domains or use your own -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Michael Van Canneyt
On Sat, 25 Jul 2015, Aradeonas wrote: Leonardo can you explain where you can use it? Any service that needs to exchange data fast over the network with another service. if human-readability and general accesibility and so on is not important, then this will work a lot faster than e.g. XML

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Aradeonas
How fast compare to JSON? Regards, Ara -- http://www.fastmail.com - Choose from over 50 domains or use your own -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Library for Android

2015-07-25 Thread Aradeonas
Hi, I want to know how can I simply make a library and used it in multi platforms also in Android. For example I make library that do some math stuff and I used them in Windows and Linux version made with Lazarus simply but how used it in a Android Java project? I should say I dont want to use