synapseindia android app programming

34
Android Programming © Strategic Mapping & Data Services LLC

Upload: tarunsingh198

Post on 16-Jul-2015

360 views

Category:

Technology


1 download

TRANSCRIPT

Android Programming

© Strategic Mapping & Data Services LLC

Android Programming The Android operating system is

widely used in:− Cell phones− Tablets− Other mobile devices

Developed by Google

A subset of the Linux operating system.

Android Programming Capabilities of Android powered

devices (varies by device):

− GPS− Internet (wi-fi & cell)− Camera− Voice/Sound− Movement/Orientation− Touch Screen

Traditionally to program Android powered devices you would use such tools as “Eclipse”, a Java IDE or “App Inventor” a web based development tool.

“App inventor” has been dropped by Google

Each of these tools are “free” and use “open the open source” licensing

Android Programming

Android Programming Problem is five fold:

− Learning new development tools

− Learning new paradigms & vocabulary

− Developing user interface without visual tools

− Learning new programming language

− Pain getting developed software to actual device

Android Programming An easy to learn, and easy to use

“new” programming tool for Android powered devices is “Basic4Android”

Uses a Visual Basic (© Microsoft) like language

IDE with visual design of GUI in both virtual device, emulator & actual device

Costs $49 USD (Standard), $99 USD for Enterprise version

Android Programming – Basic4Android

Free evaluation version can be used for 30 days

Very robust downloadable manual & user support forum

RAD tool of choice

Android Programming -

General Features:− Simple and powerful tool− IDE and programming language 100% focused on

Android development− Compiles to native byte-code. No runtime libraries are

required. Created APK files are exactly the same as APK files created with Java / Eclipse

− Performance is similar to applications written with Java− Event driven programming language similar to Visual

Basic with support for objects and code modules

Android Programming -

General Features:− Event driven programming language similar to Visual

Basic with support for objects and code modules− No need to write any XML files

− Highly extensible with support for custom Java libraries− Large, active and friendly community of developers.

Over 18,000 registered developers!− The only available true WYSIWYG visual editor for

Android. The visual editor supports multiple screens and resolutions

Android Programming -

General Features:− All Android phones and tablets starting with Android 1.6

and up to 4.0 are supported

− Modern IDE with auto-complete, built-in documentation, internal index New! and other advanced features

− Powerful step-by-step debugger

− Screen Capture Tool

Supports all Android core features including:− SQL databases− GPS− Home screen widgets and live wallpapers− Background services and broadcast listeners− Bluetooth (serial ports)− Phone features: phone calls, sms, contacts, call logs and

others− USB host and accessory modes− Web services− Camera− XML, JSON and CSV

Android Programming -

Supports all Android core features including:− Views animations− Multi-touch gestures− Networking (TCP, UDP, FTP, SMTP and POP3)− Push notifications (C2DM) New!− Text to speech and voice recognition− AdMob ads and other ads platforms− OpenGL− Graphics and charts

Android Programming -

Supports all Android core features including:− Sensors− Files I/O− Integrate with services such as: Parse, Google services,

Twitter, Facebook and others− Objects serialization− Sip / Voip

Android Programming -

View of the Basic4Android Tools

Note: Developing applications and using the emulator to test is fine, but you must have access to a real Android device(s) and test. You should always test against the type of devices that your software is targeted.

Android Tablet

USB Cable

Micro SD memory Card

7” Tablet

Phone

Android Programming Challenges (to name a few):

− Orientation – Landscape vs. Portrait

− Screen Size – Various sizes

− Device Capabilities – GPS and camera

PUBLISHING YOUR ANDROID APP

Icon ImageScreen Shot(s)

Also Required:•APK file•XML manifest file

PUBLISHING YOUR ANDROID APP

Market Places:•Market.android.com

•Getjar.com

•AndAppOnline.com

•Mobihand.com

•Aproov.com

•Barnes & Noble

•Kindle/Amazon