S3Computer‎ > ‎

Android Programming

Introduction to Android Programming

 

Programming languages can be classified into low-level languages and high-level languages.

 

Low-level language

High-level language

Characteristics

Close to the language that a computer uses.

Difficult to read and understand.

Close to natural language.

 

Easy to read and understand.

Example

Machine language,

Assembly language.

C++, Java, Pascal.

 

Some common Operating System of mobile devices

1.      iOS (previously iPhone OS) is a mobile operating system developed and distributed by Apple Inc. It is used in i-pad, i-phone and i-pod (http://www.apple.com/hk/en/ios/what-is/)

2.      Android is a Linux-based operating system designed for smartphones and tablet.

3.      Windows Phone 8 is the operating system used in Windows Phone 8 devices.

 

Software Development tools for Android Apps

http://en.wikipedia.org/wiki/Android_software_development

1.      Android SDK (Software development Kit) includes a comprehensive set of development tools. The official supported IDE (Integrated development environment) is Eclipse using the Android Development Tools (ADT) Plugin. Writing Java Code is needed.

2.      App Inventor for Android is a web-based Visual development environment for novice programmers, based on MIT’s Open Blocks Java Library.

 

AppInventor installation in Windows Platform

1.      Install Java Runtime in the Computer. http://www.java.com/zh_TW/download/index.jsp

2.      Download and install AppInventor.http://appinv.us/aisetup_windows 

3.      Go to http://appinventor.mit.edu and login with a Google account.

 

Installation

Setting of Android device

You can use emulator to test your apps. If you want to run the apps in Android device, change its setting as follows:

Select Setting (設定) – Security (安全性) – unknown sources (未知的來源)

Comments