+ All Categories
Home > Technology > 02 meme ide

02 meme ide

Date post: 14-Jul-2015
Category:
Upload: memeapps
View: 390 times
Download: 0 times
Share this document with a friend
Popular Tags:
35
Meme IDE Agenda Meme IDE screen designer Building cross-platform Business Components Address Book example Building Deploying
Transcript
Page 1: 02 meme ide

Meme IDE

Agenda● Meme IDE screen designer● Building cross-platform● Business Components● Address Book example● Building● Deploying

Page 2: 02 meme ide

What is Meme IDE?● Like HTML5

● Cross-platform

● Unlike HTML5

● Not Browser-based

● Supports Android AND WM6.5. iPhone, Blackberry coming soon

● Meme Script programming language

● Generates native code

– C# Compact Framework WM 6.5

– Java (Android 2.1 or later)● Integrated Graphical Form Designer

Page 3: 02 meme ide

Screen Designer (WM)

Page 4: 02 meme ide

Screen Designer (Android)

Page 5: 02 meme ide

Building Cross Platform

MX VMMX App

Windows Mobile CAB Installer

JavaClasses

Android APK Installer

AndroidSDK

MXBuild and CAB

Tool

Page 6: 02 meme ide

Business Components

Page 7: 02 meme ide

Signature Capture

Page 8: 02 meme ide

Satellite Navigation

● Integration with other mobile client software

● Navigate button next to postcode● Co-pilot● Google Maps

Page 9: 02 meme ide

Enough Talk!

● Installation

● Download Zip file for your platform

● Extract

● Run

Page 10: 02 meme ide

part 2 signature capture

Hello World Video

Page 11: 02 meme ide

Address Book Example

Page 12: 02 meme ide

Import 'Address Book Example'

● Right-click in the project explorer

● Import ..

● General Existing Projects into Workspace→● Next

● Select Archive File

● Browse to examples/addressbook_basic.zip

● Finish

Page 13: 02 meme ide

Address Book – Records

Page 14: 02 meme ide

Address Book – Global Variable

Page 15: 02 meme ide

Address Book – Main Form (WM)

Page 16: 02 meme ide

Address Book – Main Form (Android)

Page 17: 02 meme ide

Address Book – List Data

Page 18: 02 meme ide

Opening the First Form

● Create a method called 'startup'

● Startup opens the first form supplying the global variable 'addressBook' as a parameter

function startup(){ open("AddressBookForm", addressBook);}

Page 19: 02 meme ide

Opening the First Form

● Change the Project properties to specify startup function

● Also set the App 'Identifer'

Page 20: 02 meme ide

Person Form Set form Data to 'Person'

Page 21: 02 meme ide

Person Form Set field Data to '.name'

Page 22: 02 meme ide

'addPerson' function

function addPerson(){ var newPerson : Person; newPerson.name = "New Person"; newPerson.tel = ""; append(addressBook.addresses, newPerson); refresh("addressList");}

Page 23: 02 meme ide

'editPerson' Function

function editPerson(){ var selectedPerson : Person = getSelection("addressList"); open("PersonForm", selectedPerson);}

Page 24: 02 meme ide

Creating a Menu

● Right-click on Project Explorer

● New Meme Menu

● Name it 'AddressMenu'

● Add Two Menu items● Edit – link to editPerson function● Add – link to addPerson function

Page 25: 02 meme ide

Creating a Menu

Page 26: 02 meme ide

Use the Menu – Main Form

Set the menu for the Form

Page 27: 02 meme ide

Use the Menu – Context Menu

Set the menu for the List ViewGive the List View a name

So we can redraw it

Page 28: 02 meme ide

'savePersonDetails' Function

function savePersonDetails(){ refresh("addressList"); back();}

Page 29: 02 meme ide

Packaging for Deployment (WM)

Page 30: 02 meme ide

Packaging for Deployment (Android)

Page 31: 02 meme ide

Android Manager

Page 32: 02 meme ide

Android Emulator

Page 33: 02 meme ide

Installation

● Launch emulator OR

● Plugin real device with USB debugging enabled

● From command line:● adb uninstall com.meme.course.addressbook● adb install AddressBook1.0.0-debug.apk

Page 34: 02 meme ide

Windows Mobile

● Active Sync

● Copy CAB file onto device

● Run the CAB File

● Find the App in 'Programs'

Page 35: 02 meme ide

Summary

● Understand a simple app in Meme IDE

● Know how to build an app

● Know how to deploy an app


Recommended