Android calculator layout & Click-Event
Android calculator layout: <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:orientation=”vertical” > <LinearLayout android:layout_width=”match_parent” android:layout_height=”wrap_content” > <EditText android:id=”@+id/editText1″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_weight=”1″ android:ems=”10″ android:inputType=”numberDecimal” /> <Button android:id=”@+id/bc” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_weight=”1″ android:text=”C” /> </LinearLayout> <LinearLayout android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_gravity=”center_horizontal” > <Button android:id=”@+id/b1″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_weight=”1″ android:text=”1″
Types of apps
Free apps Once you find an app you want to install, follow the prompts and the app will be downloaded. Note: you cannot download to your computer then move an app to your device — all downloads go directly to
images
Using the “geo” command in the emulator console To send mock location data from the command line: Launch your application in the Android emulator and open a terminal/console in your SDK’s /tools directory. Connect to the emulator console: telnet localhost