background preloader

Introduction to Android Development

Introduction to Android Development
Mobiletuts+ will be covering all major mobile platforms - iPhone, Windows, Android and Blackberry. Today we'll be taking a look at Android development: explaining why people have choosen to work with Android and providing an overview of the Eclipse IDE and its Java, DDMS and debugging perspectives. Finally, you'll learn how to get started making your first Android app! Android 101 Tutorials: What is Android? Android is an open source mobile operating system that combines and builds upon parts of many different open source projects. Why Android? There are many advantages to developing for the Android platform: Zero startup costs to begin development. Prerequisites before continuing with this article include: You must download and install the Eclipse IDE. The Eclipse IDE Eclipse is a complex, multi-language, and extensible Integrated Development Environment (IDE). After opening Eclipse for the first time, select a workspace to save your project within. The Java Perspective The DDMS Perspective

Free Books A lot of people keep asking about a good list of programming books. Hence, we are building this list to save your time and to spread the knowledge. Some of these books will definitely help us to evolve our coding skills and thought processes for developing better solutions. We will do our best to keep updating this list, hope you find this list useful, here we go. Meta-List Graphics Programming Language Agnostic: NerdDinner Walkthrough Assembly Language: Bash Advanced Bash-Scripting Guide See .NET below Django Djangobook.com Emacs The Emacs manual Thanks Emacser (October 17, 2010) Forth Git Haskell Dive Into HTML5 Java JavaScript Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant) Maven Mercurial NoSQL CouchDB: The Definitive Guide Objective-C The Objective-C Programming Language Parrot / Perl 6 Perl 6 (Work in progress) Perl PowerShell Mastering PowerShell Prolog PostgreSQL Practical PostgreSQL Python Learn REBOL Thanks Nick (October 19, 2010) Ruby Scala Scheme Smalltalk Subversion Vim

Programming, Motherfucker - Do you speak it? Practical threaded programming with Python Introduction With Python, there is no shortage of options for concurrency, the standard library includes support for threading, processes, and asynchronous I/O. In many cases Python has removed much of the difficulty in using these various methods of concurrency by creating high-level modules such as asynchronous, threading, and subprocess. Outside of the standard library, there are third solutions such as twisted, stackless, and the processing module, to name a few. It is important to first define the differences between processes and threads. Hello Python threads To follow along, I assume that you have Python 2.5 or greater installed, as many examples will be using newer features of the Python language that only appear in at least Python2.5. hello_threads_example import threading import datetime class ThreadClass(threading.Thread): def run(self): now = datetime.datetime.now() print "%s says Hello World at time: %s" % (self.getName(), now) for i in range(2): t = ThreadClass() t.start() #!

Android 2D Graphics Example This example shows how to use onDraw() method and create a simple drawing program. The only significant files are Draw activity and the DrawView. Draw.java This activity creates the DrawView and sets it as activity's main content. package com.example; import android.app.Activity;import android.os.Bundle;import android.view.Window;import android.view.WindowManager; public class Draw extends Activity { DrawView drawView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Set full screen view getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); requestWindowFeature(Window.FEATURE_NO_TITLE); drawView = new DrawView(this); setContentView(drawView); drawView.requestFocus(); }} DrawView.java DrawView is a view. import java.util.ArrayList;import java.util.List; public class DrawView extends View implements OnTouchListener { private static final String TAG = "DrawView"; this.setOnTouchListener(this);

Codecademy Labs Evaluations Made Easy Our dynamic filtering gives you access to all of the information you want. See how you rank against other developers based on any combination of language, location, experience, team, group, or anything else. Beginning Game Development: Part I – Introduction | Coding4Fun Articles Part I – Introduction Welcome to the first article of an introductory series on game programming using the Microsoft .NET Framework and managed DirectX 9.0. This series as aimed at beginning programmers who are interested in developing a game for their own use with the .NET Framework and DirectX. The goal of this series is to have fun creating a game and learn game development and DirectX along the way. In this series, we are going to build a simple game to illustrate the various components of a commercial game. Tools: Before we start writing our first game we need to talk about the tools we will use. The most important tool for any developer is the Integrated Development Environment (IDE). Visual Studio 2005 (also known by the codename “Whidbey") is the third version of the standard Microsoft IDE for .NET Framework-based applications. The second important tool we need to create a great looking game is a graphics Application Programming Interface (API). What makes a successful game? End Sub

Teach yourself to program We are entering the summer, the perfect time to improve yourself, you could go running or swimming, you could learn a new foreign language or perhaps you could learn to program. Self-learning is not as hard as it sounds, and it’s much easier than self-learning Spanish or French. There are really wonderful sources to start learning these new languages, understanding the concept behind programming and giving it a try with some interesting problems. Basic Programming Via XKCD To learn a new programming language, it’s much easier if you already know the concepts because you can start learning the new structures in no time. Programming Concepts : This is a brief tutorial for new programmers from the City University of New York. Learning a Language Whether you already know some programming languages or you are moving forward, you should choose a language to work with. Learning HTML Via Cyanide and Happiness HTML is quite a simple language that doesn't use variables or operations. Learning Python

10 Mistakes That JavaScript Beginners Often Make Martin Angelov JavaScript is an easy language to get started with, but to achieve mastery takes a lot of effort. Beginners often make a few well-known mistakes that come back and bite them when they least expect. To find which these mistakes are, keep reading! 1. One practice, which JavaScript beginners are often guilty of, is omitting curly braces after statements like if, else, while and for. Run Although the fail() call is indented and looks as if it belongs to the if statement, it does not. 2. When JavaScript is parsed, there is a process known as automatic semicolon insertion. // This code results in a type error. Because there is a semicolon missing on line 3, the parser assumes that the opening bracket on line 5 is an attempt to access a property using the array accessor syntax (see mistake #8), and not a separate array, which is not what was intended and results in a type error. 3. JavaScript is dynamically typed. 4. 5. var a = 0.1, b = 0.2; // Surprise! 6. 7. 8. Eval is evil. 9.

Rocket Commander Tutorials | Coding4Fun Articles Welcome to the Tutorials of Rocket Commander. You will learn step by step in ten 30-minute video tutorials how to develop a game like Rocket Commander. This can be your introduction into the world of game development. If you just want to play a bit, check out and download the game there (10 MB). You can also take a quick look at the source code (which is freely available like the game) or get an overview about the project by looking at the Class Overview. Basic Knowledge This tutorial is targeted to people, who already know how to program in C# and have basic knowledge of Managed DirectX. This tutorial tries to give you more practical view on coding and games than many other tutorials, which only show you a couple of tricks in 100-1000 lines of code. There are many open source projects (even games), but most of these projects lack good documentation, have not enough comments in the code, and often there are no tutorials for them. Installation The Tutorials

Free java Programming Language Books Download An Introduction to Object-Oriented Programming with Java pdf An Introduction to Object-Oriented Programming with Java takes a full-immersion approach to object-oriented programming. Proper object-oriented design practices are emphasized throughout the book. Students learn how to use the standard classes first, then learn to design their own classes. Wu uses a gentler approach to teaching students how to design their own classes, separating the coverage into two chapters. GUI coverage is also located independently in the back of the book and can be covered if desired. Java for the Beginning Programmer pdf Java for the Beginning Programmer teaches Java to someone with absolutely no programming background. Learning Java (4th Edition) Java is the preferred language for many of today's leading-edge technologies¡ªeverything from smartphones and game consoles to robots, massive enterprise systems, and supercomputers. Thinking in Java (4th Edition) Think Java: How to Think Like a Computer Scientist

Main Page - CS61Wiki Computer Science 61 and E61Systems Programming and Machine Organization Harvard School of Engineering and Applied Sciences Fall 2013Eddie Kohler Lectures: Tuesday/Thursday, 2:30-4:00Location: Northwest B103 Syllabus | Schedule | Section notes | Course staff, office hoursInfrastructure | Git | Resources | Coding style | C Patterns Extension school | Videos | Grading server | Lecture feedback Announcements About CS 61 is an introduction to the fundamentals of computer systems programming. CS 61 will help you develop the skills to write programs for the real world, where performance and robustness really matter. We want CS 61 to be fun and challenging, but not necessarily to require tons of work. For more, see the syllabus. Prerequisites CS 50, CS 51, or the instructor's permission. Note: This course requires programming in C. Textbook Computer Systems: A Programmer's Perspective, Second Edition by Randal E. College concentration requirements Extension school Additional information Prior offerings

Related: