Eventually, you'll be returned to the AVD Manager. From there, you'll see your new device.

Size: px
Start display at page:

Download "Eventually, you'll be returned to the AVD Manager. From there, you'll see your new device."

Transcription

1 Let's get started! Start Studio We might have a bit of work to do here Create new project Let's give it a useful name Note the traditional convention for company/package names We don't need C++ support To choose an SDK, we don't need to pick the same minimum SDK that matches our system image Take a look at the install bases when deciding this Though we're still going to pick API 23 anyway We don't need to create an initial Activity, but we may as well Let's create the 'Empty' one The other ones mostly indicate what subtype of Activity to begin with, what additional properties that Activity should have, and whether or not to include additional intiial components (e.g. note the 'menu' button in the upper-right of the Basic Activity) We can call this first one whatever we want In a 'real' app, this would probably be a splash screen (if desired), a main menu (for a game), or our initial operating mode (for other apps) But we're not making a 'real' app, so let's go with the default The Layout Name doesn't have to match the Activity Name, but as we'll see soon, they're very closely connected, so it's highly advisable to have them there We don't really care about the Backwards Compatibility yet; that'll relate to the Action Bar (later) And now, we wait... Done waiting? Great! Before we get any further, let's ensure that we have a functional AVD Tools Android AVD Manager Let's create a new one I'm going to go with a Nexus 4 For the most part, this won't affect anything, except for specifically when we're dealing with multiple sets of resolution-dependent resources (later), so pick whatever you like Under the Recommended tab, it should only show 'good' system images We want Marshmallow/23/x86/Android 6.0 (Google APIs) WE'RE NOT DONE YET! The minimal stuff it shows is fine as-is (change if you prefer), but we need to Show Advanced Settings Under RAM, lower it drastically The minimum is 128 MB. 500 is probably plenty; I'll be going with 768, just to be safe Under the VM heap, 50 is fine For Internal Storage, the minimum is would likely be plenty, but just in case we need some unusually large files later, I'll go with 300 For the SD card, 20 is plenty fine It'll warn about erasing the contents; that's fine There are a couple other settings you can change if you want, but otherwise, click Finish It'll probably seem to be frozen for a little while; that's normal. Just wait some more... Eventually, you'll be returned to the AVD Manager. From there, you'll see your new device. If you want, you can click the play button to start it, the pencil to edit its settings, or the drop-down for more additional options. Feel free to start it now; otherwise, Studio can auto-start it once we need it.

2 Let's look at this project we created... If we click on File, we can choose Project Structure There are a few interesting things here, but mostly we're looking at the 'app' Module If it lists a 'Compile Sdk Version' and/or 'Build Tools Version', those are the parts that are most likely to get snippy when you try to migrate to another version of Android Studio So leave them alone for now, but remember that if you ever have problems You might also want to take a look at the Dependencies tab This is where you'll be looking if you want to include additional Android features supported by Studio, but not included as default dependencies Also, before we get any further, try looking at Run Edit Configurations... Feel free to take a glance at the Build menu as well, but we can worry about that a bit later Before we actually look at the code itself, let's take a look at some of those autogenerated files As in, let's take a look outside of Android Studio We have an 'app', 'build', and 'gradle' folder, as well as a few 'hidden' ones There's some interesting stuff under 'gradle', including targeted vs minimum sdk We can delete 'build' and '.gradle' if we ever need to package up for submission Note:.gradle but not gradle! Under app src main, we see three points of interest: The manifest file, which we'll be examining within Android Studio soon A java folder that currently has very little within it A res (resource) folder, which some interesting folders We'll get into these more in two weeks Before we get any further, have we discussed intents and life cycles yet? If not, maybe we (briefly) should... Okay, back to Android Studio now... Let's revisit that manifest file Note how XML works: if you open something, you need to close it We need to list every activity that will be available to the application The 'intent-filter' lets us associate special properties with activities, such that they can perform special tasks (in this case, acting as the main launcher) You might notice that we already have things like an icon, theme, etc. More on that later The initial Activity we're provided with is pretty minimal Note that it overrides the oncreate callback But the first thing it does is to invoke the supertype's standard behaviour We're receiving a 'Bundle', but that isn't interesting just yet That setcontentview, however, is very interesting... As are R and activity_main... Of course, just about all of the standard Java stuff applies here: Commenting, coding standards, annotations, etc. If we need to, we're free to create additional Java classes (i.e. not connected directly to any activity/layout) One minor note: a couple of things will be slightly different; mostly related to how we handle filesystems and especially threading Let's look at the layout file now! The default view might be the Design view, but I'm going to use Text instead Assuming there's room, you'll still have a preview, and can change what it displays on/as The XML is pretty simple Next week, we'll get into layouts and containers properly, but basically this is very similar to how

3 Java Swing works: you can either have 'a thing', or that 'thing' can be 'a thing that holds more things'; each of which is either 'a thing' or 'a thing that holds things' In this case, the default is ConstraintLayout; for goofing about I'm partial to RelativeLayout. We'll be getting into these more next week Inside that is a single 'View'; in particular, a TextView TextViews are like Swing's JLabels Note that a view will typically have several attributes The layout_width and layout_height indicate its dimensions. These can be either explicit, or it can be a term that indicates how Android should handle it e.g. match_parent to tell it to try to fill the enclosing container, or wrap_content to tell it to resize itself as necessary to just barely fit its contents First, we all understand the connection between this layout file and the code (and thus final product), right? Assuming so, let's try adding an editable text field! We'll use the EditText View We'll stick with wrap_content for the height, but what about the width? fill_parent works. match_parent will probably work better, but may be autoreplaced by the editor We could try something like 360px, but why is that a bad idea? Let's briefly discuss: px dp/dip sp in/mm I think I'll go with 150dip For positioning, it might go with tools:layout_editor_absolutex/y, or app:layout_constraint... Similarly, under RelativeLayout, we could have things like android:layout_centerinparent, etc. We'll revisit this next week, but this is as good a time as any to discuss why it's so complicated For now, let's just use a modification of what we were provided with If we like, we can add some default text by again using android:text Let's take a look at what we have so far (such as it is). Note that, when trying to run it, it may ask us what device to use Let's try rotating the screen Note that the 'Hello World' in the middle has moved! The need for elastic and flexible layouts starting to make sense? Anything else we notice when we rotate the screen? Hmm... that's a problem... we'll need to address that! Before we address that rotation issue, let's add another type of element that might help us understand better. Let's add a Button Note that positioning will be tricky until we learn just a bit more For now, just set tools:layout_editor_absolutey= 100dip or similar Let's give it some text: android:text= button one Note that this is actually a terrible way to do this, but we'll improve in two weeks For ha-ha's, let's add two more as well. Give them text like button two and button three Okay, so we want the buttons to do something. How can we give some behaviour to button one? There's an android:onclick property... perhaps we could use that? Let's just add that property, and try using it... Oops. Okay, so what do we do? We need to add some code, clearly!

4 Note that it isn't sufficient to have a method with the right name. We need the right signature! So, what should it do? System.out.println? I mean, it works... Try using Log? Well, that works, too, but... Let's talk about Toast! Let's jump straight to the end: Toast.makeText(MainActivity.this,"Howdy!", Toast.LENGTH_SHORT).show(); Okay, that's interesting... huh? There are a few parts to note here. Luckily, the code completion actually gives enough hints to understand the components. Note, however, that providing the String directly like this is a bad idea Hey, let's try displaying the contents of an instance variable! As an interruption, I wonder what would happen if we put added a Toast to our oncreate? So far, so good. Let's try making the second button increment that instance variable's contents. Having any aspect of the code in the layout/xml is poor form Let's instead add a Listener to Button Two This will require creating an anonymous class... We all know what that means, right? What we want is a new subtype of Button.OnClickListener, with the onclick method overridden. We'll then assign that new class via the button's setonclicklistener method Of course, that means we need to grab the button... The button that exists only in the xml layout file. Uh oh... Wait! No! That's not true! It really is translated into Java code! (Somewhere) Super-important time: Go back and add an 'id' to the button: Now, in the code, we can use findviewbyid on R.id.buttontwo How does that work? More importantly, why doesn't this work? Because it returns a View, that needs to be explicitly downcast Okay, now let's have it increment our instance variable! It works! And now we rotate and... Oh nertz... we'll come back to that... We have a pressing issue: randomly-placed listeners make our code hard to read. Also, who wants to have a separate class per button?!? If we do assign an id to each button, we can just have our main activity become a listener. All we need to do is to implement the interface We can use the more general View.OnClickListener Naturally, Studio will complain until we provide that onclick method Let's verify that the View received is the third button, and, if so, reset the tally This will require giving that button an id, and then comparing our view's getid() against R.id.whateveryouchose Naturally, we still need to assign this context as the button's listener, but that should be easy by now We still haven't dealt with the problem of losing our information yet. First, let's also add an id to the text field, and and then start trying to work that out... What?!? What do you mean it works now? How???

5 Okay, so one final problem: our instance variables. Everything else is being saved when onsaveinstancestate is called, and restored upon onrestoreinstancestate. Those methods simply don't know how to handle our instance variables. If only we could have a more specialized version of those behaviours...

Mobile Programming Lecture 2. Layouts, Widgets, Toasts, and Event Handling

Mobile Programming Lecture 2. Layouts, Widgets, Toasts, and Event Handling Mobile Programming Lecture 2 Layouts, Widgets, Toasts, and Event Handling Lecture 1 Review How to edit XML files in Android Studio? What holds all elements (Views) that appear to the user in an Activity?

More information

The Stack, Free Store, and Global Namespace

The Stack, Free Store, and Global Namespace Pointers This tutorial is my attempt at clarifying pointers for anyone still confused about them. Pointers are notoriously hard to grasp, so I thought I'd take a shot at explaining them. The more information

More information

(Refer Slide Time: 0:48)

(Refer Slide Time: 0:48) Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Lecture 10 Android Studio Last week gave you a quick introduction to android program. You develop a simple

More information

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings. Hello World Lab Objectives: Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.xml What to Turn in: The lab evaluation

More information

Layout and Containers

Layout and Containers Geez, that title is freakin' huge. Layout and Containers This week, we'll mostly just be looking at how to better-arrange elements. That will include our first introduction into managed resources (even

More information

Creating a User Interface

Creating a User Interface Creating a User Interface Developing for Android devices is a complicated process that requires precision to work with. Android runs on numerous devices from smart-phones to tablets. Instead of using a

More information

ES E 3 3 L a L b 5 Android development

ES E 3 3 L a L b 5 Android development ES3 Lab 5 Android development This Lab Create a simple Android interface Use XML interface layouts Access the filesystem Play media files Info about Android development can be found at http://developer.android.com/index.html

More information

ConstraintLayouts in Android

ConstraintLayouts in Android B ConstraintLayouts in Android Constrained Layouts are a new addition to Android. These layouts are similar to Relative Layouts, in that all widgets are positioned with respect to other UI elements. However,

More information

COSC 3P97 Assignment 1

COSC 3P97 Assignment 1 Due: Oct. 12 @ 5:00 pm. COSC 3P97 Assignment 1 Fall 2018/19 Create a new Android Studio project or Eclipse workspace for the assignment. The app should run on API 23 (Marshmallow). Calculator Write an

More information

Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09

Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09 Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09 Hello, today we will create another application called a math quiz. This

More information

PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between

PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between MITOCW Lecture 10A [MUSIC PLAYING] PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between all these high-level languages like Lisp and the query

More information

Resources and Media and Dealies

Resources and Media and Dealies Resources and Media and Dealies In the second week, we created a new project that came with several files. The layout was kept in a res/layout folder. last week, we looked at a landscape layout, in the

More information

Azon Master Class. By Ryan Stevenson Guidebook #5 WordPress Usage

Azon Master Class. By Ryan Stevenson   Guidebook #5 WordPress Usage Azon Master Class By Ryan Stevenson https://ryanstevensonplugins.com/ Guidebook #5 WordPress Usage Table of Contents 1. Widget Setup & Usage 2. WordPress Menu System 3. Categories, Posts & Tags 4. WordPress

More information

A PROGRAM IS A SEQUENCE of instructions that a computer can execute to

A PROGRAM IS A SEQUENCE of instructions that a computer can execute to A PROGRAM IS A SEQUENCE of instructions that a computer can execute to perform some task. A simple enough idea, but for the computer to make any use of the instructions, they must be written in a form

More information

(Refer Slide Time: 1:12)

(Refer Slide Time: 1:12) Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Lecture 06 Android Studio Setup Hello, today s lecture is your first lecture to watch android development.

More information

CS 234/334 Lab 1: Android Jump Start

CS 234/334 Lab 1: Android Jump Start CS 234/334 Lab 1: Android Jump Start Distributed: January 7, 2014 Due: Friday, January 10 or Monday, January 13 (in-person check off in Mobile Lab, Ry 167). No late assignments. Introduction The goal of

More information

Java Programming Constructs Java Programming 2 Lesson 1

Java Programming Constructs Java Programming 2 Lesson 1 Java Programming Constructs Java Programming 2 Lesson 1 Course Objectives Welcome to OST's Java 2 course! In this course, you'll learn more in-depth concepts and syntax of the Java Programming language.

More information

Contents. What's New. Upcoming new version. Newsletter #43 (Aug 6, 2017) A couple quick reminders:

Contents. What's New. Upcoming new version. Newsletter #43 (Aug 6, 2017) A couple quick reminders: Campground Master Newsletter #43 (Aug 6, 2017) 1 Newsletter #43 (Aug 6, 2017) Contents A couple quick reminders: Make Backups! It's so sad when we hear from someone whose computer has crashed and they

More information

Linked Lists. What is a Linked List?

Linked Lists. What is a Linked List? Linked Lists Along with arrays, linked lists form the basis for pretty much every other data stucture out there. This makes learning and understand linked lists very important. They are also usually the

More information

Lab 1 - Setting up the User s Profile UI

Lab 1 - Setting up the User s Profile UI Lab 1 - Setting up the User s Profile UI Getting started This is the first in a series of labs that allow you to develop the MyRuns App. The goal of the app is to capture and display (using maps) walks

More information

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 [talking head] Formal Methods of Software Engineering means the use of mathematics as an aid to writing programs. Before we can

More information

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism ANDROID TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Android What it is? History of Android Importance of Java language for Android Apps Other mobile OS-es Android Versions & different development

More information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting

Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Slide 1: Cover Welcome to lesson 3 of the db2 on Campus lecture series. Today we're going to talk about tools and scripting, and this is part 1 of 2

More information

Assistant Professor Computer Science. Introduction to Human-Computer Interaction

Assistant Professor Computer Science. Introduction to Human-Computer Interaction CMSC434 Introduction to Human-Computer Interaction Week 08 Lecture 16 Oct 23, 2014 Building Android UIs II Implementing Custom Views Human Computer Interaction Laboratory @jonfroehlich Assistant Professor

More information

Blitz2D Newbies: Definitive Guide to Types by MutteringGoblin

Blitz2D Newbies: Definitive Guide to Types by MutteringGoblin Blitz2D Newbies: Definitive Guide to Types by MutteringGoblin Types are probably the hardest thing to understand about Blitz Basic. If you're using types for the first time, you've probably got an uneasy

More information

In today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.

In today s video I'm going show you how you can set up your own online business using  marketing and affiliate marketing. Hey guys, Diggy here with a summary of part two of the four part free video series. If you haven't watched the first video yet, please do so (https://sixfigureinc.com/intro), before continuing with this

More information

Android User Interface

Android User Interface Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering 20. Oktober 2014 Outline 1 Android User Interface 2 Multi-Language Support 3 Summary Matthias Keil Android

More information

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml Understand applications and their components activity service broadcast receiver content provider intent AndroidManifest.xml Android Application Written in Java (it s possible to write native code) Good

More information

Required Core Java for Android application development

Required Core Java for Android application development Required Core Java for Android application development Introduction to Java Datatypes primitive data types non-primitive data types Variable declaration Operators Control flow statements Arrays and Enhanced

More information

Android Development Crash Course

Android Development Crash Course Android Development Crash Course Campus Sundsvall, 2015 Stefan Forsström Department of Information and Communication Systems Mid Sweden University, Sundsvall, Sweden OVERVIEW The Android Platform Start

More information

https://github.com/gns3/gns3-registry/blob/master/schemas/appliance.json

https://github.com/gns3/gns3-registry/blob/master/schemas/appliance.json Mini How-To guide for using and modifying appliance templates. The appliance templates from the marketplace are a way to sort of make it a bit easier to import a Qemu virtual machine into GNS3. I've noticed

More information

Android About.me/DavidCorrado Mobile Meetup Organizer

Android About.me/DavidCorrado Mobile Meetup Organizer Android Tips/Tricks @DavidCorrado About.me/DavidCorrado Mobile Meetup Organizer IDE Don t Use Eclipse Use either Android Studio/IntelliJ They are basically the same thing. They are both built off of IntelliJ

More information

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology Android App Development Mr. Michaud ICE Programs Georgia Institute of Technology Android Operating System Created by Android, Inc. Bought by Google in 2005. First Android Device released in 2008 Based

More information

ListView Containers. Resources. Creating a ListView

ListView Containers. Resources. Creating a ListView ListView Containers Resources https://developer.android.com/guide/topics/ui/layout/listview.html https://developer.android.com/reference/android/widget/listview.html Creating a ListView A ListView is a

More information

Activities and Fragments

Activities and Fragments Activities and Fragments 21 November 2017 Lecture 5 21 Nov 2017 SE 435: Development in the Android Environment 1 Topics for Today Activities UI Design and handlers Fragments Source: developer.android.com

More information

MITOCW watch?v=0jljzrnhwoi

MITOCW watch?v=0jljzrnhwoi MITOCW watch?v=0jljzrnhwoi The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

Using Eclipse for Android Development

Using Eclipse for Android Development 3 Using Eclipse for Android Development This chapter is an introduction to building a complete Android app. The chapter includes creating a new app project, exploring the components of an Android app,

More information

How to Install Ubuntu on VirtualBox

How to Install Ubuntu on VirtualBox How to Install Ubuntu on VirtualBox Updated on January 26, 2017 Melanie more VirtualBox is easy to use software that allows you to use multiple operating systems simultaneously. As different operating

More information

Grocery List: An Android Application

Grocery List: An Android Application The University of Akron IdeaExchange@UAkron Honors Research Projects The Dr. Gary B. and Pamela S. Williams Honors College Spring 2018 Grocery List: An Android Application Daniel McFadden djm188@zips.uakron.edu

More information

Android User Interface Android Smartphone Programming. Outline University of Freiburg

Android User Interface Android Smartphone Programming. Outline University of Freiburg Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering 20. Oktober 2014 Outline 1 2 Multi-Language Support 3 Summary Matthias Keil 20. Oktober 2014 2 / 19 From

More information

MITOCW ocw f99-lec07_300k

MITOCW ocw f99-lec07_300k MITOCW ocw-18.06-f99-lec07_300k OK, here's linear algebra lecture seven. I've been talking about vector spaces and specially the null space of a matrix and the column space of a matrix. What's in those

More information

--APOPHYSIS INSTALLATION AND BASIC USE TUTORIAL--

--APOPHYSIS INSTALLATION AND BASIC USE TUTORIAL-- --APOPHYSIS INSTALLATION AND BASIC USE TUTORIAL-- Table of Contents INSTALLATION... 3 SECTION ONE - INSTALLATION... 3 SIDE LESSON - INSTALLING PLUG-INS... 4 APOPHYSIS, THE BASICS... 6 THE TRANSFORM EDITOR...

More information

Rules and syntax for inheritance. The boring stuff

Rules and syntax for inheritance. The boring stuff Rules and syntax for inheritance The boring stuff The compiler adds a call to super() Unless you explicitly call the constructor of the superclass, using super(), the compiler will add such a call for

More information

FanBuzz Business-Enterprise-Create A New fan Page

FanBuzz Business-Enterprise-Create A New fan Page This Tutorial video can be found here http://instamagicplugins.com/aio-tutorial-videos/create-a-new-fan-page/ Hi, this is Nick LaPolla with Red Zebra Media and InstaMagic Plugins. Welcome to the the All-inOne

More information

Programming Concepts and Skills. Creating an Android Project

Programming Concepts and Skills. Creating an Android Project Programming Concepts and Skills Creating an Android Project Getting Started An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy

More information

The Definitive Guide to Fractal Awesomeness with J-WildFire!

The Definitive Guide to Fractal Awesomeness with J-WildFire! Installing Java and J-WildFire - by Martin Flink Copyright 2013 Martin Flink All Rights Reserved. No part of this document may be reproduced in any form without permission in writing from the author. Contact:

More information

Fruit Snake SECTION 1

Fruit Snake SECTION 1 Fruit Snake SECTION 1 For the first full Construct 2 game you're going to create a snake game. In this game, you'll have a snake that will "eat" fruit, and grow longer with each object or piece of fruit

More information

CMSC436: Fall 2013 Week 3 Lab

CMSC436: Fall 2013 Week 3 Lab CMSC436: Fall 2013 Week 3 Lab Objectives: Familiarize yourself with the Activity class, the Activity lifecycle, and the Android reconfiguration process. Create and monitor a simple application to observe

More information

This Week on developerworks Push for ios, XQuery, Spark, CoffeeScript, top Rational content Episode date:

This Week on developerworks Push for ios, XQuery, Spark, CoffeeScript, top Rational content Episode date: This Week on developerworks Push for ios, XQuery, Spark, CoffeeScript, top Rational content Episode date: 02-15-2012 [ MUSIC ] LANINGHAM: Welcome to this week on developerworks. I'm Scott Laningham in

More information

Programming in Android. Nick Bopp

Programming in Android. Nick Bopp Programming in Android Nick Bopp nbopp@usc.edu Types of Classes Activity This is the main Android class that you will be using. These are actively displayed on the screen and allow for user interaction.

More information

MITOCW MIT6_172_F10_lec18_300k-mp4

MITOCW MIT6_172_F10_lec18_300k-mp4 MITOCW MIT6_172_F10_lec18_300k-mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for

More information

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011 Android for Ubiquitous Computing Researchers Andrew Rice University of Cambridge 17-Sep-2011 Getting started Website for the tutorial: http://www.cl.cam.ac.uk/~acr31/ubicomp/ Contains links to downloads

More information

Automatic newsgroup TV show downloading By RootyB

Automatic newsgroup TV show downloading By RootyB Downloaded from: justpaste.it/1mx Automatic newsgroup TV show downloading By RootyB I'm doing this in between my actual responsibilities, so it's going to be fairly quick and dirty. It should address just

More information

WYBCS Android Programming (with AppInventor) Family fun day

WYBCS Android Programming (with AppInventor) Family fun day WYBCS Android Programming (with AppInventor) Family fun day Overview of the day Intros Hello Android! Installing AppInventor Overview of AppInventor Making your first app What's special about mobile? Changing

More information

Contents. What's New. Dropbox / OneDrive / Google drive Warning! A couple quick reminders:

Contents. What's New. Dropbox / OneDrive / Google drive Warning! A couple quick reminders: Campground Master Contents 1 Contents A couple quick reminders: Make Backups! It's so sad when we hear from someone whose computer has crashed and they have no backup of their data to restore from. It's

More information

Clickteam Fusion 2.5 Creating a Debug System - Guide

Clickteam Fusion 2.5 Creating a Debug System - Guide INTRODUCTION In this guide, we will look at how to create your own 'debug' system in Fusion 2.5. Sometimes when you're developing and testing a game, you want to see some of the real-time values of certain

More information

This lecture. The BrowserIntent Example (cont d)

This lecture. The BrowserIntent Example (cont d) This lecture 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 10: Working with the Web Browser Dr Dimitris C. Dracopoulos Android provides a full-featured web browser based on the Chromium open source

More information

MITOCW watch?v=se4p7ivcune

MITOCW watch?v=se4p7ivcune MITOCW watch?v=se4p7ivcune The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

More Effective Layouts

More Effective Layouts More Effective Layouts In past weeks, we've looked at ways to make more effective use of the presented display (e.g. elastic layouts, and separate layouts for portrait and landscape), as well as autogenerating

More information

The following content is provided under a Creative Commons license. Your support

The following content is provided under a Creative Commons license. Your support MITOCW Recitation 1 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To make

More information

CS144 Final Review. Dec 4th, 2009 Tom Wiltzius

CS144 Final Review. Dec 4th, 2009 Tom Wiltzius CS144 Final Review Dec 4th, 2009 Tom Wiltzius Topics Topics In narrative format! Let's follow Packy as he traverses the Internet! Packy comes into being to help Compy the Computer load a web page Compy

More information

mismatch between what is maybe possible today and what is going on in many of today's IDEs.

mismatch between what is maybe possible today and what is going on in many of today's IDEs. What will happen if we do very, very small and lightweight tools instead of heavyweight, integrated big IDEs? Lecturer: Martin Lippert, VMware and Eclispe tooling expert LIPPERT: Welcome, everybody, to

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

04. Learn the basic widget. DKU-MUST Mobile ICT Education Center

04. Learn the basic widget. DKU-MUST Mobile ICT Education Center 04. Learn the basic widget DKU-MUST Mobile ICT Education Center Goal Understanding of the View and Inheritance of View. Learn how to use the default widget. Learn basic programming of the Android App.

More information

BCSWomen Android programming (with AppInventor) Family fun day World record attempt

BCSWomen Android programming (with AppInventor) Family fun day World record attempt BCSWomen Android programming (with AppInventor) Family fun day World record attempt Overview of the day Intros Hello Android! Getting your app on your phone Getting into groups Ideas for apps Overview

More information

Post Experiment Interview Questions

Post Experiment Interview Questions Post Experiment Interview Questions Questions about the Maximum Problem 1. What is this problem statement asking? 2. What is meant by positive integers? 3. What does it mean by the user entering valid

More information

How To Add Songs To Ipod Without Syncing >>>CLICK HERE<<<

How To Add Songs To Ipod Without Syncing >>>CLICK HERE<<< How To Add Songs To Ipod Without Syncing Whole Library Create a playlist, adding all the songs you want to put onto your ipod, then under the How to add music from ipod to itunes without clearing itunes

More information

PROFESSOR: Well, yesterday we learned a bit about symbolic manipulation, and we wrote a rather stylized

PROFESSOR: Well, yesterday we learned a bit about symbolic manipulation, and we wrote a rather stylized MITOCW Lecture 4A PROFESSOR: Well, yesterday we learned a bit about symbolic manipulation, and we wrote a rather stylized program to implement a pile of calculus rule from the calculus book. Here on the

More information

MITOCW watch?v=flgjisf3l78

MITOCW watch?v=flgjisf3l78 MITOCW watch?v=flgjisf3l78 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To

More information

Formal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5

Formal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5 Formal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5 [talking head] This lecture we study theory design and implementation. Programmers have two roles to play here. In one role, they

More information

Debugging. CSE 2231 Supplement A Annatala Wolf

Debugging. CSE 2231 Supplement A Annatala Wolf Debugging CSE 2231 Supplement A Annatala Wolf Testing is not debugging! The purpose of testing is to detect the existence of errors, not to identify precisely where the errors came from. Error messages

More information

Android Application Development using Kotlin

Android Application Development using Kotlin Android Application Development using Kotlin 1. Introduction to Kotlin a. Kotlin History b. Kotlin Advantages c. How Kotlin Program Work? d. Kotlin software Prerequisites i. Installing Java JDK and JRE

More information

Using X-Particles with Team Render

Using X-Particles with Team Render Using X-Particles with Team Render Some users have experienced difficulty in using X-Particles with Team Render, so we have prepared this guide to using them together. Caching Using Team Render to Picture

More information

I'm Andy Glover and this is the Java Technical Series of. the developerworks podcasts. My guest is Brian Jakovich. He is the

I'm Andy Glover and this is the Java Technical Series of. the developerworks podcasts. My guest is Brian Jakovich. He is the I'm Andy Glover and this is the Java Technical Series of the developerworks podcasts. My guest is Brian Jakovich. He is the director of Elastic Operations for Stelligent. He and I are going to talk about

More information

Setting Up Feedly - Preparing For Google Reader Armageddon

Setting Up Feedly - Preparing For Google Reader Armageddon Our choice is Feedly! We need our Feed Keeper - The storehouse for all of our market intelligence The key to our Market Research and intelligence system is a Feed Reader (or Keeper). For years Google Reader

More information

Android Programming Family Fun Day using AppInventor

Android Programming Family Fun Day using AppInventor Android Programming Family Fun Day using AppInventor Table of Contents A step-by-step guide to making a simple app...2 Getting your app running on the emulator...9 Getting your app onto your phone or tablet...10

More information

MITOCW watch?v=zm5mw5nkzjg

MITOCW watch?v=zm5mw5nkzjg MITOCW watch?v=zm5mw5nkzjg The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

Creating mobile applications in Android Studio. Creating mobile applications in Android Studio

Creating mobile applications in Android Studio. Creating mobile applications in Android Studio Creating mobile applications in Android Studio 1 Creating mobile applications 1. Getting started... 3 2. TextView Component... 6 Clicker app...6 3. Resourses folder... 9 Roll Dices App...9 4. EditText

More information

Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard.

Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard. 44 CHAPTER 2 Android s development environment Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard. TIP You ll want the package name of your applications to be unique

More information

Chris' Makefile Tutorial

Chris' Makefile Tutorial Chris' Makefile Tutorial Chris Serson University of Victoria June 26, 2007 Contents: Chapter Page Introduction 2 1 The most basic of Makefiles 3 2 Syntax so far 5 3 Making Makefiles Modular 7 4 Multi-file

More information

Chrome if I want to. What that should do, is have my specifications run against four different instances of Chrome, in parallel.

Chrome if I want to. What that should do, is have my specifications run against four different instances of Chrome, in parallel. Hi. I'm Prateek Baheti. I'm a developer at ThoughtWorks. I'm currently the tech lead on Mingle, which is a project management tool that ThoughtWorks builds. I work in Balor, which is where India's best

More information

Version Copyright Feel free to distribute this guide at no charge...

Version Copyright Feel free to distribute this guide at no charge... Version 2.0 Feel free to distribute this guide at no charge... You cannot edit or modify this guide in anyway. It must be left exactly the way it is. This guide is only accurate from the last time it was

More information

Blog post on updates yesterday and today:

Blog post on updates yesterday and today: Beta Bug Prioritization meeting IRC Transcript 12 November 2013 Meeting was held in IRC, on the #devmo channel. Meetings are weekly, every Tuesday at 17:00 UTC (10am PST) ok, everyone, we're ready to start

More information

From time to time Google changes the way it does things, and old tutorials may not apply to some new procedures.

From time to time Google changes the way it does things, and old tutorials may not apply to some new procedures. From time to time Google changes the way it does things, and old tutorials may not apply to some new procedures. This is another tutorial which, in about 6 months, will probably be irrelevant. But until

More information

Instructor (Mehran Sahami):

Instructor (Mehran Sahami): Programming Methodology-Lecture26 Instructor (Mehran Sahami): All right. Welcome back to what kind of day is it going to be in 106a? Anyone want to fun-filled and exciting. It always is. Thanks for playing

More information

CS 528 Mobile and Ubiquitous Computing Lecture 3b: Android Activity Lifecycle and Intents Emmanuel Agu

CS 528 Mobile and Ubiquitous Computing Lecture 3b: Android Activity Lifecycle and Intents Emmanuel Agu CS 528 Mobile and Ubiquitous Computing Lecture 3b: Android Activity Lifecycle and Intents Emmanuel Agu Android Activity LifeCycle Starting Activities Android applications don't start with a call to main(string[])

More information

mk-convert Contents 1 Converting to minikanren, quasimatically. 08 July 2014

mk-convert Contents 1 Converting to minikanren, quasimatically. 08 July 2014 mk-convert 08 July 2014 Contents 1 Converting to minikanren, quasimatically. 1 1.1 Variations on a Scheme..................... 2 1.2 Racket to minikanren, nally.................. 8 1.3 Back to the beginning......................

More information

Lab 3. Accessing GSM Functions on an Android Smartphone

Lab 3. Accessing GSM Functions on an Android Smartphone Lab 3 Accessing GSM Functions on an Android Smartphone 1 Lab Overview 1.1 Goals The objective of this practical exercise is to create an application for a smartphone with the Android mobile operating system,

More information

Installing and configuring an Android device emulator. EntwicklerCamp 2012

Installing and configuring an Android device emulator. EntwicklerCamp 2012 Installing and configuring an Android device emulator EntwicklerCamp 2012 Page 1 of 29 Table of Contents Lab objectives...3 Time estimate...3 Prerequisites...3 Getting started...3 Setting up the device

More information

When you first launch CrushFTP you may be notified that port 21 is locked. You will be prompted to fix this.

When you first launch CrushFTP you may be notified that port 21 is locked. You will be prompted to fix this. This is a quick start guide. Its intent is to help you get up and running with as little configuration as possible. This walk through should take less than 10 minutes until you are able to login with your

More information

Mobile Application Development Android

Mobile Application Development Android Mobile Application Development Android Lecture 2 MTAT.03.262 Satish Srirama satish.srirama@ut.ee Android Lecture 1 -recap What is Android How to develop Android applications Run & debug the applications

More information

CS371m - Mobile Computing. User Interface Basics

CS371m - Mobile Computing. User Interface Basics CS371m - Mobile Computing User Interface Basics Clicker Question Have you ever implemented a Graphical User Interface (GUI) as part of a program? A. Yes, in another class. B. Yes, at a job or internship.

More information

"Missing log" in edit viewer, all media gone Posted by prodeuser - 17 Aug :14

Missing log in edit viewer, all media gone Posted by prodeuser - 17 Aug :14 "Missing log" in edit viewer, all media gone Posted by prodeuser - 17 Aug 2013 06:14 So, this has happened a couple of times now. I am a new Lightworks user and have been doing some testing. As I increase

More information

AntBuilder. Introduction

AntBuilder. Introduction AntBuilder This document is aimed at AntBuilder 1.21 AntBuilder helps you construct and maintain an Ant 1 build.xml file for your project. Yes, Maven is gaining in popularity, and supposedly Ant is on

More information

TourMaker Reference Manual. Intro

TourMaker Reference Manual. Intro TourMaker Reference Manual Intro Getting Started Tutorial: Edit An Existing Tour Key Features & Tips Tutorial: Create A New Tour Posting A Tour Run Tours From Your Hard Drive Intro The World Wide Web is

More information

Hello, and welcome to another episode of. Getting the Most Out of IBM U2. This is Kenny Brunel, and

Hello, and welcome to another episode of. Getting the Most Out of IBM U2. This is Kenny Brunel, and Hello, and welcome to another episode of Getting the Most Out of IBM U2. This is Kenny Brunel, and I'm your host for today's episode which introduces wintegrate version 6.1. First of all, I've got a guest

More information

Mobile Programming Lecture 1. Getting Started

Mobile Programming Lecture 1. Getting Started Mobile Programming Lecture 1 Getting Started Today's Agenda About the Android Studio IDE Hello, World! Project Android Project Structure Introduction to Activities, Layouts, and Widgets Editing Files in

More information

O X X X O O X O X. Tic-Tac-Toe. 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game

O X X X O O X O X. Tic-Tac-Toe. 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game Tic-Tac-Toe 5COSC005W MOBILE APPLICATION DEVELOPMENT Lecture 2: The Ultimate Tic-Tac-Toe Game Dr Dimitris C. Dracopoulos O X X X O O X O X The Ultimate Tic-Tac-Toe: Rules of the Game Dimitris C. Dracopoulos

More information

Arduino IDE Friday, 26 October 2018

Arduino IDE Friday, 26 October 2018 Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.

More information