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

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+, ...

Samsung Galaxy S Pro With Keyboard Rumored

There are touchscreen only fans and hardware keyboard fans and some folks are adamant about having it one way or another. That’s why when an amazing mobile phone like the Motorola Droid – or in this case the Samsung Galaxy S – are announced, one knee-jerk reaction is to wonder what the phone would be like if they offered an alternate version. We’re all familiar with the practice of adding a slideout QWERTY and slapping a “Pro” on to the end of the name, and that is exactly what HDBlog.it are suggesting will happen with the Samsung Galaxy S. The above picture is only a mock-up and is NOT real. But, rumor has it a phone that looks very similar to the Galaxy S will add the keyboard and start selling in late summer, after the original S has been on the market a couple months. Is there any truth to the rumor? No way of knowing. Would you be happy if the rumor came true? Different question completely… and one that I’d love for YOU to answer. by Rob Jackson on March 30th, 2010 Sumber : Ph...

40 Flash Sites for Android 2.2 Phones

Daniel Ionescu , PCWorld Sep 23, 2010 8:54 pm Welcome Droid X owners to the mobile world of Adobe Flash on a smartphone - the world Steve Jobs doesn't want you to see . This week Motorola Droid X joins a small but growing club of devices running Android 2.2 (aka Froyo ). The biggest improvement delivered by Android 2.2 is support for Adobe Flash Player 10.1 for smartphones. Before Android 2.2, surfing Flash-enhanced sites on a mobile phone was a limited experience only available to a couple of Nokia phones. But now, with Froyo running on around 30 percent of all Android phones, by Google's own estimates that is, we are just starting to get the taste of Flash on smartphones. For many the addition of Flash is a big deal, but the next question is what's there to do now? Sadly, because Flash for Android smartphones is so new there are few Flash sites optimised for the platform that take into considerations sm...