55
06/26/2022 1 Building Win 8 and WP8 Apps Using appMobi

Building Win 8 and WP8 Apps Using appMobi

Embed Size (px)

DESCRIPTION

With the addition of Microsoft's Windows 8 and Windows Phone 8 platforms to appMobi's HTML5 app platform, you can now create and deploy desktop or mobile apps to all major app stores and devices from a single JavaScript code base. The appMobi team has created Visual Studio templates supporting Windows 8 and Windows Phone 8 creation of generic apps, web apps, accelerated games, and Facebook apps.

Citation preview

Page 1: Building Win 8 and WP8 Apps Using appMobi

04/11/2023 1

Building Win 8 and WP8 Apps Using appMobi

Page 2: Building Win 8 and WP8 Apps Using appMobi

Who am I?

Andrew SmithappMobi Developer Evangelist

Web Development@profMobi

Page 3: Building Win 8 and WP8 Apps Using appMobi

o What is appMobi all about?o How do appMobi applications work?o How would a mobile Web developer

make an app?o What steps are necessary to build for

Windows?o So how does appMobi make money

anyway?o Why don't you guys ask some questions?

Agenda

Page 4: Building Win 8 and WP8 Apps Using appMobi

What is appMobi all about?

Page 5: Building Win 8 and WP8 Apps Using appMobi

04/11/2023 5

Mission:To unify the technologies used in delivering web and mobile

apps, simplifying the process of development and resulting in a new class

of creative and compelling native mobile apps and interactive ads.

Strategy:Offer a cloud-based, white-label platform that opens up the

world of cross-device native mobile app creation to web developers, using familiar languages and tools:

HTML5 and JavaScript

Page 6: Building Win 8 and WP8 Apps Using appMobi

What does appMobi do?

The appMobi mission is to help developers create awesome mobile apps using HTML5

Page 7: Building Win 8 and WP8 Apps Using appMobi

Free XDK Development Tool

Page 8: Building Win 8 and WP8 Apps Using appMobi

Cloud Based Build System –

appHub

Page 9: Building Win 8 and WP8 Apps Using appMobi

jqMobi

Page 10: Building Win 8 and WP8 Apps Using appMobi

• Game Engine Interfaces• directCanvas• directBox2d• Android Multi-Touch• Multi-Sound

HTML5 Game Development

Page 11: Building Win 8 and WP8 Apps Using appMobi

The appMobi Cloud Services provide enhancements for mobile HTML5 applications• Frictionless Payments• Analytics• Game Development

Tools• Over the air updates• Push Messaging

Cloud Services

Page 12: Building Win 8 and WP8 Apps Using appMobi

• Over 130K Developers Using our development tools

• 60K XDK Accounts Created

• Over 6000 Apps Delivered to App stores

Facts

Page 13: Building Win 8 and WP8 Apps Using appMobi

How do appMobi applications

work?

Page 14: Building Win 8 and WP8 Apps Using appMobi

• The HTML, JavaScript, data, and images that make up a tiny mobile website are collectively known as a “bundle”

The Anatomy of an appMobi

Application

Page 15: Building Win 8 and WP8 Apps Using appMobi

• All native appMobi applications are built using a full-screen web view control as its UI

• This application configuration is commonly called a “hybrid” application

The Anatomy of an appMobi

Application

Page 16: Building Win 8 and WP8 Apps Using appMobi

• Features of the device itself are accessed through integrated JavaScript libraries served by the application itself

• Find the documentation for these commands at http://appmobi.com/documentation/jsAPI

The Anatomy of an appMobi

Application

Page 17: Building Win 8 and WP8 Apps Using appMobi

• The “bundle” is tested by loading it into either the XDK or a test application over the Internet

• Once the application is ready for production, it would be built into its own mobile application for distribution through the appropriate application stores

The Anatomy of an appMobi

Application

Page 18: Building Win 8 and WP8 Apps Using appMobi

How is this different from

PhoneGap?

Acceleration for gamesIn App PurchasingPush Messaging

GamificationAnalytics

More

Just the app – no extras

Page 19: Building Win 8 and WP8 Apps Using appMobi

How would a mobile Web

developer make an app?

Page 20: Building Win 8 and WP8 Apps Using appMobi

Sign up for a free appHub account

http://apphub.appmobi.com

Page 21: Building Win 8 and WP8 Apps Using appMobi

What is appHub?

Page 22: Building Win 8 and WP8 Apps Using appMobi

Write your app

Page 23: Building Win 8 and WP8 Apps Using appMobi

Get the XDK

Page 24: Building Win 8 and WP8 Apps Using appMobi

The appMobi XDK Development

Tool

Page 25: Building Win 8 and WP8 Apps Using appMobi

XDK Version Control

Page 26: Building Win 8 and WP8 Apps Using appMobi

Project Controls

Page 27: Building Win 8 and WP8 Apps Using appMobi

Development Controls

Page 28: Building Win 8 and WP8 Apps Using appMobi

XDK Resources

Page 29: Building Win 8 and WP8 Apps Using appMobi

Account Controls

Page 30: Building Win 8 and WP8 Apps Using appMobi

Application Simulation

Page 31: Building Win 8 and WP8 Apps Using appMobi

Application Display

Page 32: Building Win 8 and WP8 Apps Using appMobi

Cloud Services

Page 33: Building Win 8 and WP8 Apps Using appMobi

Build your app using appHub

Page 34: Building Win 8 and WP8 Apps Using appMobi

What steps are necessary to

build for Windows 8 and

Windows Phone 8?

Page 35: Building Win 8 and WP8 Apps Using appMobi

• Create a new Windows Store project

Create a new Visual Studio 2012

Project

Page 36: Building Win 8 and WP8 Apps Using appMobi

• Go to NuGet and grab the an appropriate project template

Get a template from NuGet

Page 37: Building Win 8 and WP8 Apps Using appMobi

• Load the template through the Package Manager Window

Load the template

Page 38: Building Win 8 and WP8 Apps Using appMobi

• For Windows 8 Store applications, make sure to edit the rootFrame.navigate command to use the appMobi browser object

Edit app.xaml.cs

Page 39: Building Win 8 and WP8 Apps Using appMobi

• Get the application bundleo Through the XDKo Downloading it from appHub

Download the application bundle

Page 40: Building Win 8 and WP8 Apps Using appMobi

• Copy the application bundle into the HTML directory of the project, making sure to leave the _appMobi directory intact

• Edit index.html and change the reference to appmobi.js to the _appMobi directory

Add the application bundle

Page 41: Building Win 8 and WP8 Apps Using appMobi

• Create a new Windows Phone 8 project

Create a new Visual Studio 2012

Project

Page 42: Building Win 8 and WP8 Apps Using appMobi

• Go to NuGet and grab the an appropriate project template

Get a template from NuGet

Page 43: Building Win 8 and WP8 Apps Using appMobi

• Load the template through the Package Manager Window

Load the template

Page 44: Building Win 8 and WP8 Apps Using appMobi

• For Windows Phone 8 applications, edit the WMAppManifest.xml file to point to AppMobiPage.xaml instead of MainPage.xaml

Edit the WMAppManifest.xml file

Page 45: Building Win 8 and WP8 Apps Using appMobi

• Get the application bundleo Through the XDKo Downloading it from appHub

Download the application bundle

Page 46: Building Win 8 and WP8 Apps Using appMobi

• Copy the application bundle into the HTML directory of the project, making sure to leave the _appMobi directory intact

• Edit index.html and change the reference to appmobi.js to the _appMobi directory

Add the application bundle

Page 47: Building Win 8 and WP8 Apps Using appMobi

• For Windows Phone 8 applications, edit the AppMobiWebSource.xml file to include a reference to all assets that are necessary from the bundle

Reference your bundle’s files

Page 48: Building Win 8 and WP8 Apps Using appMobi

• Build the application and then submit to the appropriate app store

Build and test

Page 49: Building Win 8 and WP8 Apps Using appMobi

• Windows 8 Store• Windows Phone 8

I’ll make these demo apps available to you

following this presentation

Demonstrations

Page 50: Building Win 8 and WP8 Apps Using appMobi

So how does appMobi make

money anyway?

Page 51: Building Win 8 and WP8 Apps Using appMobi

• Apps are charged by Monthly Active User (MAU)

• Only apps that access Cloud Services are charged

• Developers will never be charged more than their monetized apps are making

• http://www.appmobi.com/pricing

The appMobi “No-Lose” Guarantee

Page 52: Building Win 8 and WP8 Apps Using appMobi

Why don't you guys ask some

questions?

Page 53: Building Win 8 and WP8 Apps Using appMobi

For video demonstrations of this process, find these videos on YouTube.

• How to use Visual Studio and appMobi to port your hybrid HTML5 app to Windows 8

• How To Create Windows Phone 8 apps• How to do on-device testing with Windows Phone

8

• http://www.youtube.com/watch?v=x8eMev43Q3g• http://www.youtube.com/watch?v=L_tz3juWzTk• http://www.youtube.com/watch?v=0bgqeiD5jpY

More Information

Page 54: Building Win 8 and WP8 Apps Using appMobi

Find more information at:

http://www.appmobi.com/documenta

tion

Find out where here I’ll be next:

@profMobi

Page 55: Building Win 8 and WP8 Apps Using appMobi

04/11/2023 55