2012   Getting Started With   Android Development   Using Eclipse Junos Version                                 Mohammad S...
ContentsWhat is Android? ....................................................................................................
What is Android?IntroductionAndroid adalah satu “Operation System” (OS) yang dibangunkan oleh Android Incmenggunakan “Linu...
StructureThe /res folderThe res folder is where most application resources are stored. The main content categories include...
Installation Eclipse and Android1. Download Eclipse di http://www.eclipse.org/downloads/2. Pastikan downloads latest Eclip...
4. Selepas itu baru run eclipse.exe5. Setting Workspace   #Pastikan save wordspace anda ditempat selemat agar tak kena del...
Installing Android Development Tools (ADT) Kepada Eclipse1.      Start Eclipse, then select Help > Install New Software.2....
1. Click OK.2. In the Available Software dialog, select the checkbox next to Developer Tools and click next.Mohammad Syafi...
3. In the next window, youll see a list of the tools to be downloaded. Click Next.4. Read and accept the license agreement...
Setting AVD ManagerAvd manager adalah tempat dimana kita tetapkan emulator Untuk adroid ,ini kerana kita hendakmemastikan ...
Cara setting AVD Manager1. Masuk eclipse, pergi ke windows dan pergi ke AVD Manager seperti gambar dibawah.2. Akan keluar ...
3. Klik pada new sepeti dibawah4. Dan set seperti dibawah ini                                            Name:nama emulato...
Habis tekan je create AVD maka akan jadi macam bawah ….:) siap emulator kita    Maka abis je tutorial nie mulalah langkah ...
Upcoming SlideShare
Loading in …5
×

Getting started Adroid Eclipse

464 views
382 views

Published on

Getting started Adroid Eclipse

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
464
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Getting started Adroid Eclipse

  1. 1. 2012 Getting Started With Android Development Using Eclipse Junos Version Mohammad Syafiq Bin Mhd Hussain MediaCampus 10/16/2012
  2. 2. ContentsWhat is Android? .......................................................................................................................................... 3 Introduction .............................................................................................................................................. 3Fahami Struktur Adroid................................................................................................................................. 3 Structure ................................................................................................................................................... 4 The /res folder ...................................................................................................................................... 4 Drawable ............................................................................................................................................... 4 Layouts .................................................................................................................................................. 4 The /src folder ....................................................................................................................................... 4Installation Eclipse and Android ................................................................................................................... 5Installing Android Development Tools (ADT) Kepada Eclipse....................................................................... 7Setting AVD Manager.................................................................................................................................. 10 Rupa Bentuk Emulator didalam Eclipse .............................................................................................. 10 Cara setting AVD Manager ...................................................................................................................... 11 2. Akan keluar seperti dibawah ini.......................................................................................................... 11Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 2
  3. 3. What is Android?IntroductionAndroid adalah satu “Operation System” (OS) yang dibangunkan oleh Android Incmenggunakan “Linux” kernel untuk sistem operasi telefon, Android Inc dibeli oleh syarikatgergasi Google Inc pada tahun 2005 dan ia mula memasuki pasaran pada akhir 2009. Pada May2010, Android telah menguasai 20% pasaran smartphone di Amerika menandingi Smartphoneyang lain seperti windows os, iphone os dan blackberry os. Oleh kerana ia dibangunkan darisistem linux, Google membekalkan Android Operating sistem secara percuma dan ia akan kekalpercuma.Fahami Struktur AdroidSetiap aplikasi mesti mempunyai fail AndroidManifest.xml (dengan nama yang tepat) dalamdirektori akar. Mempunyai maklumat penting tentang aplikasi untuk sistem Android, sistemmaklumat mesti mempunyai sebelum ia boleh menjalankan apa-apa kod aplikasi.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 3
  4. 4. StructureThe /res folderThe res folder is where most application resources are stored. The main content categories include drawables,layouts, and values.DrawableAre generally bitmaps images in the form of .PNGs. Drawable can also be nine-patch images, which are.PNGs with special data in the image that help Android do a better job when stretching the image. Nine-patchimages can be created with the nine-patch tools in the SDK, or with an image creation tool like Photoshop.LayoutsIs where you define your screens? To view the XML for the layout on screen, click the main.xml tab. Valuesare where you define (in XML) your globally used colors, dimensions, strings and styles. The strings.xml fileallows you to add and edit values for your project.The /src folderThe src folder contains all of your custom source code, grouped into packages. Packages are simply there tohelp categorize your source code into logical (and manageable) groups.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 4
  5. 5. Installation Eclipse and Android1. Download Eclipse di http://www.eclipse.org/downloads/2. Pastikan downloads latest Eclipse iaitu versi Juno3. Selepas anda download pastikan anda extract di tempat yang sesuai agar tak menganggu kerja anda dan memudahkan Eclipse-java-juno-SR1-win32.zipMohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 5
  6. 6. 4. Selepas itu baru run eclipse.exe5. Setting Workspace #Pastikan save wordspace anda ditempat selemat agar tak kena delete.Kuarlah bentuk Cantik CamnieMohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 6
  7. 7. Installing Android Development Tools (ADT) Kepada Eclipse1. Start Eclipse, then select Help > Install New Software.2. Click Add, in the top-right corner.3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and thefollowing URL for the Location: https://dl-ssl.google.com/android/eclipse/Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 7
  8. 8. 1. Click OK.2. In the Available Software dialog, select the checkbox next to Developer Tools and click next.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 8
  9. 9. 3. In the next window, youll see a list of the tools to be downloaded. Click Next.4. Read and accept the license agreements, then click Finish.5. When the installation completes, restart Eclipse.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 9
  10. 10. Setting AVD ManagerAvd manager adalah tempat dimana kita tetapkan emulator Untuk adroid ,ini kerana kita hendakmemastikan application atau code kita berjalan dengan lancar,kita juga buleh extract file kita Kepada.apk tetapi perlukan masa Untuk membuatnya jadi kita teruskan dengan emulator dahulu.Rupa Bentuk Emulator didalam EclipseMohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 10
  11. 11. Cara setting AVD Manager1. Masuk eclipse, pergi ke windows dan pergi ke AVD Manager seperti gambar dibawah.2. Akan keluar seperti dibawah ini#Gambar ini menunjukan tiada lagi Emulator yang kita ada ,maka seterusnya kita buat satu emulatorbaru Untuk android.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 11
  12. 12. 3. Klik pada new sepeti dibawah4. Dan set seperti dibawah ini Name:nama emulator kita Target:Based API kita,pakai yang biasa je iaitu 2.2 Size:untuk memory sd card korang.Mohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 12
  13. 13. Habis tekan je create AVD maka akan jadi macam bawah ….:) siap emulator kita Maka abis je tutorial nie mulalah langkah anda untuk belajar android,saya ade Membuat tutorial dalam bahasa melayu bagi cara koneksi menu dan class jadi jika berminat call saya Untuk membeli tutorial dalam bentuk pdf bahasa melayu. Mohammad Syafiq Bin Mhd Hussain 0145065047 Syafiq_apit2002@yahoo.comMohammad Syafiq Bin Mhd Hussain-Getting Started Adroid Page 13

×