Capture Image using android.hardware module

The module provides a direct access to camera API and is the preferred method of taking pictures when you need a finer control over various camera parameters. The first step involves adding the following to your AndroidManifest.xml <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”” package=”com.knowpapa.camerademo” …. > …… <application …. …. > <activity ……… android:name=”.CameraDemoActivity” android:screenOrientation […]

Android Code to Capture Image Using the Built-In Camera App

The simplest way to capture an image is to use Android’s built-In camera app capabilities via the intent filter. The intent filter of the built in camera app is named: Accordingly to access this function you simply need to create an intent that would be caught by the above filter. In addition you need […]

Getting Started with LibGDX for Android Game Development

Getting the Development Environment Ready 1) Install Java Development Kit (JDK) 2) Install Eclipse 3) Install and Configure Android Software Development Kit(SDK) 4) Download Libgdx Prerequisites The tutorial will assume a certain level of familiarity with Java language. I also assume a basic level of familiarity with Android API assuming you understand basic terms like […]

Open GL Error Fix for Windows 7 and XP

So you have been playing your favorite game (Angry Birds anyone ?) in your android or iOS mobile phone and now you decided to play it on your desktop only to get an error that reads something like: OpenGL 1.x/2.0/ renderer not supported or DirectX renderer not supported ? OpenGL (Open Graphics Library) and DirectX […]

Android: using XML to Persist Data

If you have a handful of data to be stored, using SharedPreferences to persist your data may not be very convenient. Android lets you store data as XML file and then read it back into your source.Using XML you can make up your own custom tags to store data in a file that is both […]

Android: Using Shared Preferences for Storing Data

The SharedPreferences API in Android Content(android.content.sharedpreferences) is the easiest and most convenient way to store simple data types like boolean, int and float as key-value pairs. The data that you store through this method is private to a given application and is not visible to other applications (even those that access the particular application’s storage). […]

Android: Getting the Development Environment Ready

If you are an existing Android developer and are comfortable with any section, please feel free to skim through it. Download and Install the following components in the order specified (Ignore things that you have already installed). 1. Java Development Kit(JDK) – latest version 2. Android SDK 3. Eclipse IDE for Java Developers 4. ADT […]

Top Free Android Game Frameworks

So like we said in the previous lesson, we would be building our game on top a game framework. A game framework refers to a library with built-in interface for handling lots of functionality that are common to the games development ecosystem. No matter what game you build, you are most likely to come across […]

Android Game Programming Tutorial

Today we start on a new tutorial series on Android Game Development. Style The tutorials will teach game programming for Android devices using many real examples. Motivation for the Course The current state of mobile game development has again made it possible for lone developers to churn out fun and highly profitable games working from […]

Distributing Android Games: Alternatives to Google Play

Google Play is the first and the largest market for distributing our Android games. But it’s definitely not the only place to distribute your game. Given the open source nature of Android, many device makers have already replaced google play with other emerging markets to monetize the segment. Given the fact that end users generally […]