Category «Android Advanced Concepts»

Android – Sending SMS

In Android, you can use SmsManager API or devices Built-in SMS application to send SMS’s. In this tutorial, we shows you two basic examples to send SMS message − SmsManager API SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(“phoneNo”, null, “sms message”, null, null); Built-in SMS application Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.putExtra(“sms_body”, “default content”); sendIntent.setType(“vnd.android-dir/mms-sms”); startActivity(sendIntent); Of …

Android – Drag and Drop

Android drag/drop framework allows your users to move data from one View to another View in the current layout using a graphical drag and drop gesture. As of API 11 drag and drop of view onto other views or view groups is supported.The framework includes following three important components to support drag & drop functionality …

Android – Notifications

A notification is a message you can display to the user outside of your application’s normal UI. When you tell the system to issue a notification, it first appears as an icon in the notification area. To see the details of the notification, the user opens the notification drawer. Both the notification area and the …

Android – Phone Calls

Android provides Built-in applications for phone calls, in some occasions we may need to make a phone call through our application. This could easily be done by using implicit Intent with appropriate actions. Also, we can use PhoneStateListener and TelephonyManager classes, in order to monitor the changes in some telephony states on the device. This …

Publishing Android Application

Android application publishing is a process that makes your Android applications available to users. Infect, publishing is the last phase of the Android application development process. ANDROID DEVELOPMENT LIFE CYCLE Once you developed and fully tested your Android Application, you can start selling or distributing free using Google Play (A famous Android marketplace). You can …

What is in the Android SDK?

TheAndroidSDKisdownloadedinasimplezippedpackage(asdescribedinChapter3). ThebulkoftheAndroidSDK,innumberoffiles,consistsofdocumentation,with programmingAPIs,tools,andsamplescomprisingtherest.Thissectionprovidesacloser look at exactly what is included in the Android SDK. Navigate to the folder where you unpacked the Android SDK so that you can begin to explore the folder structure within. While there are a few files in the root folder, like android.jar (a compiled Java application containing the core SDK libraries …