Comments (5)
C'est Go pour moi.
Tout est dit :
*
You can try OkHttp without rewriting your network code. The core module
implements the familiar java.net.HttpURLConnection API. And the optional
okhttp-apache module implements the Apache HttpClient API.*
2013/8/2 Patrick [email protected]
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.
Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home
Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel
Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel
from jcertif-android-2013.
En effet @max c'est juste quelques lignes a remplacer dans une seule classe.
L'avantage par contre est énorme :
- support complet de Picasso , a savoir le cache sur disque et autres optimisations .
- usage du protocole spyd avec ses avantages (voir le lien ci haut )
Ça vaut le coup :)
from jcertif-android-2013.
Je viens d'implémenter quelques tests basique :
- Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient (temps de latence) - Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient + un Thread spécial (pas temps de latence) - Appel d'un Webservice qui retourne un gros volume avec OkHttp (Pas de
temps de latence apparent) - Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient + un Thread spécial (Pas de temps de latence apparent)
Le 2 août 2013 05:07, Patrick [email protected] a écrit :
En effet @max https://github.com/Max c'est juste quelques lignes a
remplacer dans une seule classe.
L'avantage par contre est énorme :
- support complet de Picasso , a savoir le cache sur disque et autres
optimisations .- usage du protocole spyd avec ses avantages (voir le lien ci haut )
Ça vaut le coup :)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-21994507
.
Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home
Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel
Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel
from jcertif-android-2013.
+1 pour la taille 190 Ko.
Mais ça s'ajoute aux Ko native d'Apache HttpClient
Le 2 août 2013 05:16, Max Bonbhel [email protected] a écrit :
Je viens d'implémenter quelques tests basique :
- Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient (temps de latence)- Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient + un Thread spécial (pas temps de latence)- Appel d'un Webservice qui retourne un gros volume avec OkHttp (Pas
de temps de latence apparent)- Appel d'un Webservice qui retourne un gros volume avec Apache
HttpClient + un Thread spécial (Pas de temps de latence apparent)Le 2 août 2013 05:07, Patrick [email protected] a écrit :
En effet @max https://github.com/Max c'est juste quelques lignes a
remplacer dans une seule classe.
L'avantage par contre est énorme :
- support complet de Picasso , a savoir le cache sur disque et autres
optimisations .- usage du protocole spyd avec ses avantages (voir le lien ci haut )
Ça vaut le coup :)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-21994507
.Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/HomeJava.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhelTwitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel
Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home
Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel
Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel
from jcertif-android-2013.
Somme toutes. Pour l'instant on va d'abord le mettre de côté et continuer
avec l'existant. Une fois assez avancé côté présentation , on fera un
refactoring .Entre temps on perdra la mise en cache sur disque des images
(Picasso) mais nous avons le cache mémoire entre temps .
Le souci est que le support partiel de okhttp (simple ajout au classpath)
ramène un bug très célèbre : square/okhttp#227
from jcertif-android-2013.
Related Issues (20)
- Filtrer les Sessions par catégorie
- [Référentiel] Charger les données du référentiel au premier démarage HOT 6
- [Login Social] Implémenter le login social Facebook
- Intégration Maven
- Mise en place de l'intégration continue
- Add menu About
- Intégration Jenkins
- Intégration Sonar
- Tests Automatisés sur Android HOT 5
- Mises a jours automatique des données locales db4o
- [UI] adapter les couleurs du thème de application au thème de l'application web
- Integrer la Google Map HOT 4
- Dialog des Licences open source
- Ajouter la licence apache
- Leger souci de persistance des données sur tablette
- [Mis à jours manuelles] Intégrer le ActionBar PullToRefresh sur les listes
- Passer à Android Studio
- plantage à la connexion HOT 3
- ViewPager Indicator SpeakerSessionFragmentActivity's ViewPager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcertif-android-2013.