On Sun, 2019-02-17 at 01:06 -0600, Oscar Bastidas wrote:
> Hello Oleg,
> 
> Thank you for your kind response.  I have Android 8.1 on my device
> and I
> think I'd like to give the 5.0 package a shot.
> 
> That being said, I do have two follow-up questions that I would like
> to ask
> you:
> 
> 1) I noticed that to get the 4.3.5.1 package via the link you gave
> me, I
> need to type the following somewhere:
> 
> dependencies {
>     compile group: 'org.apache.httpcomponents' , name:
> 'httpclient-android' , version: '4.3.5.1'
> }
> 
> 
> Is this supposed to go in the gradle file (which assumes Android app
> development with gradle files, XML, etc...)

Yes, it is.


>  and if so, is there an
> alternative way to incorporate the package so it can be used into
> just
> plain Java (powered by ecj compiler for instance) by command
> line?  Perhaps
> using something comparable to:
> 

I cannot say. I have limited experience with Android development and I
have always been using Gradle.


> 2) Keeping my 'pure Java only' paradigm in mind, If I want to get the
> 5.0
> version, are the downloads available from the following link what I
> should
> be looking at?
> 
> http://hc.apache.org/downloads.cgi
> 
> If so, which should I take?  The binary (tar or zip?)?  Or the source
> (tar
> or zip?)? 

Binary unless we want to build the artifacts from source.


>  Where should they be saved, unzipped and once they've been saved
> in the right location and unzipped, do they require further
> processing or
> can I at that point just use the import command in my Java program
> like
> importing any other native library (i.e. 'import util.*;')?
> 

I cannot say.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to