Code Library

Free Source Code, Program Tips and Technology Documents

Eclipse developed Android, LinearLayout (study 2)

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:

<? xml version = "1.0" encoding = "utf-8"?> <LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" android: orientation = "vertical" android: layout_width [...]

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 [...]

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 [...]

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 [...]

Android examples of notepad

AndroidManifest.xml

<? 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 [...]

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 [...]