+ Misc Advanced AppInventor Concepts
+ Using Multiple Screens in Apps You can have more than one screen in your app and move back and forth Lets watch a very concise video to learn how to use this ed ed Want to try it? Create an app for yourself as an instructor Main page –name, place for picture, title, etc Contact me – phone, mailing address, office number, About me – brief bio statement You could add others like class schedule, interests etc.
+ Saving and Sharing To share, backup or otherwise transfer source code you will download a.zip file To share a runnable app you will download an.apk file How do I do each of these??? Let’s investigate Can I use QR codes to distribute? Get a scanner in the Marketplace
+ Want to distribute your app? Local distribution Download Setup QR code Put on website Preparing to Publish to marketplaces Android Market / Google Play AndroidPit Amazon Alternative-App-Stores Alternative-App-Stores
+ Conversion conversion-of-app-inventor-apk-to-google-market/ conversion-of-app-inventor-apk-to-google-market/ app-inventor-app-to-the-android-market/ app-inventor-app-to-the-android-market/
+ Building your own Web Databases and APIs Hosting a web database Creating AppInventor compliant APIs Google App Engine
+ Other Resources Look at file on Wiki Other examples on Wiki
+ Build your own app By yourself or with a partner Define an idea for an app Set goals Identify the steps needed Identify the components needed to accomplish the steps Design the GUI Build the blocks Test it Define and try some extensions
+ Java and bridging The is an official bridge to Java SDK and at least one “enhanced” third party one The essential concept in both cases is Provide AppInventor widgets as Java classes to reduce our coding workload Make it easier to transition from the AppInventor environment to true and full-blown Java development You will need to install and setup Eclipse, the Android SDK, Bridge SDK and some Android Version files in order to do any kind of development using Java See setup instructions
+ Setup Instructions For Windows android-application.html android-application.html For Mac androidjava-environment.html androidjava-environment.html Also install one of the Bridge SDKs previously discussed Videos for setup
+ AIBridge – the 3 rd party Start with this one first Project home Page An Intro SDK Docs An Example =PaintPot.zip =PaintPot.zip
+ Original Java Bridge Series of Videos BD053C6F7F&index=2&feature=plpp_video BD053C6F7F&index=2&feature=plpp_video API Documentation
+ Some Examples See the handout Translations of some of the tutorial apps translation/downloads/list translation/downloads/list
+ package com.Android.hellopurr; import com.google.devtools.simple.runtime.components.HandlesEventDispatching; import com.google.devtools.simple.runtime.components.android.AccelerometerSensor; import com.google.devtools.simple.runtime.components.android.Button; import com.google.devtools.simple.runtime.components.android.Form; import com.google.devtools.simple.runtime.components.android.Sound; import com.google.devtools.simple.runtime.events.EventDispatcher; /** * HelloPurr example from David Wolber's book. * Joshua Swank */ public class HelloPurr extends Form implements HandlesEventDispatching { public Button btnButton1; private Sound sndSound1; private AccelerometerSensor asnAccelerometerSensor1; void $define() { btnButton1 = new Button(this); btnButton1.Text(""); btnButton1.Image("kitty.png"); sndSound1 = new Sound(this); sndSound1.Source("meow.mp3"); asnAccelerometerSensor1 = new AccelerometerSensor( this ); EventDispatcher.registerEventForDelegation( this, "HelloPurr", "Click" ); EventDispatcher.registerEventForDelegation( this, "HelloPurr", "Shaking" ); }
+ public void dispatchEvent( Object component, String id, String eventName, Object[] args ) { if( component.equals( btnButton1 ) && eventName.equals( "Click" ) ) btnButton1_Click(); else if( component.equals( asnAccelerometerSensor1 ) && eventName.equals( "Shaking" ) ) asnAccelerometerSensor1_Shaking(); } private void btnButton1_Click() { sndSound1.Play(); sndSound1.Vibrate( 500 ); } private void asnAccelerometerSensor1_Shaking() { sndSound1.Play(); }
+ Going RAW! Doing it All in Java! Tutorials here A video series including setup u u