Code Library

Free Source Code and Program Tips

Android features various JAVA package description

In the Android application development, usually using JAVA language, in addition to the familiar with the basics of JAVA language, they also need to understand Android provides extended functionality JAVA JAVA applications in the general, if you need to use reference-based library, usually need to use the following method: import javax.swing .*; JAVA expressed above [...]

Android ListView common usage

ListView control is relatively common, but have always felt a bit tedious steps to create a ListView, so to sum up what, for easy access. The program's performance is to achieve a ListView, ListView inside title, content and images, and to join click and long press response. First, the definition in the xml inside a [...]

Glossary: SDK: Software Development Kit AVD: Android Virtual Devices ADT: Android Development Tools 1. Installing Android SDK Download windows android sdk link: http://androidappdocs.appspot.com/sdk/download.html?v=android-sdk_r3-windows.zip Details Address: http://androidappdocs.appspot.com/sdk/index.html Note: I downloaded to D: Android 2. Installing the ADT Plugin Eclipse -> Help> Software Updates …. In the dialog that appears, click the Available Software tab. Click Add [...]

Android HTTP Service

Using the HTTP service: 1. Apache HttpClinet Http GET Http POST a. Create HttpClient b. The initial HTTP GET method or POST method. c. set the parameters of key pairs d. implementation of the HTTP call e. processing HTTP reply HTTP GET example: 1 2 3 4 5 6 7 8 9 10 11 12 [...]

Everything you need to know about Android 2.0

Android 2.0 (formerly codenamed 'Éclair') is the latest evolution ofthe mobile OS developed by Google and the Open Handset Alliance. This version is a chunky upgrade, superceding the current Android 1.6 software (dubbed 'Donut'), which was actually considered "a minor platform release". The first phone to feature Android 2.0 will be Motorola's comeback phone, the [...]

Android examples of notepad

AndroidManifest.xml 1 <? xml version = "1.0" encoding = "utf-8"?> <manifest xmlns: android = "http://schemas.android.com/apk/res/android" package = "com.example.android.notepad "> <application android:icon="@drawable/app_notes" android:label="@string/app_name"> <provider android:name="NotePadProvider" android:authorities="com.google.provider.NotePad" /> < activity android: name = "NotesList" android: label = "@ string / title_notes_list"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android: name = "android. intent.category.LAUNCHER "/> </ intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" [...]

Sending email without user interaction in Android

[url] http://nilvec.com/sending-email-without-user-interaction-in-android/ [/ url] by nilvecTo send emails from an Activity in Android the easiest way is to fire up the built-in mail application with an Intent, and let it take care of the low-level details about how to assemble the message, negotiate a secure connection with the mail server and send it using the [...]

Add a Listener Tips Android View Sample

In the development for the control to add Listener is a very common work, the easiest way to add Listener can be: 1 findViewById (R.id.myButton). setOnClickListener (new View.OnClickListener () (public void onClick (View v) (/ / Do stuff))); Add a Listener using the above method has a drawback is that if control is too large, [...]

1 Android Application Development, 1st EditionBy Rick Rogers, John Lombardo ………………………………… …….. Publisher: O'Reilly Media, Inc.Pub Date: May 26, 2009Print ISBN-13: 978-0-596-52147-9Pages: 336Slots: 1.0 Download, download link 1 Copyright Preface Part 1: Development Kit Walk-Through Chapter 1. Getting to Know Android Section 1.1. Why Android? Section 1.2. The Open Handset Alliance Section 1.3. The Android [...]

jBPM User Interaction Patterns

Boris Lublinsky posted a high quality article at InfoQ about jBPM User Interaction Patterns that shows how jBPM simplifies interactions with people through tasklists. Certainly worth a read!