Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Affichage
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline

Preparation of the delivery of an Android application - Part II

3
October
2012

Preparation of the delivery of an Android application - Part II

Bandeau Conference

(Re)Hello
Still in the preparation of your delievry, a small thought for the logs. Let's start with a reminder:
"The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE. '' Verbose should never be compiled into an application except during development. Debug logs are compiled in goal stripped at runtime. Error, warning and info logs are always kept. » ().
In other words in production phase switching your logs in verbose or debug mode, it will optimize your application (made a large find and replace Log.e by Log.d and so on).
Some will tell me, "Yes, but me, I trace my exceptions with my logs", to which I reply, if the processing is centralized in an ExceptionManager, everything is fine, left in mode error within this class (and this is normal), but if this is not the case is that you have missed one crucial thing in your design. And then I will ask you if it's normal to logger your exceptions on a mobile terminal? …
*_*
Next training Android2EE on
Paris from 05 to 09 November 2012 or from 27 to 30 November on Toulouse, you also become a God in programming Android.
And then thank you who? Thanks Android2ee:)

Mathias Séguy
This email address is being protected from spambots. You need JavaScript enabled to view it.

Founder Android2EE
Training - Expertise - Consulting Android.
EBooks learn programming Android.
AndroidEvolution

Find me on Google +.
Follow me on Twitter
Join my LinkedIn network or Viadeo

You must be connected to post a comment.

Original author: MathiasSeguy
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Affichage
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline