1 / 25

Eclipse, Android and “Hello, World!!!”

Eclipse, Android and “Hello, World!!!”. By, Sumanth Meda Jayaprakash. Eclipse IDE. Written in Java and an open source. Flexible, with suitable plug-ins can run programs in various languages like C, C++, COBOL, Perl, Python, PHP, Ruby etc. Features like, Syntax highlighting editor

elwyn
Télécharger la présentation

Eclipse, Android and “Hello, World!!!”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Eclipse, Android and “Hello, World!!!” By, SumanthMedaJayaprakash

  2. Eclipse IDE Written in Java and an open source. Flexible, with suitable plug-ins can run programs in various languages like C, C++, COBOL, Perl, Python, PHP, Ruby etc. Features like, Syntax highlighting editor Source level debugger Class navigator Code refactoring Supports unit testing with JUnit

  3. Installation Requirement: JDK Usage of Eclipse as a JDE is explained here www.eclipse.org/downloads/ Download Eclipse IDE for Java developers Unpack it to a directory, Ready to start!

  4. Starting Eclipse Click on “eclipse.exe” Set workspace (Place where you store all of your Java and Android projects)

  5. This is the welcome page Close the welcome page by clicking the cross mark next to “welcome”

  6. Start up page This is the start up page Eclipse is now ready to be used!!

  7. Downloading Android SDK Go to www.developer.android.com/sdk/index.html It will take a while to install completely

  8. ADT Plug-in for Eclipse IDE Start Eclipse, select Help>Install New Software Click Add in the top right corner

  9. ADT Plug-in … In “Add Repository” dialog box Enter “ADT Plugin” for the name And https://dl-ssl.google.com/android/eclipse/ Click “OK”

  10. ADT Plug-in … In “Available Software” dialog box, select the checkbox next to “Developer Tools” Click “Next”

  11. ADT Plug-in … You will see the list of tools to be downloaded. Click “Next”

  12. ADT Plug-in … Read and accept the license agreement Click “Finish”

  13. ADT Plug-in … When the installation completes, restart Eclipse

  14. Configuring ADT Plug-in Configure to make Eclipse point to the Android SDK directory Select Window>Preferences to open preference panel Select “Android”

  15. Configuring … For the SDK location, click on “Browse” and locate your downloaded SDK directory Click “Apply”, then “OK”

  16. A simple program!Conventional “Hello, World!!!”

  17. Create an AVD In Eclipse, Choose Window>Android SDK and AVD Manager Select “Virtual devices” in the left panel Click on “New”

  18. AVD … Give a name, such as my_new_avd Choose a target (platform you want to run your emulator) Size is the amount of memory you want to allocate for your device Click “Create AVD”

  19. New Android Project In Eclipse, select File> New> Project If ADT Plug-in is successfully installed, the resulting dialog box will have a folder by name “Android” Choose “Android project” Click “Next”

  20. Hello, World!!! New Android Project Window Project name: HelloWorld Create New or Create from existing source Select a target from the list of version available

  21. Package namespace that you want your source code to reside Min SDK version specifies the minimum API level required by your application

  22. Run the application!!!

  23. Questions???

  24. Thank you!!!

More Related