PDA

View Full Version : Android Application Dev Question



Hosmion
May 31st, 2010, 03:25 PM
Hello everyone! I am starting the development of a new application for my Droid Eris. This application will most likely be if not already decided to be named iTom. For right now, the ideas I have are either a programming notepad that's easy to use so you can code on your phone (i.e. having symbols above the screen so you don't have to keep going through the symbols pages to find the common symbols). Or, this might be a graphic organizer for business men and women. But, I am using eclipse to code the application, but when I go to my preferences to set the location of my SDK (Software Development Kit) but the Android Tab is not there to show where it is downloaded. Is there a certain way I need to go about this?

Here is an example of coding for an interface. This is a very simple Currency Converter (Euros to Dollars and vice versa) :


<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout
android:id="@+id/widget0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<CheckBox
android:id="@+id/widget28"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Euros to Dollars?"
android:textColor="#ff1b6d13"
android:layout_x="-3px"
android:layout_y="96px"
>
</CheckBox>
<CheckBox
android:id="@+id/widget29"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Dollars to Euros?"
android:textColor="#ff1b6d13"
android:layout_x="-3px"
android:layout_y="66px"
>
</CheckBox>
<TextView
android:id="@+id/widget30"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Welcome to CC"
android:textColor="#ffb41c8f"
android:layout_x="94px"
android:layout_y="0px"
>
</TextView>
<TextView
android:id="@+id/widget31"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="By Tom!"
android:textColor="#ffb41c8f"
android:layout_x="114px"
android:layout_y="19px"
>
</TextView>
</AbsoluteLayout>




Thanks,
Tom

Hosmion
June 1st, 2010, 12:50 AM
Anyone Help?