Development - The BrightPath Foundation

tearfuloilΚινητά – Ασύρματες Τεχνολογίες

10 Δεκ 2013 (πριν από 3 χρόνια και 10 μήνες)

68 εμφανίσεις

i CAN

Mobi l e 1 0 1

Hands
-
On
Development


www.BrightPathFoundation.com

SETTING UP YOUR MOBILE
DEVELOPMENT ENVIRONMENT














www.BrightPathFoundation.com

Development Platforms

Android
OS

SDK: Android SDK

IDE: Eclipse with ADT Plugin

Language: Java

OS: Windows, Linux, Mac OS

BlackBerry
OS

SDK: Java SDK

IDE: Java Plugin for Eclipse

Language: Java

OS: Windows, Mac OS


iOS

Windows
Phone 7

SDK: Windows Phone SDK

IDE: Visual Studio 2010

Language: C#

OS: Windows

BlackBerry
Tablet OS

SDK:
iOS

SDK

IDE:
Xcode

Language: Objective
-
C

OS: Mac OS

SDK: Native SDK,
WebWorks

SDK,
Tablet OS SDK for Adobe AIR

IDE: Flash Builder

Language: C, HTML 5,
ActionScript

OS: Windows, Mac OS


www.BrightPathFoundation.com

Resource Sites


Android


http://developer.android.com/index.html


BlackBerry


http
://www.blackberry.com/developers


Apple
iOS


http://developer.apple.com/devcenter/ios/index.act
ion


Windows Phone 7


http://msdn.microsoft.com/en
-
us/library/ff402535%28v=VS.92%29.aspx


www.BrightPathFoundation.com

Getting Development Tools


Android


Download JDK


Download Android SDK


Download Eclipse IDE for Java 3.5 (Galileo) or greater


Download ADT
plugin


BlackBerry


Download JDK


Download BlackBerry Desktop Software


Download Java Plugin for Eclipse


Download BlackBerry Simulator


Apple
iOS


Download
Xcode


Windows Phone 7


Get Visual Studio 2010 Express for Windows Phone


www.BrightPathFoundation.com

Setting up the Android Environment


Requirements


Java Development Kit (JDK)
5 or 6:
http://www.oracle.com/technetwork/java/javase/downloads/inde
x.html


Android SDK:
http://developer.android.com/sdk/index.html


Eclipse IDE for Java Developers:
http://www.eclipse.org/downloads/


ADT Plugin for
Eclipse:

http
://
developer.android.com/sdk/eclipse
-
adt.html


DroidDraw
:
http://www.droiddraw.org/



Linux
Development


An Ubuntu desktop is convenient


On Windows, consider using an Ubuntu Virtual Machine


The IDE and plugins can be installed using the Ubuntu Package Manager


Extract the SDK to a location for which you have read/write access


www.BrightPathFoundation.com

Setting up the Android Environment


Decide which OS versions you want to
develop for


Apps
can be developed for OS
versions:

1.5
, 1.6., 2.1, 2.2, 2.3, 3.1,
3.3, 4.0


Apps can be tested using an Android Virtual Device (
AVD,
Eclipse’s
built
-
in emulator) or a physically attached device


AVD is hardware and
OS
-
version
specific


Attached
device is preferred for real
-
world results


Instructions for creating
an
AVD:
http://
bit.ly/g9dZ8O


Instructions for setting up a device:
http://
bit.ly/avpDqT



Verify that the device can be seen by Eclipse


If using a VM, ensure that the USB controller is connected to the
guest OS


Shell commands for testing: “
adb

devices” and “
lsusb
” (Linux)


Test
ddms



www.BrightPathFoundation.com

Setting up the Android Environment


Step
-
by
-
Step


Install the
Java Development Kit
(JDK)


Install the
Android SDK


Install
DroidDraw


Install
Eclipse


Use the
Eclipse

SDK
Manager
to add
API packages
for
OS versions 2.1 and 2.2


Windows: Start
-
> Android SDK Tools
-
> SDK Manager


Linux: Eclipse
-
> Window
-
> Android SDK and AVD
Manager
-
> Available Packages


Add documentation, SDK platform, Samples, Google APIs,
Marketing license
package



www.BrightPathFoundation.com