Android Question Return All Error

hi all
i want to create button to when person click it, my program send all error of my application to my server. waht should i do?
if i use 'LastException' it give me all error or no? what should i coding?
 
Top