1 / 22

Free Powerpoint Templates

Mobile Computing (webView, Gallery, ImageView, ImageSwitcher, membuat file APK). Oleh: Adam Arif Budiman. STMIK BANI SALEH-2012. Free Powerpoint Templates. Dalam android tersedia widget untuk menampilkan informasi HTML atau me load halaman internet

brant
Download Presentation

Free Powerpoint Templates

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. Mobile Computing (webView, Gallery, ImageView, ImageSwitcher, membuat file APK) Oleh: Adam Arif Budiman STMIK BANI SALEH-2012 Free Powerpoint Templates

  2. Dalam android tersedia widget untuk menampilkan informasi HTML atau me load halaman internet Android browser berbasis pada webkit, engine yang digunakan pada browser safari pada produk Apple Android menggunakan widget Webview untuk menampilkan informasi dari internet WebKit

  3. Pada penggunaannya , komponen WebView harus request internet permission pada Androidmanifest.xml <uses-permission android:name="android.permission.INTERNET" /> WebKit (lanj)

  4. WebKit (lanj)

  5. Contoh coding WebKit (lanj)

  6. webKit (lanj)

  7. By default javascript di disabled pada webview. Untuk mengaktifkan tambahkan code myWebView.setSettings().setJavaScriptEnabled(true); Pada WebView Instance webKit (lanj)

  8. Gallery adalah tampilan yang menampilkan item-item gambar dalam posisi center, horisontal scroll Image Gallery

  9. <?xml version=”1.0” encoding=”utf-8”?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” > <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”Images of San Francisco” /> <Gallery android:id=”@+id/gallery1” android:layout_width=”fill_parent” android:layout_height=”wrap_content” /> <ImageView android:id=”@+id/image1” android:layout_width=”320px” android:layout_height=”250px” android:scaleType=”fitXY” /> </LinearLayout> Main.xml

  10. Resource image di letakkan di folder drawable Image Gallery (lanj)

  11. File apk digunakan untuk file instalasi di device berbasis android device java  jar Symbian/nokia  sis Android  apk Membuat file apk

  12. Klik kanan project  Android Tools  Export Signed Application Package Membuat file apk (lanj)

  13. Hasil file apk

  14. www.android.com

  15. Materi dapat didownload di http://mynameadam.wordpress.com Terima kasih

More Related