336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

Before you run your app, you should be aware of a few directories and files in the Android project:


AndroidManifest.xml
The manifest file describes the fundamental characteristics of the app and defines each of its components. You'll learn about various declarations in this file as you read more training classes.

src/
Directory for your app's main source files. By default, it includes an Activity class that runs when your app is launched using the app icon.

res/
Contains several sub-directories for app resources. Here are just a few:

drawable-hdpi/
Directory for drawable objects (such as bitmaps) that are designed for high-density (hdpi) screens. Other drawable directories contain assets designed for other screen densities.

layout/

Directory for files that define your app's user interface.


values/

Directory for other various XML files that contain a collection of resources, such as string and color definitions.


When you build and run the default Android app, the default Activity class starts and loads a layout file that says "Hello World." The result is nothing exciting, but it's important that you understand how to run your app before you start developing.



추가) 2012-10-05
 
  • art - graphics element sources (psd, svg, xcf, ...)
  • src - java packages with classes (class)
  • res - resources files (xml, images)
  • libs - third party packages (jar)
  • assets - custom files related to the application (any type)
  • gen - generated classes files (java)
  • bin - output files (include apk)

발췌 : http://www.codeproject.com/Tips/318089/Android-project-structure-Eclipse


Run on a Real Device


If you have a real Android-powered device, here's how you can install and run your app:

  1. Plug in your device to your development machine with a USB cable. If you’re developing on Windows, you might need to install the appropriate USB driver for your device. For help installing drivers, see the OEM USB Drivers document.

  2. Ensure that USB debugging is enabled in the device Settings (open Settings and navitage to Applications > Development on most devices, or click Developer options on Android 4.0 and higher).

To run the app from Eclipse, open one of your project's files and click Run from the toolbar. Eclipse installs the app on your connected device and starts it.

출처 : http://developer.android.com/training/basics/firstapp/running-app.html

'-- Android' 카테고리의 다른 글

안드로이드 서버/클라이언트 소켓통신  (0) 2012.10.05
안드로이드 개발환경 구축  (0) 2012.09.20
Starting Another Activity  (0) 2012.09.18
Building a Simple User Interface  (0) 2012.09.14
Get Started Android  (0) 2012.09.14
posted by 어린왕자악꿍