Developing apps for the Android platformDeveloping apps for the Android platformJava and XML sample codes for the Android projects. Programming techniques for mobile devices. Implementing Android User Interfaces. Posts on the Android platform topics Articles
Stay In Touch With The Android Events
2007-12-07 21:55:00 Here are some links to a webpages about the Android :http://www.google-phone.com - News about Android mobileshttp://androidcommunity.com - News and forumshttp://ohaandroid.com - The unofficial Open Handheld Alliance community http://www.androidev.com - Forum for developershttp://www.androidcomponents.co m - Android components forumhttp://www.anddev.org - Forum for developershttp://www.androiddevelopment.o rg - Applications made by Germanshttp://androidwiki.com/ - Android wikiHope that those links will be usefull for you too. More About: Events , Touch , Stay
TableLayout Example
2007-12-07 20:03:00 Today's sample code will implement very similar UI to the one created in the LinearLayout Example. But here we will be using a TableLayout widget instead.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:<?xml version="1.0" encoding="utf-8"?><TableL ayout xmlns:android="http://schemas.androi d.com/apk/res/android" android:layout_height="fill_parent&q uot; android:layout_width="fill_parent&qu ot; android:background="#000044"> ; <TableRow> <TextView id="@+id/textName" android:text="Name:" android:textColor="#ffffff" /> <EditText id="@+id/editName" android:width="240px" /> &... More About: Xamp
LinearLayout Example
2007-12-06 23:49:00 So if you want to create a UI using a XML file, you will need to put the XML file into your project's res/layouts folder. Here is a simple UI using the LinearLayout:<?xml version="1.0" encoding="utf-8"?><LinearLayoutxmln s:android="http://schemas.android.com/apk /res/android"android:layout_height="fill_ parent"android:layout_width="fill_parent" android:background="#000044"android:orien tation="vertical"><TextViewid="@+id /textName"android:text="Name:"android:lay out_width="wrap_content"android:layout_he ight="wrap_content"android:textColor="#ff ffff"/><EditTextid="@+id/editName"a ndroid:text=""android:layout_width="fill_ parent"android:layout_height="wrap_conten t"/><TextViewid="@+id/textPasswd"an droid:text="Password:"android:layout_widt h="wrap_content"android:layout_height="wr ap_content"android:textColor="#ffffff"/&g t;<EditTextid="@+id/editPasswd"android :layout_width="fill_parent"android:layout _height="wrap_content"android:password="t rue"/><Buttonid="@+id/b... More About: Xamp
Implementing a User Interface
2007-12-05 19:54:00 To give your application some "face" you will have to somehow define the UI. The Android API gives you two ways how to do it. You can write your app's UI directly in the Java code using objects and their methods or you can define it through a XML file. I guess that the most of programmers (including me) will choose the second option.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 More About: User , Interface , User Interface
Say Hello To The World
2007-12-02 23:49:00 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.public class HelloAndroid extends Activity {/** 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); }} More About: World , The World
The First Steps In The Android World
2007-12-01 23:22:00 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. More About: World , Steps
The Android Introduction
2007-12-01 20:51:00 Android is a platform for developing aplications for a mobile phones. The group of more than 30 companies behind is called the Open Handheld Alliance which includes companies like Google, Intel, Texas Instruments, Samsung, Telefonica etc. According to the list of members of OHA it's supposed that the Android will be used on the next generation mobile phones.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 More About: Introduction , Android |



