- http://www.google-phone.com - News about Android mobiles
- http://androidguys.blogspot.com - Android news
- http://androidcommunity.com - News and forums
- http://ohaandroid.com - The unofficial Open Handheld Alliance community
- http://www.androidev.com - Forum for developers
- http://www.androidcomponents.com - Android components forum
- http://www.anddev.org - Forum for developers
- http://www.androiddevelopment.org - Applications made by Germans
- http://androidwiki.com/ - Android wiki
Friday, December 7, 2007
Stay In Touch With The Android Events
Posted by
Severin
at
12:55 PM
7
comments
TableLayout Example
Each TableLayout consists of a number of TableRow objects and each TableRow object contains zero or more cells. Each cell can hold one View object. The table has as many columns as the row with the most cells and cells can of course span columns. Here is a simple example of a "Sign In" form created with the TableLayout container:
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:background="#000044">
<TableRow>
<TextView id="@+id/textName"
android:text="Name:"
android:textColor="#ffffff" />
<EditText id="@+id/editName"
android:width="240px" />
</TableRow>
<TableRow>
<TextView id="@+id/textPasswd"
android:text="Password:"
android:textColor="#ffffff" />
<EditText id="@+id/editPasswd"
android:password="true" />
</TableRow>
<TableRow>
<Button id="@+id/buttonSignIn"
android:text="Sign In" />
</TableRow>
</TableLayout>
Source: Google Android
Posted by
Severin
at
11:03 AM
0
comments
Labels: android, Layouts, sample code, UI, XML
Thursday, December 6, 2007
LinearLayout Example
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:background="#000044"
android:orientation="vertical">
<TextView
id="@+id/textName"
android:text="Name:"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"/>
<EditText
id="@+id/editName"
android:text=""
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
id="@+id/textPasswd"
android:text="Password:"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"/>
<EditText
id="@+id/editPasswd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:password="true"/>
<Button
id="@+id/buttonSignIn"
android:text="Sign In"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
Posted by
Severin
at
2:49 PM
2
comments
Labels: android, Layouts, sample code, UI, XML
Wednesday, December 5, 2007
Implementing a User Interface
The Basic units of a user interface are Views and ViewGroups. Those basic screen elements are held in a tree structure as shown on a picture below. Every View represents some screen widget (TextView, EditView, Button etc.) and every ViewGroup serves as a base class for layouts.
Next time we will provide you with some examples of a simple UIs using several layouts.Source: Google Android
Posted by
Severin
at
10:54 AM
0
comments
Sunday, December 2, 2007
Say Hello To The World
Today I will show you the easiest app. It can be nothing else than a "Hello world!!" program :). The code is taken from Google's official Android website.
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
}
Posted by
Severin
at
2:49 PM
0
comments
Labels: android, sample code
Saturday, December 1, 2007
The First Steps In The Android World
In order to write your first app for the Android mobile, you have to download the Android SDK. As was said before the only programming language you can write the code in is Java. There are many great Java IDEs (I personaly prefer NetBeans), but the Android plugin is released just for Eclipse. So if you mean it with the Android seriously, you should also download the Eclipse IDE.
If you're not familiar with the Eclipse IDE (my case :)) than I recommend Google's step by step installing guide.
Posted by
Severin
at
2:22 PM
0
comments
The Android Introduction
The whole concept is to provide free and open platform for developing applications for those devices. Every Android mobile will be based on linux OS with some middleware and core applications. The important thing is that you, as a developer, will have the same possibilities as a developers of the core applications. The only programming language for developing the Android apps is Java (which makes sense beacause of it's portability). The whole API you can see bellow.

Sources: Google Android
Posted by
Severin
at
11:51 AM
0
comments
Labels: android, API, open handheld allliance


