Basic4android

Total Page:16

File Type:pdf, Size:1020Kb

Basic4android Basic4Android Rapid App Development for Android By Wyken Seagrave Published by Penny Press Ltd 176 Greendale Road, Coventry CV5 8AY, United Kingdom [email protected] Please report errors to [email protected] Copyrights Basic4Android screens copyright © 2011, 2012, 2013 Anywhere Software Other text copyright © 2013 by Penny Press Trademarks Android™ and Google Play™ are trademarks of Google Inc. Microsoft® and Visual Basic® are registered trademarks of Microsoft Corporation. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Notice of Rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written permission of the publisher. To obtain permission contact [email protected] Preface Introduction Basic4Android is widely recognized as the simplest and most powerful Rapid App Development tool available for Android. It is used by tens of thousands of enthusiastic developers. A complete list of its features and benefits can be found here. Who this Book is For This book serves two audiences: For the Beginner For those new to Basic4Android, new to BASIC, or even new to programming, this book contains step-by-step tutorials for the complete beginner. It explains everything you need to know to use this exciting and easy application development environment design to create and sell your app on Android devices in the shortest possible time without having to climb the steep learning curve of learning Java. For the Professional For experienced Basic4Android developers, this book brings together a huge range of reference material never previously assembled in one place and organizes it into an easily accessible form. It contains all the key terms used by the core language and its official libraries. It includes examples to show how the code is used and links to further on-line information. What You Need to Run Basic4Android You will need a PC running Windows with at least 512 Mb of RAM. You can test your app on either an emulator (a virtual device running on your PC) or a real device. We recommend you have a real device available as it usually takes less time to install your app there than on an emulator and apps running there usually excute faster. If you use a real device it should be running Android 1.6 or above (that is Android 2.x, 3.x etc.). Version of Basic4Android This book covers the functionality of Version 3.00 of Basic4Android, which includes the amazing Rapid Debugger, a feature which is not available in any other native Android development tool. How to Obtain this Book You can buy copies of this in book in various formats. As a Kindle book from the Amazon USA site go here. - iv - Preface As a PDF or EPUB document from the Penny Press store go here. The EPUB version will also be available from the Barnes & Noble web store. How this Book is Organized Part 1 – Basics We begin with a tutorial which walks you gently through the process of installing the free Trial Version of Basic4Android, connecting it to your device, then writing, running, designing and debugging your very first Android app. We explain every feature of the Integrated Development Environment and show you how to upgrade to the Full Version of Basic4Android. This will give you access to the Libraries discussed in Part 4. Part 2 – Creating Your App Here we go in detail through the process of creating a real app, including the principles of design, how your app can communicate with the user, how you can use Designer Scripts to automatically modify your app to suit different devices, and how to compile, debug and test your app using either real or virtual devices. We discuss creating graphics and databases. We examine how processes, services and activities live and die in Android. We look at the various types of modules you can create, examine ways you can make money from your app and finally explore ways you can get more help in using Basic4Android. Part 3 – Language and Core Objects Parts 3 and 4 form the reference sections of this book. Part 3 includes two chapters of reference material which cover every part of Basic4Android’s language and core objects (that is, objects accessible from every app). We also compare Basic4Android’s language with Microsoft’s Visual Basic. Part 4 – Libraries In this reference section we discuss libraries (only available if you have upgraded to the Full Version of Basic4Android), and explain how to create your own libraries and share them with others (should you wish to). We give full details of the Standard Libraries included in the Full Version installation. We also discuss some of the many Additional Libraries and Modules, including all the “Official” ones created by Anywhere Software, which you can download from the Basic4Android website. Conventions Used in this Book Code Examples of Basic4Android code are shown indented, like this: - v - Preface Icons The following icons are used in this book and within the IDE: Keywords and methods have a pink flying box Key constants have a blue box Functions defined in your code have a pink box with a lock Global variables (defined in Process_Globals) have a blue box with a key Local variables (defined in current Sub) have a blue box with a lock Properties have a hand pointing to a list Acronyms We use the following acroynms in this book: ADB Android Debug Bridge AES-256 Advanced Encryption Standard ANSI American National Standards Institute API Application Program Interface APK Filename extension for Android Package .APK Android Package (filename extension) ARGB Alpha,Red,Green,Blue (Color Specification) ASCII American Standard Code for Information Interchange AVD Android Virtual Device B4A Basic4Android BA A Basic4Android object which library developers can use to raise events and to get access to the user activity, application context and other resources. .BAS Filename extension for BASic files BASIC Beginner’s All-Purpose Symbolic Instruction Code BOM Byte Order Mark C2DM Cloud To Device Messaging CPU Central Processing Unit CSV Comma-Separated Values DBMS DataBase Management System dip density independent pixel DOS Disk Operating System dpi dots per inch DSA Digital Signature Algorithm DTMF Dual-tone multi-frequency EAS Embedded Audio Synthesizer .EXE Filename extension for an EXEcutable file FTP File Transfer Protocol GMT Greenwich Mean Time GPS Global Positioning System GPU Graphics Processing Unit HD High Definition HDPI High-density Dots Per Inch HSV Hue, Saturation and Value (Color Specification) - vii - 1.1 Getting Started 1.1 Getting Started Note: Basic4Android runs on PCs with Windows 2000 and above, including Windows 8. Both 32-bit and 64-bit systems are supported. Two Versions There are two versions of Basic4Android: the trial and the full version. The main differences are in brief: Price: the trial version is FREE! The price of the full version depends upon which flavor you purchase. Remote Compilation Mode which makes compiling your apps simple and painless only runs under the free trial. This means you do not need to install the Java JDK and Android SDK packages if you are running the free version, although you may if you wish. They are both required for the full version. Note that Basic4Android includes a Rapid Debugger which can greatly shorten development times. You can use this feature with both the trial and full versions, but in both cases it requires that you install the Java JDK, even when you use Remote Compilation with the trial version. Advanced features: the full version supports libraries and other advanced features missing from the trial. Installing the Trial Version In the tutorials, we assume you will be using the free trial version of Basic4Android. We also assume you will not want to install the Java JDK to begin with, so we will postpone explanation of the Rapid Debugger until Chapter 2. Download Basic4Android Trial Download the latest version of the Basic4Android Trial version from here: http://www.basic4ppc.com/android/downloads.html Install and Run the Trial Installing .NET Framework Basic4Android requires .NET Framework 3.5. If it is not present on your machine, you will be prompted to download and install it. - 12 - 1.1 Getting Started After you run the Trial, you will see this screen: We will say more about local and remote compilation soon. Click Close You then see the IDE (Integrated Development Environment). - 13 - 1.1 Getting Started This is where you create, test and compile your apps. Apps are developed within projects and projects are stored in folders. Your First App When you create a new Basic4Android app, a sample project is already loaded, allowing you to run this simple app without any additional code. The code should be as follows. If your code is different, you can either copy this or edit your code to be the same, or download “Your First App” from this book’s resource page and unzip it to a new folder within your projects folder. - 14 - 1.1 Getting Started #Region Project Attributes #ApplicationLabel: B4A Example #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: unspecified #CanInstallToExternalStorage: False #End Region #Region Activity Attributes #FullScreen: False #IncludeTitle: True #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. End Sub Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer.
Recommended publications
  • Manualgambas.Pdf
    Introducción Este míni-manual esta pensado y orientado para los asistentes al taller de Gambas. Dado que, a priori, esperamos la asistencia de gente sin conocimientos previos de programación este texto va a ser escueto y muy elemental. Además de dar una formación teórica básica tiene el propósito de servir como chuleta para poder consultar las sintaxis más elementales como por ejemplo de las condicionales, bucles, etc. Nuestra herramienta: GAMBAS Vamos a usar Gambas, un lenguaje de programación visual similar al Visual Basic de Microsoft. Gambas dispone de su propio IDE. Un IDE, por sus siglas en inglés, es un entorno de desarrollo integrado. Gambas es lo que se conoce como un lenguaje de programación interpretado y como ocurre con GNU que es un acrónimo recurrente (Gnu No es Unix) Gambas significa Gambas Almost Means BASic, que traducido al castellano es Gambas Casi es BASic. Los IDE's son unos programas que aglutinan todo lo que necesitamos para programar. Tenemos un editor para picar (vamos a ir introduciéndonos en la jerga del programador) código, con resaltado por colores, autocompletado para ayudarnos en la edición, señalización de errores, etc. Un depurador para poder controlar la ejecución del programa y evaluar su comportamiento con sus inspectores de variables, objetos, etc. Un compilador para generar los binarios, bytecodes, ejecutables, etc. Un empaquetador para crear los instaladores. Además disponen de otras herramientas como gestores de servicios SVC para el control de versiones como GIT o similares. Editores de conexión a bases de datos, etc. Lo primero que vemos al ejecutar Gambas la ventana de bienvenida y nos da varias opciones, abrir un proyecto existente, crear uno nuevo o abrir recientes.
    [Show full text]
  • B4X Booklets
    B4X Booklets B4X Getting started Copyright: © 2018 Anywhere Software Edition 1.4 Last update : 2018.11.28 Table of contents 2 B4X Getting started 1 B4X .............................................................................................................................................. 5 2 Getting started B4A..................................................................................................................... 6 2.1 B4A Trial version ................................................................................................................. 7 2.2 Installing B4A and Android SDK ........................................................................................ 8 2.2.1 Installing Java JDK .......................................................................................................... 8 2.2.2 Installing Android SDK ................................................................................................... 9 2.2.3 Installing B4A .................................................................................................................. 9 2.3 B4A Configure Paths in the IDE ........................................................................................ 11 2.4 Installation problem ........................................................................................................... 12 2.5 B4A Choice of the language .............................................................................................. 12 2.6 B4A Connecting a real device...........................................................................................
    [Show full text]
  • Syllabus MCA and ALL Msc 2017-18
    The School of Computational Sciences exists since inception of the University and offers Masters, M.Phil. and Ph.D. programs. Master Degree Programs, M.Sc.(CS), M.Sc.(CN) and M.Sc.(CA), being officered are two years full time post graduate programs revised with industry expectations. These all programs have four semesters, which are normally completed in two years. The MCA program is a three years full time AICTE approved program which is normally completed in six semesters. Above all programs are offered as per CBCS (Choice Based Credit System) pattern, in which within discipline and cross discipline migration choices of courses are given to the students under open electives and subject electives. The students can choose open electives from the same program or from other programs of the same school or from other programs of other schools. The Evaluation of performance of a student for the course under Choice based Credit System (CBCS) is based on principle of continuous assessment through internal and external evaluation mechanisms. CBCS policy had emphasis given on imparting skills to students. The eligibility criteria and fees structure shall be same as that of Campus Prospectus. Date 02/07/2018 , 12:20 pm Page 2 School of Computational Sciences S. R. T. M. University, Nanded, MS, India Draft Report on CBCS enabled syllabi of M.Sc.(CA/CN/CS) and MCA Programs In compliance with the Hon‟ble Vice Chancellor‟s directions, Pro Vice Chancellor‟s timely guidance, resolution passed by the Hon‟ble Management Council and in the light of circular being communicated by the Deputy Registrar, Academics, a committee comprising of the Director of the School, Head Department and three faculties from the school have strived hard for reframing and revision the syllabi of existing 2 years full time M.Sc.
    [Show full text]
  • Windows Api Examples
    Windows Api Examples Petur J. Skulason. <mailto:[email protected]?subject=Windows Api Examples> http://www.est.is/~pjs/RealBasic/ http://u225.nett.is/~pjs/ All this is free to use in any application (commercial - shareware - freeware). Also to extract examples and post as examples from other websites. (I do not take any responsibility for how good this is, I dont call for any credit mony or anythink else ... ) These are few examples that I have found on lists, and by experimenting with Windows API calls and browsing MSDN website (http://msdn.microsoft.com/ ). Many text’s are copyed from MSDN website in this document are from MSDN website. Examples are tested on Win98 system, HP OmniBook XE2, compiled on PowerBook G3, PPC7300, LC475. Some of examples are working correctly. Most of examples are working, but some are not working, possible that i’am doing somthing wrong, but they are there. Comments, bugs, other samples welcome. Even requests for more samples. I might try to look at it and see if its possible. PS: In this document I have put some links to MSDN webpage’s. If you are running Internet Explorer then you might need to ‘disconnect java script’ couse then ie might show only part of page. Either run ie with *.js ‘OFF’ or use an other browser, like iCab or Netscape. (As of aug 30, 2000 then pages are displayed correct... problem might be solved... ) When declaring functions/subs then one is calling library, like user32.dll . Can omitt the name extension, use like Lib “user32” instead of Lib “user32.dll”.
    [Show full text]
  • Porting VB Applications to Linux and Mac OS X
    Porting VB Applications to Linux and Mac OS X A how-to guide for Visual Basic developers by Hank Marquis Hank Marquis has been using Visual Basic since version 1.0. He is author of A Visual Basic Programmer's Toolkit (APress), The Visual Basic 6.0 Bible (IDG) and over 35 articles published in CTO/BackOffice, Visual Basic Programmer's Journal (VBPJ), Visual Studio Magazine (VSM) and Microsoft MSDN. He is currently CTO of SlayFire Software Co., creating optimization and performance tools for REALbasic. Reach him at [email protected] or www.slayfiresoftware.com. Table of Contents Porting Options Beginning Assumptions Porting Considerations Language Keywords Code Syntax Data Types Language Structure User Interface Project Structure Platform APIs Other Considerations Visual Basic Project Converter Additional Resources Table 1. Porting Considerations Table 2. Visual Basic and REALbasic Datatypes Table 3. Getting Ready: The Step by Step Process Preparing Your Code to Use VB Project Converter © 2004 REAL Software, Inc. and Hank Marquis. All rights reserved. Page 1 of 17 Porting Visual Basic applications to Linux and Mac OS X A how-to guide for Visual Basic developers In this white paper, I'll show how you can preserve your investment in Visual Basic by porting your code to Linux and/or Macintosh using REAL Software's REALbasic. I'll provide some examples, share some experience and give you a roadmap for how to port—and how not to port—your Visual Basic apps cross- platform. My intent is to save you some time and pain. For porting our VB projects, we will use REALbasic 5.5.3 for Windows, a modern software development environment that is quite similar to Microsoft Visual Basic® in terms of the GUI and syntax.
    [Show full text]
  • Visual Basic 2017 Made Easy
    Visual Basic 2017 Made Easy By Dr.Liew 1 Disclaimer Visual Basic 2017 Made Easy is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft Corporation. Trademarks Microsoft, Visual Basic, Excel and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks belong to their respective owners. Liability The purpose of this book is to provide basic guides for people interested in Visual Basic 2017 programming. Although every effort and care has been taken to make The information as accurate as possible, the author shall not be liable for any error, Harm or damage arising from using the instructions given in this book. ​ Copyright ® 2017 Liew Voon Kiong All rights reserved. No Part of this e-book may be reproduced, in any form or by any means, without permission in writing from the author. 2 Acknowledgement I would like to express my sincere gratitude to many people who have made their contributions in one way or another to the successful publication of this book. My special thanks go to my children Xiang, Yi and Xun who have contributed their ideas and help in editing this book. I would also like to appreciate the support provided by my beloved wife Kim Huang and my youngest daughter Yuan. I would also like to thank the millions of readers who have visited my Visual Basic Tutorial website at vbtutor.net for ​ ​ ​ their support and encouragement. About the Author Dr. Liew Voon Kiong holds a bachelor’s degree in Mathematics, a master’s degree in Management and a doctorate in Business Administration.
    [Show full text]
  • Beginning Realbasic from Novice to Professional
    Beginning REALbasic From Novice to Professional ■■■ Jerry Lee Ford, Jr. Beginning REALbasic: From Novice to Professional Copyright © 2006 by Jerry Lee Ford, Jr. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-634-0 ISBN-10 (pbk): 1-59059-634-X Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Chris Mills Technical Reviewer: Allan Kent Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick, Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft, Jim Sumser, Keir Thomas, Matt Wade Project Manager: Richard Dal Porto Copy Edit Manager: Nicole LeClerc Copy Editor: Marcia Baker Assistant Production Director: Kari Brooks-Copony Production Editor: Lori Bring Compositor: Pat Christenson Proofreader: Linda Seifert Indexer: Broccoli Information Management Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail [email protected], or visit http://www.springeronline.com.
    [Show full text]
  • Belajar Gambas
    I. BELAJAR GAMBAS Pada pertemuan kali ini kita akan belajar salah satu pemrograman dalam Linux. Ada banyak pemrograman dalam Linux seperti halnya pada Windows, tapi yang akan kita bahas sekarang adalah Gambas. Gambas, Apaan tuh? Boleh dikatakan Gambas adalah Visual basic-Nya Linux. Anda yang telah mengenal Visual Basic di windows pasti akan sangat familiar dengan scrip dalam Gambas, meskipun tidak semua skrip sama. Gambas murni proyek open source di bawah naungan GPL(General Public License). Jadi sifatnya Open source alias Free. Instalasi Gambas Kalau dalam Linux Anda tidak terinstal gambas maka Anda dapat mendownload di URLnya, http://gambas.sourceforge.net. Jika paketnya sudah anda dapatkan maka langkah pertama yang harus dilakukan Adalah dengan perintah : $ tar -xjpvf gambas-xxx.tar.bz2 , atau $tar xzpvf gambas-xxx.tar.gz kemudian lakukan konfigurasi dan instalasi dengan perintah berikut: $cd gambas-xxx $./configure $make $make install tunggu beberapa saat hingga proses selesai. pastikan tidak ada kesalahan pada saat penginstalan. Menjalankan Gambas Untuk menjalankan Gambas dapat dilakukan dengan beberapa cara, bisa melalui konsol atau melalui menu start > gambas. Jika sudah terinstal maka cara berikut bisa Anda lakukan: tekan kombinasi tombol Alt+F2 > ketikan gambas lalu tekan enter, maka jendela kerja gambas akan muncul seprti pada gambar1. Komponen dalam Gambas Ketika menjalankan Gambas, yang pertama muncul adalah jendela selamat datang. pada jendela ini ada beberapa pilihan seperti New project untuk membuat projek baru, Open project untuk membuka projek yang sudah kita buat, Recent project untuk membuka projek yang terakhir kita buka, Exsample untuk melihat contoh -contoh yang telah tersedia. kalau Anda pusing atau gak semangat tinggal quit aja.
    [Show full text]
  • BASIC Programming with Unix Introduction
    LinuxFocus article number 277 http://linuxfocus.org BASIC programming with Unix by John Perr <johnperr(at)Linuxfocus.org> Abstract: About the author: Developing with Linux or another Unix system in BASIC ? Why not ? Linux user since 1994, he is Various free solutions allows us to use the BASIC language to develop one of the French editors of interpreted or compiled applications. LinuxFocus. _________________ _________________ _________________ Translated to English by: Georges Tarbouriech <gt(at)Linuxfocus.org> Introduction Even if it appeared later than other languages on the computing scene, BASIC quickly became widespread on many non Unix systems as a replacement for the scripting languages natively found on Unix. This is probably the main reason why this language is rarely used by Unix people. Unix had a more powerful scripting language from the first day on. Like other scripting languages, BASIC is mostly an interpreted one and uses a rather simple syntax, without data types, apart from a distinction between strings and numbers. Historically, the name of the language comes from its simplicity and from the fact it allows to easily teach programming to students. Unfortunately, the lack of standardization lead to many different versions mostly incompatible with each other. We can even say there are as many versions as interpreters what makes BASIC hardly portable. Despite these drawbacks and many others that the "true programmers" will remind us, BASIC stays an option to be taken into account to quickly develop small programs. This has been especially true for many years because of the Integrated Development Environment found in Windows versions allowing graphical interface design in a few mouse clicks.
    [Show full text]
  • Preview Vbscript Tutorial (PDF Version)
    VBScript About the Tutorial Microsoft VBScript (Visual Basic Script) is a general-purpose, lightweight and active scripting language developed by Microsoft that is modelled on Visual Basic. Nowadays, VBScript is the primary scripting language for Quick Test Professional (QTP), which is a test automation tool. This tutorial will teach you how to use VBScript in your day-to-day life of any Web-based or automation project development. Audience This tutorial has been prepared for beginners to help them understand the basic-to- advanced functionality of VBScript. After completing this tutorial, you will find yourself at a moderate level of expertise in using Microsoft VBScript from where you can take yourself to the next levels. Prerequisites You need to have a good understanding of any computer programming language in order to make the most of this tutorial. If you have done programming in any client-side languages like Javascript, then it will be quite easy for you to learn the ropes of VBScript. Copyright & Disclaimer © Copyright 2015 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute, or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness, or completeness of our website or its contents including this tutorial.
    [Show full text]
  • Liberty BASIC for Windows V4
    Contents Liberty BASIC v4.0 Help Document Copyright 1992-2003 Shoptalk Systems - http://www.libertybasic.com/ "Windows is a registered trademark of Microsoft Corporation in the United States and other countries." What's New! What's new in version 4. Overview An overview of Liberty BASIC. The Liberty BASIC Language Syntax and Usage for the Liberty BASIC Language. Gui Programming Creating and using Graphical User Interfaces. Command Reference Detailed Listing of Liberty BASIC Commands. API and DLL Making API and DLL calls in Liberty BASIC. Graphical Sprites Sprites for Games and Graphics. Port I/O Controlling Hardware Ports. File Operations Accessing Disk Files. Mathematics Mathematical Operators and Functions. Text Text Manipulation and Functions. Graphics Using Color and Drawing Commands. Troubleshooting Solving Problems. Registering Liberty BASIC Why and how to register Liberty BASIC. http://www.libertybasic.com/ The official Liberty BASIC web site. Installing Liberty BASIC Installing and uninstalling Liberty BASIC. What's New! What's new in Liberty BASIC 4 - additions and modifications that make Liberty BASIC 4 different from previous versions of Liberty BASIC. Improvements to DIM TAB( n ) Printing columns with commas Handle Variables Subs for Event Handlers Global Variables BYREF - Passing by reference MAPHANDLE - changing the handle of open devices Graphics window scrollbar changes EVAL(code$) EVAL$(code$) Breakpoints for debugging DO LOOP Printerfont$ Printer Graphics Now Scaled Debugger Improvements ON ERROR GOTO and RESUME ENABLE, DISABLE, SHOW AND HIDE Groupboxes Accept New Commands PLAYMIDI, MIDIPOS(), STOPMIDI Named Drawing Segments Joystick Support STYLEBITS New Sprite Commands centersprite removesprite spriteoffset spritetravelxy spritetofront spritetoback spriteround Glossary Glossary of General Computer and Programming Terms Alphanumeric Any letter of the alphabet or any digit from 0 to 9.
    [Show full text]
  • Sistem Control Sortir Makanan Menggunakan Android Sebagai Human Machine Interface (Hmi)
    5hL SISTE0 CONTROL SORTIR 0A)ANAN 0EN55UNA)AN ANDROID SE2A5AI HUMAN MACHINE INTERFACE (30I) 13 23 33 Julianti ,egita Merdi , Natanael Fernando , Pitoyo Yuliatmojo 1233 D III Teknik Elektronika, Fakultas Teknik, Uni ersitas Negeri Jakarta E-mail6 regitamerdi7gmail.com, pitoyo_y7unj.ac.id Abstract The final task was made with the aim of helping working an industrial unit in controlling and monitoring the sorting tools in the form of two types of food packaging food categories REJECT food and the food was O2. REJECT food category is when the packaging does not contain a full and when the food packaging containing metal and food categories O2 is when the food is fully charged and does not contain metal. The design of control performed on prototype hardware horizontal conveyor models, for sorting it using two types of sensors. Led Photodioda and Proximity Sensors Cylindrical C9C DO which serves as the detection of metal or not in packs. For food packaging automatic separation systems using pneumatic system and the drive portion Conveyors selected DC motor, and controller used reley governed by Android technology as a human machine interface /HMI0 and all will be controlled by an Arduino Mega 2A80. With the Bluetooth module as a liaison between Android with Arduino Mega 2A80 can be obtained that the tool will work in accordance with the ob description of pro ect tool that will be controlled using the Android. Keywords 1 Led Photodioda, Cylindrical Proximity C9C DO, Android, Arduino Mega 2A80, Bluetooth, Conveyors, Pneumatic. Abstra- Tugas akhir dibuat dengan tujuan membantu kerja suatu unit industri dalam mengendalikan dan memonitor alat sortir makanan berupa 2 jenis kemasan makanan 8ategori makanan REJEC, dan makanan O2.
    [Show full text]