The Google App engine lets you create Android projects in the Eclipse
software. Eclipse uses the Java language to create Google apps. When you
create an application in Eclipse, you specify the Android version you
want to use for the application. As of August, 2011, Android tablets use
the Android 3.0 operating system (known widely as "Honeycomb") and
smartphones use 2.3 (known also as "Gingerbread"). Eclipse also includes
an emulator so that you can run the application in a window that looks
similar to your users' devices.
Instructions
-
-
1
Start the Eclipse Java environment.
-
2
Choose a workspace in the "Workspace" dialog window. This
window displays each time you run Eclipse. The workspace is the
directory where your project files and executables are stored. Click
"OK."
-
-
3
Click "File" and then "New." Click "Project" to open a
window asking for the type of project you want to create. Click "Android
Project" and click "Finish." A second window opens prompting you for
some basic app information.
-
4
Type a name for your app in the "Project Name" text box. In
the list of Android versions, check the box according to the version of
Android you want to develop your app for. You can only choose one
version for each app. Type a package name in the "Package Name" text
box. The other values are set to the default. Click "Finish." Eclipse
opens a workspace with startup files for your application.
-
5
Click the "Run" button to test the new layout. An emulator
starts and displays a tablet or phone window. You can navigate the
window using the same buttons and menu items available on an Android
device.
No comments:
Post a Comment