Langsung ke konten utama

Multiscreen : Membuat Banyak Layar di App Inventor 2

Ini adalah postingan Multiscreen di App Inventor yang kedua, dengan menggunakan block baru yaitu open another Screen, yang ada pada Built-in > Control > open another Screen :














Misal kita memiliki 2 layar, dan ingin berpindah dari layar satu ke layar 2 dan sebaliknya maka caranya adalah kita terlebih dulu membuat 2 layar di jendela Desain App Inventor kita. Jangan lupa untuk menambahkan layar kedua, adalah dari menu Add Screen




Kemudian menempatkan Button (Tombol) sebagai triger untuk berganti layar tersebut, menggunakan block button.click dan menempatkan block open another screen didalamnya. Setelah itu tambahkan block text, dan ubah textnya dengan nama layar yang ingin kita panggil.




Attention Please

Yang perlu diingat adalah, ketika mencoba aplikasi dengan multiscreen ini, saat sekarang (Maret 2012) masih belum berfungsi pada emulator, akan ada pesan "Switching forms is not currently supported during development" jadi harus dipackage dan didownload ke Handset Android kita untuk mencobanya. 


Dan ketika kita bekerja dengan dua layar, antara layar satu dengan yang lainnya, ketika akan meng-edit Block, pastikan berada pada Block Editor yang sesuai dengan layar, yaitu dengan memilih layar terlebih dulu pada jendela Desain App Inventor.

Silahkan coba latihan diatas, dan lihat apakah fungsi dari block close screen? :) , jangan lupa mencoba-nya di http://beta.appinventor.mit.edu , server app inventor baru dari MIT.

Buat yg belum tahu apa itu App Inventor cek disini Apa itu App Inventor atau memulai App Inventor

Komentar

Postingan populer dari blog ini

Ponsel Meizu M9 Spesifikasi Oke dengan OS Android 2.1

Wah dengan adanya Android, maka produsen ponsel & elektronik dari China memiliki bekal sistem operasi yang bisa dijadikan andalan menembus pasar internasional. Salah satunya yaitu Meizu yang mp3 playernya laris manis di China sekarang sedang mempersiapkan Meizu M9 dengan spesifikasi yang lumayan canggih. Layar Meizu M9 ini berukuran 3.6 inch, prosesor 1 GHz (Samsung S5PC110) serta HTMI 1.3 output. Produk baru ini kemungkinan diluncurkan bulan Agustus. Infonya sih akan dipasarkan seharga 350 USD atau 3 jutaan rupiah lebih. beritateknologi

Motorola Devour specs: 3.1-inch screen, Android 1.6, MotorBLUR

Posted on Tuesday, Feb 2, 2010 by Phil Nickinson We brought you the promotional packaging for the Motorola Devour . But how would you like some specs? Here we go with the phone formerly known as the Calgary, which we're expecting on Verizon anytime now. (Yes, that's a Droid in the picture above. We're told that's just a placeholder.) The biggies: Android 1.6 ( Donut ) with MotoBLUR . A 3.1-inch touchscreen (320x480). 3MP camera. Verizon is requiring a data plan, and the $350 early termination fee is in effect. It comes with an 8GB microSD card. Still no word on price or when it will go on sale, but we're told it could be anytime now. There's a better breakdown and more screenies after the break. 3.1-inch touchscreen at 320x480. Dimensions: 4.55x2.4x0.61 inches. Weight: 6.35 ounces Talk time: Up to 340 minutes Standby time: Up to 440 hours Horizontal slider keyboard. 3-megapixel camera. EVDO Rev. A. WiFi b/g aGPS Audio formats: AAC, AAC+,

New 3D Android tablet will not require glasses

Rockchip has introduced their new 3D Android tablet this week, one that will be glasses-free while still giving owners full 3D support. The tablet will use autostereoscopic technology, the same displays that will be available in the unreleased Nintendo 3DS . Users can adjust the amount of 3D, and even disable it completely. Rockchip has dubbed their tablet the Supernova x1 but little will be known officially about the device until the IFA in September. Pictures show a 3.4-to-4-inch screen, a microSD slot, a USB port , SES Astra's 3D channel and volume controls. You can view a slideshow of pics here: Rockchip Supernova x1 via Engadget Aiheet: Gadgets afterdawn