17 Dec
Posted by support as General 18 views, 0 Comments
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 [...]
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 [...]
17 Dec
Posted by support as General 41 views, 0 Comments
A LinearLayout is a GroupView that will Lay child View elements vertically or horizontally. Start a new project / Activity called HelloLinearLayout. Open the layout file. Make it like so: 1 <? xml version = "1.0" encoding = "utf-8"?> <LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height = [...]
17 Dec
Posted by support as General 40 views, 0 Comments
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 [...]
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 public class TestHttpGetMethod (public void get () (BufferedReader in = null; [...]
17 Dec
Posted by support as General 7 views, 0 Comments
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 [...]
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" [...]
17 Dec
Posted by support as General 97 views, 0 Comments
[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 [...]
17 Dec
Posted by support as General 578 views, 0 Comments
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 [...]
android.bluetooth.intent.action.BONDING_CREATED android.bluetooth.intent.action.BONDING_REMOVED android.bluetooth.intent.action.DISABLED android.bluetooth.intent.action.DISCOVERY_COMPLETED android.bluetooth.intent.action.DISCOVERY_STARTED android.bluetooth.intent.action.ENABLED android.bluetooth.intent.action.HEADSET_STATE_CHANGED android.bluetooth.intent.action.MODE_CHANGED android.bluetooth.intent.action.NAME_CHANGED android.bluetooth.intent.action.PAIRING_CANCEL android.bluetooth.intent.action.PAIRING_REQUEST android.bluetooth.intent.action.REMOTE_ALIAS_CHANGED android.bluetooth.intent.action.REMOTE_ALIAS_CLEARED android.bluetooth.intent.action.REMOTE_DEVICE_CONNECTED android.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEARED android.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEARED android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECTED android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECT_REQUESTED android.bluetooth.intent.action.REMOTE_DEVICE_FOUND android.bluetooth.intent.action.REMOTE_NAME_FAILED android.bluetooth.intent.action.REMOTE_NAME_UPDATED android.intent.action.AIRPLANE_MODE android.intent.action.BATTERY_CHANGED android.intent.action.BATTERY_LOW android.intent.action.BOOT_COMPLETED android.intent.action.CAMERA_BUTTON android.intent.action.CONFIGURATION_CHANGED android.intent.action.DATA_SMS_RECEIVED android.intent.action.DATE_CHANGED android.intent.action.DEVICE_STORAGE_LOW android.intent.action.DEVICE_STORAGE_OK android.intent.action.GTALK_CONNECTED android.intent.action.GTALK_DISCONNECTED android.intent.action.HEADSET_PLUG android.intent.action.MANAGE_PACKAGE_STORAGE android.intent.action.MEDIA_BAD_REMOVAL android.intent.action.MEDIA_BUTTON android.intent.action.MEDIA_EJECT android.intent.action.MEDIA_MOUNTED android.intent.action.MEDIA_REMOVED android.intent.action.MEDIA_SCANNER_FINISHED android.intent.action.MEDIA_SCANNER_SCAN_FILE android.intent.action.MEDIA_SCANNER_STARTED android.intent.action.MEDIA_SHARED android.intent.action.MEDIA_UNMOUNTABLE android.intent.action.MEDIA_UNMOUNTED android.intent.action.NEW_OUTGOING_CALL android.intent.action.PACKAGE_ADDED android.intent.action.PACKAGE_CHANGED android.intent.action.PACKAGE_INSTALL android.intent.action.PACKAGE_REMOVED android.intent.action.PACKAGE_RESTARTED android.intent.action.POWER_CONNECTED android.intent.action.POWER_DISCONNECTED android.intent.action.PROVIDER_CHANGED [...]