Home » Android » Page 11

Android

Android MultiTouch ListView Example

In this example we are going to see how to create MutliTouch ListView in an Android Application. In this example, every Item in the list is clickable, so you can bundle it with a ClickListener,  and it contains two buttons to edit and delete items. For this tutorial, we will use the following tools in a Windows 64-bit platform: JDK ...

Read More »

Android Service Example

In this example we are going to learn about Android Service. The Android Service is one of the most important components and building blocks in an Android System. One obvious characteristic of the Service component is that it offers no UI. It’s simply a program that runs on the background as log as it is required. It is important to ...

Read More »

Android Timer Example

In this example we are going to create a simple Android Timer application. We are going to use some very basic ideas and tools, like Handler, that you can use in many cases in your Applications. We will use the Handler for the interesting part of this example, which is the timer value update. For this tutorial, we will use ...

Read More »

Android: Debugging on a real device

In this tutorial we are going to see how to debug and run your Android application in a read device. This is a very popular subject among Android developers. Emulators are a very important component when developing Android apps. But it’s crucial to taste the experience of using your app in a real device. For this tutorial, we will use ...

Read More »

Android : How to check if device has camera

In this tutorial we are going to use  PackageManager and the hasSystemFeature method to find out whether our device has a Camera or not. Of course there are plenty of things you can find out about the device using the same tools. For this tutorial, we will use the following tools in a Windows 64-bit platform: JDK 1.7 Eclipse 4.2 Juno ...

Read More »

Android: How to make a phone call

A very useful feature in Android is that  you can use the built in Android Application to make phone calls from inside the Application. You can also use the  TelephonyManager and a PhoneStateListener in order to monitor the phone state. For this tutorial, we will use the following tools in a Windows 64-bit platform: JDK 1.7 Eclipse 4.2 Juno Android SKD 4.2 ...

Read More »

Android: How to set default activity

In Android you might create many Activities for your Application and you want to choose which one of these will be launched when the Application starts up. In other words which Activity will have the role of the main Activity of your Application. You can do that by creating an Intent filter in the AndroidManifest.xml file of your Project. The AndroidManifest.xml file ...

Read More »

Android: How to send Email

In Android you can use the built in Email client Application in order to send Emails from inside your own Application. You can do that by calling the built in Application using an Intent. You can create a new Intent with the Intent.ACTION_SEND argument to specify that you want to send an email with the new Activity that will be launced. ...

Read More »

Android: How to send SMS message

A very useful feature in Android is the SmsManager API which you can use to send an SMS from inside your own Application. Actually there are two way you can send an SMS from your Application: Using SmsManager API Using the build in SMS activity of Android API Using the built in Application is fairly easy, because you don’t have ...

Read More »

Android WebView Example

In Android, you can use the WebView component in order to present markup pages from URL or custom html markup page (short of like a browser, but in your own application…). In this tutorial we are going to create an use two Activities. The main Activity will contain a button. When the user presses that button, another activity launches which will contain a ...

Read More »