Home >Documents >Windows8 eBook

Windows8 eBook

Date post:18-Oct-2015
Category:
View:25 times
Download:0 times
Share this document with a friend
Transcript:
  • ii

    prakata

    Puji syukur kepada Allah SWT yang telah memberikan kesempatan dan kekuatan untuk menyusun

    dan menyelesaikan buku elektronik yang berjudul Membuat Aplikasi untuk Windows 8. Penulis

    mengucapkan terima kasih kepada keluarga yang selalu sabar membimbing penulis. Penulis juga

    mengucapkan terima kasih yang mendalam kepada Ronald Rajagukguk dan Narenda Wicaksono yang

    telah mengenalkan penulis kepada dunia komunitas dan menjadi inspirasi penulis untuk terus belajar

    dan mengembangkan diri. Tidak lupa ucapan terima kasih kepada tim DPE Microsoft Indonesia,tim

    Nokia Indonesia staf dan dosen Teknik Informatika ITB, rekan-rekan di Microsoft Innovation Center

    ITB, Microsoft User Group Indonesia, M Reza Faisal untuk foto-foto yang digunakan di buku ini,

    Irlanda, serta berbagai pihak yang tidak dapat penulis sebutkan satu per satu.

    Buku elektronik ini disusun untuk menyambut sistem operasi terbaru Microsoft yaitu Windows 8.

    Pembaca dapat mempelajari apa itu Windows 8, Windows Runtime (WinRT) dan bagaimana

    perbedaan membangun aplikasi Windows 8 dengan aplikasi yang lain, bagaimana menggunakan

    kakas untuk mengembangkan aplikasi Windows 8, fitur-fitur yang tersedia dan diakhiri dengan

    contoh aplikasi sederhana untuk Windows 8. Dengan adanya buku elektronik ini diharapkan para

    pengembang aplikasi dapat mempelajari platform tersebut untuk mengembangkan aplikasi.

    Pengetahuan tentang bahasa C# dan XAML akan sangat membantu meskipun bukan menjadi

    keharusan untuk dapat mempelajari buku elektronik ini. Contoh kode dan proyek buku ini dapat

    diperoleh di : http://win8ebook.codeplex.com/ .

    Akhir kata, penulis mengucapkan selamat membaca dan semoga buku elektronik ini bermanfaat dan

    dapat menjadi langkah awal bagi pembaca dalam mempelejari pengembangan aplikasi untuk

    Windows 8.

    Bandung, 31 Januari 2013

    Penulis

  • iii

    daftar isi

    prakata ......................................................................................................................................................................................... ii

    daftar isi ......................................................................................................................................................................................iii

    WINDOWS 8 ............................................................................................................................................................................. 1

    Windows reimagined ........................................................................................................................................................ 2

    Windows Runtime .............................................................................................................................................................. 3

    Lingkungan Eksekusi Aplikasi Windows 8 ................................................................................................................ 4

    Windows Store .................................................................................................................................................................... 6

    Kebutuhan Pengembangan ........................................................................................................................................... 8

    Windows 8 ............................................................................................................................................................ 8

    Visual Studio 2012 ............................................................................................................................................. 8

    FUNDAMENTAL ....................................................................................................................................................................... 1

    Hello World Windows 8 ................................................................................................................................................... 2

    Membuat project baru di Visual Studio .................................................................................................... 2

    Modifikasi Start Page........................................................................................................................................ 4

    Visual Studio 2012 ............................................................................................................................................................. 6

    Suspend & Resume ........................................................................................................................................... 6

    Template Proyek ................................................................................................................................................ 7

    Simulator ............................................................................................................................................................. 10

    XAML .................................................................................................................................................................................... 12

    Deklarasi Obyek ................................................................................................................................................ 13

    Pengaturan Properti ........................................................................................................................................ 13

    Operator async & await ................................................................................................................................................. 15

    Kontrol.................................................................................................................................................................................. 19

    Kontrol Layout ................................................................................................................................................... 21

    Kontrol untuk menampilkan koleksi ......................................................................................................... 24

    Webview .............................................................................................................................................................. 27

  • iv

    Application Bar .................................................................................................................................................. 29

    MANIPULASI DATA ................................................................................................................................................................ 1

    Data Binding ........................................................................................................................................................................ 2

    Implementasi Data Source ............................................................................................................................. 3

    Implementasi Binding Target ........................................................................................................................ 4

    Konsumsi Web Service ..................................................................................................................................................... 9

    Akses Menggunakan Generated Class....................................................................................................... 9

    Akses Menggunakan HttpClient ................................................................................................................ 16

    Operasi File Windows RT............................................................................................................................................... 17

    File Pickers .......................................................................................................................................................... 17

    Membaca dan Menulis File .......................................................................................................................... 22

    Application Data ............................................................................................................................................................... 27

    Penyimpanan Lokal ......................................................................................................................................... 28

    Roaming .............................................................................................................................................................. 32

    KONTRAK & EKSTENSI ......................................................................................................................................................... 1

    Integrasi dengan Pengalaman Windows 8 ............................................................................................................... 1

    File Picker Contract ............................................................................................................................................................ 2

    Search Contract .................................................................................................................................................................. 5

    Menambahkan Rekomendasi Kata Kunci ................................................................................................. 9

    Pencarian Ketika Aplikasi Tidak Aktif .......