Processing: A Venture in Android Application Development



Similar documents
Board also Supports MicroBridge

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

What Do I Need To Create a Visualization For ScreenPlay?

Waspmote IDE. User Guide

Fahim Uddin 1. Java SDK

Step by Step. Use the Cloud Login Website

International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN:

Issues in Android on Mobile Platform and Their Resolution

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

Mobile App Development Using App Inventor

Android, Bluetooth and MIAC

Example Connection between USB Host and Android

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Basic Android Setup Windows Version

IOIO for Android Beginners Guide Introduction

Nagpur, Maharashtra, India

Android Development Tools for Eclipse

ANDROID LEVERED DATA MONITORING ROBOT

Installing the Android SDK

Workshop on Android App Development Fundamentals

Creating a 2D Game Engine for Android OS. Introduction

Android Environment SDK

01. Introduction of Android

Workshop on Android and Applications Development

#include <Gamer.h> Gamer gamer; void setup() { gamer.begin(); } void loop() {

Full version is >>> HERE <<<

Hacking your Droid ADITYA GUPTA

Here to take you beyond Mobile Application development using Android Course details

Lecture 1 Introduction to Android

How to Set Up Your PC for Android Application Development

Introduction to Android Development

Android and OpenCV Tutorial

Clickfree frequently asked questions

Android Setup Phase 2

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Arduino & Android. A How to on interfacing these two devices. Bryant Tram

Utilizing Dropbox to Share Files

DROFLY PRO V3 User Guide

TEACHING INTRODUCTORY COMPUTER GRAPHICS WITH THE PROCESSING LANGUAGE

Android Application Development and Bluetooth Technology

Introduction to Android

l What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc)

Availability of the Program A free version is available of each (see individual programs for links).

CC File Transfer. User Manual

Development. SriSeshaa Technologies. Table of Contents

All About Arduino Libraries

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

With a single download, the ADT Bundle includes everything you need to begin developing apps:

netduino Getting Started

Lesson 8: Simon - Arrays

Mobile Game and App Development the Easy Way

Getting started 7. Designing interfaces 27

LIBRARY ACCESS SYSTEM SMARTPHONE APPLICATION USING ANDROID

Introduction to Android

Software Development Environment. Installation Guide

QML and JavaScript for Native App Development

Understand career planning in a digital media environment.

HTML5. Turn this page to see Quick Guide of CTTC

Key words: GPS, Geocoder, WWO Server, Google Server, Android, RAM, Mobile Equipment, OS.

Neat Cloud Service + Mobile App

Setting up Sudoku example on Android Studio

Thesis Proposal for the Master of Fine Arts Degree

Hello World. by Elliot Khazon

Introduction to Android

PN532 NFC RFID Module User Guide

How to Set Up Your PC for Android Application Development

Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet

How to use Google Drive

Smart Shopping- An Android Based Shopping Application

Software for Android Platform VCNL4020 and VCNL3020

Graduate presentation for CSCI By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Overview. The Android operating system is like a cake consisting of various layers.

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

VoIP Softphone for MAC

Use fireworks and Bonfire night as a stimulus for programming

Android Application Development

Create stunning flash movies online in minutes with the easiest flash maker in the world! Try the world's best online flash movie maker.

A Practical Guide to creating, compiling and signing an Android Application using Processing for Android.

SURPASS HOSTING SERVICE GETTING STARTED AND OPERATIONS GUIDE

PNY DUO-LINK On-The-Go Flash Drive for iphone and ipad. User Manual

Java with Eclipse: Setup & Getting Started

Practical Android Projects Lucas Jordan Pieter Greyling

Generate Android App

OneDrive in Office 365

Overview of CS 282 & Android

Embedded Development Tools

OpenCV on Android Platforms

Engage and control Students in the ICT classroom. Provide tools to encourage participation, collaboration and safe use of technology.

All About Android WHAT IS ANDROID?

Scientific m-learning. 4-7 June Mobile Application Development using App Inventor for Android Devices

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Creating Mobile Apps Development and Deployment

Android Programming and Security

Chapter 12: Finale! Publishing Your Android App

Transcription:

Processing: A Venture in Android Application Development Mihir Patankar 1, Vignesh Srinivasan 2, Dhanesh Pradhan 3, Asawari Dudwadkar 4 1,2,3,4 VES Institute of Technology, Chembur, Mumbai-74, India Abstract Android operating system based on Linux kernel is the most vividly used operating system. Initially it was developed keeping digital cameras in mind but as soon as Google acquired Android, it started being used as mobile operating system. Today, android play store is growing at lightning speed. Various Android development tools are available to develop newer and user friendly applications. In this paper we will explain the software Processing and its user friendly nature in Android applications development using a simple Tic Tac Toe Android application. Keywords android, android application development, android applications and processing, easy application development using processing, tic tac toe android application. I. INTRODUCTION Creativity seems to be prerequisite in this age of technology. But there has to be medium to express and showcase the talent. For artists, it is like making sketches on a canvas or making a statue. Processing is open source software developed for coders to portray their creativity. Processing being a high level language, the ease of writing programs using Processing, drawing various shapes makes it handy for even a novice. However, the scope doesn t end only in making shapes and scripts; Processing can also be used to interface sound and widens the scope for various other graphic user interfaces. But the point of interest is not making graphics alone. Another area in which processing can help beginners is the field of developing android applications. The project aims at going through the steps involved in developing an Android based Application using a simpler & programmer friendly language like Processing. II. ORIGINALITY OF THE IDEA Programming isn t everyone s forte and thus using Eclipse to develop Android Applications is difficult. The IDE seems complex to a student having less or no knowledge of Computer Science and engineering. Thus, the primary idea was to use a simpler development tool for Android application development to help people having no prior experience with computer languages to develop applications for the Android platform. Every tech-savvy individual has the curiosity to understand how android applications are created and uploaded on the Google Play. But as we didn't have enough programming experience as that of a Computer Engineer we thought of this alternative, that is to use Processing, which is a relatively simpler programming language for Android App development. The conversion of a.pde (Processing file) to.apk (Android application file) can be done using Android PDE which is an open source application. III. BACKGROUND As google CEO Larry Page declared that more than 1.5 million Android devices [1] are being activated each day, it s certainly been The Age of Androids. Processing initially developed by Ben Fry and Casey Reas is today being propelled by many people who contribute various libraries to processing. Processing along with its graphics development functions and libraries can be used to develop android applications. The android applications developed can accesses various android mobile functions like the inbuilt camera in mobile, playing music, accessing accelerometer or camera flash to name a few. IV. IMPLEMENTATION The procedure to make an application using processing can be explained using the steps listed below. The things required are: Android Phone, Processing IDE on PC (One can also write the program on his/her android phone. However debugging the program is easier on PC). The steps are explained using example of a simple Tic-Tac- Toe application which can be extended to any application. Step 1: Download processing software (it is open source) from www.processing.org. Extract the zip folder at a suitable location. Step 2: Open new processing sketch. Add the required libraries needed in your project then import those libraries. If required libraries aren t present in processing then download them and unzip them in Libraries folder of processing. 226

Step 3: Start writing the code for your android application. Debug the code and make necessary changes. Step 4: After testing your code in Processing use APDE mobile app (Open source) available on play store to export signed application of your project. If you don t want to upload the app on google play and just use it on your own android phone then press the play button (right top corner) in the app. V. TIC-TAC-TOE APP DESCRIPTION Step 1: Download Processing Fig 1.a and 1.b illustrates the download of Processing IDE (in PCs) & APDE(in Android phones) respectively. Step 2: Now open new sketch in APDE. (See Fig.2) No libraries are required in mobile app Tic Tac Toe Step 3: Code for mobile app Tic tac toe is an age old game of cross and zero developed for entertainment. There are two main functions in any processing code i.e., void setup ( see Fig.3.a) and void draw ( see Fig.3.b). Step 4:Run Tic Tac Toe in APDE After debugging code in processing IDE (fig. 4.a) run same code in APDE to install app in mobile phone (fig 4.b and fig 4.c). Step 5: If you want to publish app in google play store then use export signed application option in apde. Fig.1.a Download of Processing IDE Fig.1.b Download of APDE 227

Fig.2 Open new sketch Fig.3.b void loop() Fig.3.a void setup() Fig. 4.a Debugging on processing IDE 228

Fig.4.b Compiling in APDE Fig.5 Installing an Android app using APDE VI. TECHNICAL CHALLENGES One of the challenges is that it is difficult to write the processing codes on phone and debug them. Especially when the code size increases it becomes cumbersome for the user to find and rectify errors in the application. Thus a PC is required to write the code and then transfer the.pde file to the Sketchbook folder in the Android Phone, which is automatically created when APDE is installed on phone. Furthermore, some libraries are available exclusively for the PC version. Fig.4. Dexing in APDE VII. CONCLUSIONS Processing changed dramatically the way we teach programming and it s one of the major factors of the success of Arduino. Massimo Banzi, Cofounder of Arduino An open source software like Processing has widened its reach not only in Mobile Computing but also in the development of Arduino Microcontrollers, that uses Wiring, a derivative of Processing language. The ease with which graphics developed and visually noticed by developers has attracted many users to processing. Also, the ability to develop android applications using Processing has added to its advantages. 229

Acknowledgement We are grateful to Ben Fry & Casey Reas for developing a language called Processing and making it open source. We would like to extend our sincere thanks to Calsign Labs for making an open source Android application namely APDE. Special thanks to our mentor Mrs. Asawari Dudwadkar for her guidance and inspiration to pursue this project. All authors have equal stake in the project. REFERENCES [1] http://bgr.com/2013/07/20/android-activations-app-downloads/ [2] http://www.processing.org/ 230