Hi all again!

Posted on

After some months away from blogging, I'm here again trying to tell the world my thoughts about development (as I did on www.jmanzano.es). This time I'm running a ghost platform on digital ocean just to test it and see how it works. I've just had to configure some lines to get running ghost+nginx (pretty cool!!) I'd really like to have the dashboard project running but it seems there's a little wait yet. I'm trying to transfer all the old posts (because some of the them were having great traffic from stackoverflow) when I have time. Thanks y'all and welcome abroad!…

Read more »

Some interesting Github repositories for Android

Posted on

I’ve not written for a long time and I thought that this “come-back-article” should be less technical (Although interesting :D ) It seems that lately everyone is using git for version control and its web version: github. Spring and Djange have moved to github, so why shouldn’t we? :) . Ocassionaly, I like to watch github repositories to see if there are interesting projects for future use, or just to learn. One day I was watching github’s repositories I found some interesting projects for Android that you can find interesting :) Asynchronous image loading, caching and displaying: https://githu…

Read more »

Making easier SQLite3 connections with ORMLite

Posted on

In one of my last articles, one of my readers asked about some ORM solution to access the sqlite3 database in Android. Due to I ignore it, I began to investigate it One of the solutions I reached was ORMLite which has an Android version. Thereby, and based on one of the multiple examples that the website has I’ve created a simple Phonebook to store contacts by their names, email and phone number (in a simple way). Both, the visual part and the exceptions control is not complex in this example because I considered that It wasn’t the target of the article. To begin, the first thing we have to do…

Read more »

Integrating ZXing in our own Android app: BarcodeScanner

Posted on

For some time, I’ve been considering how to integrate Zxing barcode scanner in a project without having installed an extra app to use it (although they give you the chance to use an intent to test if Barcode Scanner is installed and use it). One of ZXing’s creators gave us some reasons of why not to do this, and if you want you can read them here However, my inquisitiveness led me to think how could I integrate the code inside a project. Some of the reasons I thought it was very helpful are: Chances to customize the UI of the barcode scanner. When the project is large enough, it could be easi…

Read more »

Efficient REST request with Spring Android

Posted on

In previous articles somebody recommend me to use Spring Android to make REST request more efficiently, so I started to work and thought to write an article to show you all how to do it in a simple way. For that purpose, we’ll use the previous examples (1,2) but with a simple modification in the JSON format. This time, the JSON object will be returned this way: [ {"emails":["email.2@yahoo.com","emailnew@gmail.com"],”name”:”Contacto 1″,”numbers”:["78789987","78789227","44449987"]}, {“emails”:["contacto2@gmail.com","contacto3@gmail.com"],”name”:”Contacto 2″,”numbers”:["22449987","2939329…

Read more »

Efficient ListView's in Android: ViewHolder Pattern

Posted on

When we’re going to implement a good adapter, we have to take into account two things: reuse the convertView parameter and variable of the getView() method to avoid inflating new View objects when it’s not needed. To solve this you must use the ViewHolder pattern, which is what we’re going to explain in this little article Not taking into account those advices may cause, sooner or later, the following findViewById() calls to provoke performance problems. This could be solved with the View Holder pattern. To apply this pattern, we could simply create a nested class into the adapter that we’re …

Read more »