Entries Tagged 'Android' ↓

Extending the JDT

A couple of weeks ago I had a look at the Motodevstudio for Android developers and I think it has some quite nice features like code snippets or wizards for Android activities, services and more. Actually it’s is quite easy to extend the eclipse JDT and provide such useful plugins. This blog post is about [...]

Tags: , , , ,

OpenGL ES Tutorial for Android – Part V – More on Meshes

Per-Erik Bergman

I have a feeling that some of you have tried my tutorials and then thought “This is a 3D tutorial, but why is everything in 2D?”. So in this tutorial we will make some real 3D meshes. This is also necessary for the following tutorials. When I started I had problems with finding out how [...]

Tags: , ,

The easy way to test Android applications

Renas Reda

I’m going to guess that most of you know what instrumentation is. In the event that you don’t, instrumentation is a feature in which specific monitoring of the interactions between an application and the system is made possible. Instrumentation also makes it possible to write test cases that interact with the application. The problem with [...]

Tags: , , , ,

Boosting Android performance using JNI

Mattias Rosberg

JNI or Java Native Interface is the interface between the Java code running in a JVM and the native code running outside the JVM. It works both ways, that is you can use JNI to call native code from your Java programs and to call Java code from your native code. The native code normally [...]

Tags: ,

Learn to Stop Worrying and Love the Singleton

Fredrik Olsson

Enterprise applications and mobile applications have quite different requirements. Starting an enterprise application is just something you do once before it continue running for months or years. On the other side of the spectrum most mobile applications seldom runs for more than minutes, run by a bored users standing in line or riding the bus. [...]

Tags: , , , , ,

OpenGL ES Tutorial for Android – Part IV – Adding colors

Per-Erik Bergman

Last tutorial was about transformations. This tutorial will be a short one. I’m going to talk about adding color to your mesh. I will continue with the source code from tutorial II. Adding color 3D models with no colors are pretty boring so let’s add some color to it. In general colors need no explanation. [...]

Tags: , ,

OpenGL ES Tutorial for Android – Part III – Transformations

Per-Erik Bergman

Last tutorial was about building your polygons. This tutorial is all about transformations, how to move the polygons around. I will continue this tutorial from where the previous ended so you can use that source code or make a copy of it. I am not going to bore you with a lot of mathematics but [...]

Tags: , ,

OpenGL ES Tutorial for Android – Part II – Building a polygon

Per-Erik Bergman

Previous tutorial was all about setting up the GLSurfaceView. Be sure to read it beacuse it’s a really importent one to be able to continue. Building a polygon In this tutorial we will render our first polygon. 3D models are built up with smaller elements (vertices, edges, faces, and polygons) which can be manipulated individually. [...]

Tags: , ,

OpenGL ES Tutorial for Android – Part I – Setting up the view

Per-Erik Bergman

I’m going to write a couple of tutorials on using OpenGL ES on Android phones. The theory of OpenGL ES is the same on different devices so it should be quite easy to convert them to another platform. I can’t always remember where I found particular info so I might not always be able to [...]

Tags: , ,

Getting Android SDK working on Ubuntu 64

Johan Haleby

Today I was trying to setup the Android SDK (version 1.6_r1) on the 64 bit version of Ubuntu 9.04 (Jaunty Jackalope). After having installed the ADT Eclipse plugin and pointed out the Android SDK directory in the settings I immediately ran into the following error: Failed to get the adb version: Cannot run program “/home/johan/devtools/android/android-sdk-linux_x86-1.6_r1/tools/adb”: [...]

Tags: , , ,

The BROWSABLE category revealed

Mattias Rosberg

Assume that you on your desktop computer browse to a web page with the following page source Clicking on the first link you expect your browser to start a new tab and navigate to the url that was specified in the href. If you click on the second link you would expect that the browser [...]

Tags:

Working with SD cards in the Android emulator

Mårten Österberg

Working with external storage in the Android emulator could be a little tricky and the documentation is not easy to find. I’ll try to give a brief walk through of the steps needed to create a SD card image, mount the image in Linux, put content on it and use it in the emulator. Creating [...]

Tags: , , ,