RE: Proton-c on Android
Hello, I wanted to notify those involved in reviewing the Android Proton Jira that the email address I've been using to communicate through this mailing list will be deactivating 8/1/2014. If someone needs direct contact for the Android Proton implementation the email address used should be saj...@microsoft.com. Thanks, -Jimmy -Original Message- From: Cliff Jansen [mailto:cliffjan...@gmail.com] Sent: Wednesday, July 2, 2014 8:15 AM To: proton Subject: Re: Proton-c on Android Hi Jimmy, I am going to try to get to it in the 0.8 timeframe. My top priority right now is to get a new Windows IO layer prettied-up for code review, and I'll take a look after that. Cliff On Wed, Jul 2, 2014 at 8:03 AM, Jimmy Campbell wrote: > Hello, > > I was wondering if anyone has had the chance to look over my improvement JIRA > concerning running Proton-C on Android? > > Thanks, > -Jimmy
Re: Proton-c on Android
Hi Jimmy, I am going to try to get to it in the 0.8 timeframe. My top priority right now is to get a new Windows IO layer prettied-up for code review, and I'll take a look after that. Cliff On Wed, Jul 2, 2014 at 8:03 AM, Jimmy Campbell wrote: > Hello, > > I was wondering if anyone has had the chance to look over my improvement JIRA > concerning running Proton-C on Android? > > Thanks, > -Jimmy
Re: Proton-c on android
Hi Jimmy, Thanks for the inquiry on sharing your Android proton work. Please open a Jira (of type "improvement") and attach a relevant patch. http://qpid.apache.org/issues.html#report-a-bug You can leave it in rough form and I can try taking it from there, or you can scrub it up, put a bow on it, and submit directly to review board. As you put together your patch, consider some of the following:, if you used third party helpers for uuid, ssl, or other functionality on Android, please check that the licenses appear compatible with the Apache license. Also see if you can find some cmake find_package script that might automagically find an android ndk in a standard location (if there is such a thing). And if you have some sort of push button test program that could be run on an Android device to check out a release, that would be great (perhaps msgr-send as a start). Thanks very much. Cliff On Fri, Jun 13, 2014 at 1:23 PM, Jimmy Campbell wrote: > Hello all, > > I recently took it upon myself to get proton-c working with android. I ended > up being successful in my endeavor. It took me a couple weeks to get it > working but I have put in some effort to make the process straightforward. > The bulk of the work did not involve many changes to proton-c code, as it was > mostly focused on getting the library to build for android. I did have to > change a couple lines of code in driver.c, (getprotobyname doesn't work). My > method utilizes the android build system 'ndk-build' and the swig bindings > produced from proton 0.6. Because of the lack of swig bindings in proton-c > 0.7 I have not used this version on android. I have been able to successfully > create apps and upload them to my phone for sending and receiving messages > with proton-c. > > This was not a straightforward process, but with the work I've done it's easy > to build proton-c targeting ARM and other android architectures. I have a > folder with a readme that lists the instructions for building the proton-c > library targeting android architectures and all it involves is downloading > the ndk, and calling 'ndk-build' three times in three different folders. > > I was wondering how I can contribute this to the proton project? It would be > really cool if my work could somehow be included into the build system for > proton so that with a simple option the ARM architecture libraries could be > created alongside the normal build targets. > > For example I envision something along the lines of: > cmake -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_ANDROID .. > > Thanks, > Jimmy
Re: Proton-c on android
IMO it's easier to fix Proton-j than use Proton-C on Android On Jun 3, 2014, at 12:44 PM, Jimmy Campbell wrote: > That was a little bit more vague than I would have liked. They did work, they > just didn't work with the Azure Service Bus, which is my end goal. > > -Jimmy > > -Original Message- > From: Jimmy Campbell [mailto:t-jic...@microsoft.com] > Sent: Tuesday, June 3, 2014 9:42 AM > To: proton@qpid.apache.org > Subject: RE: Proton-c on android > > I started out using Proton-J 0.7 on windows 8.1 and then I tried it with 0.6 > on linux CentOS. Neither of them worked for me. > > -Jimmy > > -Original Message- > From: Rafael Schloming [mailto:r...@alum.mit.edu] > Sent: Tuesday, June 3, 2014 8:32 AM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > Can you provide me with the details of what version of proton-j you were > using and what kind of environment? > > --Rafael > > > On Tue, Jun 3, 2014 at 11:29 AM, Jimmy Campbell > wrote: > >> I was unable to get messages through to the Azure Service Bus. It kept >> saying "remote host has dropped the connection" in system error. >> >> Proton-c is able to send without any issues. >> >> -Original Message----- >> From: Rafael Schloming [mailto:r...@alum.mit.edu] >> Sent: Tuesday, June 3, 2014 8:26 AM >> To: proton@qpid.apache.org >> Subject: Re: Proton-c on android >> >> What sort of problems did you run into with proton-j? >> >> --Rafael >> >> >> On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell >> >> wrote: >> >>> Proton-j was my first choice but I was unable to connect to the >>> Azure Service Bus, which is my end goal. There are tutorials and >>> support for connecting proton-c to the azure service bus. >>> >>> -Original Message- >>> From: Clebert Suconic [mailto:csuco...@redhat.com] >>> Sent: Wednesday, May 28, 2014 7:00 PM >>> To: proton@qpid.apache.org >>> Subject: Re: Proton-c on android >>> >>> Wouldn't Proton-j be a better fit? >>> >>> >>> On May 28, 2014, at 8:45 PM, Jimmy Campbell >>> wrote: >>> >>>> I am trying to get proton-c to run on android. Does anybody have >>>> any >>> advice or experience on the matter that I can get in contact with? >>> >>> >>
RE: Proton-c on android
That was a little bit more vague than I would have liked. They did work, they just didn't work with the Azure Service Bus, which is my end goal. -Jimmy -Original Message- From: Jimmy Campbell [mailto:t-jic...@microsoft.com] Sent: Tuesday, June 3, 2014 9:42 AM To: proton@qpid.apache.org Subject: RE: Proton-c on android I started out using Proton-J 0.7 on windows 8.1 and then I tried it with 0.6 on linux CentOS. Neither of them worked for me. -Jimmy -Original Message- From: Rafael Schloming [mailto:r...@alum.mit.edu] Sent: Tuesday, June 3, 2014 8:32 AM To: proton@qpid.apache.org Subject: Re: Proton-c on android Can you provide me with the details of what version of proton-j you were using and what kind of environment? --Rafael On Tue, Jun 3, 2014 at 11:29 AM, Jimmy Campbell wrote: > I was unable to get messages through to the Azure Service Bus. It kept > saying "remote host has dropped the connection" in system error. > > Proton-c is able to send without any issues. > > -Original Message- > From: Rafael Schloming [mailto:r...@alum.mit.edu] > Sent: Tuesday, June 3, 2014 8:26 AM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > What sort of problems did you run into with proton-j? > > --Rafael > > > On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell > > wrote: > > > Proton-j was my first choice but I was unable to connect to the > > Azure Service Bus, which is my end goal. There are tutorials and > > support for connecting proton-c to the azure service bus. > > > > -Original Message- > > From: Clebert Suconic [mailto:csuco...@redhat.com] > > Sent: Wednesday, May 28, 2014 7:00 PM > > To: proton@qpid.apache.org > > Subject: Re: Proton-c on android > > > > Wouldn't Proton-j be a better fit? > > > > > > On May 28, 2014, at 8:45 PM, Jimmy Campbell > > wrote: > > > > > I am trying to get proton-c to run on android. Does anybody have > > > any > > advice or experience on the matter that I can get in contact with? > > > > >
RE: Proton-c on android
I started out using Proton-J 0.7 on windows 8.1 and then I tried it with 0.6 on linux CentOS. Neither of them worked for me. -Jimmy -Original Message- From: Rafael Schloming [mailto:r...@alum.mit.edu] Sent: Tuesday, June 3, 2014 8:32 AM To: proton@qpid.apache.org Subject: Re: Proton-c on android Can you provide me with the details of what version of proton-j you were using and what kind of environment? --Rafael On Tue, Jun 3, 2014 at 11:29 AM, Jimmy Campbell wrote: > I was unable to get messages through to the Azure Service Bus. It kept > saying "remote host has dropped the connection" in system error. > > Proton-c is able to send without any issues. > > -Original Message- > From: Rafael Schloming [mailto:r...@alum.mit.edu] > Sent: Tuesday, June 3, 2014 8:26 AM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > What sort of problems did you run into with proton-j? > > --Rafael > > > On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell > > wrote: > > > Proton-j was my first choice but I was unable to connect to the > > Azure Service Bus, which is my end goal. There are tutorials and > > support for connecting proton-c to the azure service bus. > > > > -Original Message- > > From: Clebert Suconic [mailto:csuco...@redhat.com] > > Sent: Wednesday, May 28, 2014 7:00 PM > > To: proton@qpid.apache.org > > Subject: Re: Proton-c on android > > > > Wouldn't Proton-j be a better fit? > > > > > > On May 28, 2014, at 8:45 PM, Jimmy Campbell > > wrote: > > > > > I am trying to get proton-c to run on android. Does anybody have > > > any > > advice or experience on the matter that I can get in contact with? > > > > >
Re: Proton-c on android
Can you provide me with the details of what version of proton-j you were using and what kind of environment? --Rafael On Tue, Jun 3, 2014 at 11:29 AM, Jimmy Campbell wrote: > I was unable to get messages through to the Azure Service Bus. It kept > saying "remote host has dropped the connection" in system error. > > Proton-c is able to send without any issues. > > -Original Message- > From: Rafael Schloming [mailto:r...@alum.mit.edu] > Sent: Tuesday, June 3, 2014 8:26 AM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > What sort of problems did you run into with proton-j? > > --Rafael > > > On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell > wrote: > > > Proton-j was my first choice but I was unable to connect to the Azure > > Service Bus, which is my end goal. There are tutorials and support for > > connecting proton-c to the azure service bus. > > > > -Original Message- > > From: Clebert Suconic [mailto:csuco...@redhat.com] > > Sent: Wednesday, May 28, 2014 7:00 PM > > To: proton@qpid.apache.org > > Subject: Re: Proton-c on android > > > > Wouldn't Proton-j be a better fit? > > > > > > On May 28, 2014, at 8:45 PM, Jimmy Campbell > > wrote: > > > > > I am trying to get proton-c to run on android. Does anybody have any > > advice or experience on the matter that I can get in contact with? > > > > >
RE: Proton-c on android
I was unable to get messages through to the Azure Service Bus. It kept saying "remote host has dropped the connection" in system error. Proton-c is able to send without any issues. -Original Message- From: Rafael Schloming [mailto:r...@alum.mit.edu] Sent: Tuesday, June 3, 2014 8:26 AM To: proton@qpid.apache.org Subject: Re: Proton-c on android What sort of problems did you run into with proton-j? --Rafael On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell wrote: > Proton-j was my first choice but I was unable to connect to the Azure > Service Bus, which is my end goal. There are tutorials and support for > connecting proton-c to the azure service bus. > > -Original Message- > From: Clebert Suconic [mailto:csuco...@redhat.com] > Sent: Wednesday, May 28, 2014 7:00 PM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > Wouldn't Proton-j be a better fit? > > > On May 28, 2014, at 8:45 PM, Jimmy Campbell > wrote: > > > I am trying to get proton-c to run on android. Does anybody have any > advice or experience on the matter that I can get in contact with? > >
Re: Proton-c on android
What sort of problems did you run into with proton-j? --Rafael On Thu, May 29, 2014 at 11:21 AM, Jimmy Campbell wrote: > Proton-j was my first choice but I was unable to connect to the Azure > Service Bus, which is my end goal. There are tutorials and support for > connecting proton-c to the azure service bus. > > -Original Message- > From: Clebert Suconic [mailto:csuco...@redhat.com] > Sent: Wednesday, May 28, 2014 7:00 PM > To: proton@qpid.apache.org > Subject: Re: Proton-c on android > > Wouldn't Proton-j be a better fit? > > > On May 28, 2014, at 8:45 PM, Jimmy Campbell > wrote: > > > I am trying to get proton-c to run on android. Does anybody have any > advice or experience on the matter that I can get in contact with? > >
Re: Proton-c on android
Correct. The Android native API is not particularly rich. A little web searching will show many like-minded folks trying to fill the gaps as needed for their needs. At a minimum, a Proton-c port to Android will require support libraries for SSL/TLS and UUIDs. Many people have already dealt with these two, so you may find an acceptable solution that works for you with little or no elbow grease. Cliff On Mon, Jun 2, 2014 at 3:46 PM, Jimmy Campbell wrote: > I read your post about your successful build of proton-c on android. From > what you saw there was no way to enable SSL on android the android version? > > Thanks, > -Jimmy > > -Original Message- > From: Cliff Jansen [mailto:cliffjan...@gmail.com] > Sent: Thursday, May 29, 2014 8:03 AM > To: proton > Subject: Re: Proton-c on android > > Take a look at > > https://issues.apache.org/jira/browse/PROTON-298 > > For some previous tire kicking by me. I haven't really tried taking it > further precisely because Proton-j seems the more sensible fit. > > > Cliff > > On Wed, May 28, 2014 at 5:45 PM, Jimmy Campbell > wrote: >> I am trying to get proton-c to run on android. Does anybody have any advice >> or experience on the matter that I can get in contact with?
RE: Proton-c on android
I read your post about your successful build of proton-c on android. From what you saw there was no way to enable SSL on android the android version? Thanks, -Jimmy -Original Message- From: Cliff Jansen [mailto:cliffjan...@gmail.com] Sent: Thursday, May 29, 2014 8:03 AM To: proton Subject: Re: Proton-c on android Take a look at https://issues.apache.org/jira/browse/PROTON-298 For some previous tire kicking by me. I haven't really tried taking it further precisely because Proton-j seems the more sensible fit. Cliff On Wed, May 28, 2014 at 5:45 PM, Jimmy Campbell wrote: > I am trying to get proton-c to run on android. Does anybody have any advice > or experience on the matter that I can get in contact with?
RE: Proton-c on android
Proton-j was my first choice but I was unable to connect to the Azure Service Bus, which is my end goal. There are tutorials and support for connecting proton-c to the azure service bus. -Original Message- From: Clebert Suconic [mailto:csuco...@redhat.com] Sent: Wednesday, May 28, 2014 7:00 PM To: proton@qpid.apache.org Subject: Re: Proton-c on android Wouldn't Proton-j be a better fit? On May 28, 2014, at 8:45 PM, Jimmy Campbell wrote: > I am trying to get proton-c to run on android. Does anybody have any advice > or experience on the matter that I can get in contact with?
Re: Proton-c on android
Take a look at https://issues.apache.org/jira/browse/PROTON-298 For some previous tire kicking by me. I haven't really tried taking it further precisely because Proton-j seems the more sensible fit. Cliff On Wed, May 28, 2014 at 5:45 PM, Jimmy Campbell wrote: > I am trying to get proton-c to run on android. Does anybody have any advice > or experience on the matter that I can get in contact with?
Re: Proton-c on android
Wouldn't Proton-j be a better fit? On May 28, 2014, at 8:45 PM, Jimmy Campbell wrote: > I am trying to get proton-c to run on android. Does anybody have any advice > or experience on the matter that I can get in contact with?