background preloader


Facebook Twitter

Android Developers - Vimperator. This tutorial on writing a notepad application gives you a "hands-on" introduction to the Android framework and the tools you use to build applications on it.

Android Developers - Vimperator

Starting from a preconfigured project file, it guides you through the process of developing a simple notepad application and provides concrete examples of how to set up the project, develop the application logic and user interface, and then compile and run the application. The tutorial presents the application development as a set of exercises (see below), each consisting of several steps. You should follow the steps in each exercise to gradually build and refine your application. Android - Porting Guide - Vimperator. Android « just do IT - Vimperator. Android Developers - Vimperator. Content providers manage access to a structured set of data.

Android Developers - Vimperator

They encapsulate the data, and provide mechanisms for defining data security. Content providers are the standard interface that connects data in one process with code running in another process. When you want to access data in a content provider, you use the ContentResolver object in your application's Context to communicate with the provider as a client. The ContentResolver object communicates with the provider object, an instance of a class that implements ContentProvider. The provider object receives data requests from clients, performs the requested action, and returns the results.

You don't need to develop your own provider if you don't intend to share your data with other applications. Android itself includes content providers that manage data such as audio, video, images, and personal contact information. The following topics describe content providers in more detail: Content Provider Basics. Building Android kernel images. Below are the steps taken by me to build a working Android kernel image for the ADP1 (a.k.a. the developer G1). This image is based on linux kernel 2.6.27 and relies on the Android 1.5 "cupcake" radio image from HTC.

If you are trying to build a kernel for a different version replace references to cupcake as appropriate below. As before this page is here as a reminder to me for when I come to do it again. This is what worked for me, your mileage may vary. Before building the build environment needs to be set up: Install the Android SDK, as described previously Install repo and get the Android toolchain as per . make sdk threw up an error about javac so I needed to sudo apt-get install sun-java6-jdk . Create a small ~/bin/g1make script for building to save me typing the same build parameters over and over again.

. #! Make ARCH=arm CROSS_COMPILE=arm-eabi- $1. Tutorial: Using Eclipse for NDK projects : Code Maemo. Android freelancers & outsourcing » Products. Building for Android - Gnash Project Wiki. From Gnash Project Wiki To start off with, Android only comes with Java based developers tools, so for us C++ projects, you have to go through the pain of getting a development environment setup.

Building for Android - Gnash Project Wiki

So to start, download both the Android SDK, and the Android source tree, both huge. Stick the SDK some place accessible, and then untar the sources. Android builds relatively easy, although as of March 29, 2009, you had to invoke make like this make BUILD_WITHOUT_PV=true , or you get weird errors. This appears not to be a problem a year later in March 2010. The Android sources come a prebuilt ARM cross compiler in prebuilt/linux-x86/toolchain/, so you'd think we could use that. The Code Sourcery ARM toolchains works well for C code, and has better C++ support than the NDK. Mike's Blog: View Android Source Code in Eclipse. Recently, I have been hacking around with Android a lot, and I think it's awesome.

Mike's Blog: View Android Source Code in Eclipse

Unfortunately, the Android SDK does not come with source code, and sometimes the docs are not so great, yet. Being an open source project, the Android sources are available online, but they are not very easy to access from Eclipse. For one, the source files are sometimes difficult to find as they are distributed over many individual Git repositories, and then I am not always online. Integrating source files into Eclipse is usually quite easy, but the Android Eclipse plugin (ADT) does not allow to modify the Java Source Attachment of android.jar in the Android Library. Fortunately, you only have to find out what the default location for source code is. Long story short: Android source code needs to be placed in a "sources" subdirectory of the Android SDK.

Step 2 sounds easier than it is. Android Development Tutorial - Gingerbread. 1.1.

Android Development Tutorial - Gingerbread

The Android operating system Android is an operating system based on the Linux kernel. The project responsible for developing the Android system is called the Android Open Source Project (AOSP) and is primarily lead by Google. The Android system supports background processing, provides a rich user interface library, supports 2-D and 3-D graphics using the OpenGL-ES (short OpenGL) standard and grants access to the file system as well as an embedded SQLite database.

An Android application typically consists of different visual and non visual components and can reuse components of other applications.