Source code: Android custom ListView

Since many of you have asked for a source code of this tutorial: Android custom ListView tutorial I decided to write it and share. The tutorial was witten based on a bigger project, so I could not share it. This is why I have written custom ListView source code example from scratch based on the … Continue reading Source code: Android custom ListView

Android custom ListView tutorial (including source code)

This tutorial will show how to prepare ListView with custom items and buttons (with click handlers) like this: Source Code The source code for this tutorial is in this post. You can download it and use as You like. 1. Create single list item layout Item consists of three views: name, value (EtitTexts) and delete … Continue reading Android custom ListView tutorial (including source code)

Send email from Android application

To handle standard Android share action (e.g. send email) application can call this dialog window, where user can choose share option: To do it, an Android application needs to send intent to Android OS: public void shareCalculation(){ Intent emailIntent = utils.prepareEmailIntent(getApplicationContext()); startActivity(Intent.createChooser(emailIntent, getString(R.string.email_utils_chooseEmailClient))); } the prepareEmailIntent() method is as follows: public Intent prepareEmailIntent(Context context) { … Continue reading Send email from Android application