Audio Capturing in Android

Audio Capturing in Android

Before we try to capture the system sound, we do have to find some audio to play, so that we can know we have captured something. Just copy any mp3 file and keep it into memory card. Now Let’s see the android audio system in the graph. We can see here that the lowest level of audio system goes to...
0
Drag and Drop Details and implementation in Android

Drag and Drop Details and implementation in Android

Android drag and drop framework allows users to move data from one View to another View in the current layout using a graphical drag and drop gesture. It includes following three important components to support drag & drop functionality: 1.) Drag event class 2.) Drag listeners 3.) Helper methods...
0
Clipboard APIs in Android

Clipboard APIs in Android

Android provides the clipboard framework for copying and pasting different types of data. The data could be text , images, binary stream data or other complex data types. Android provides the library of ClipboardManager and ClipData and ClipData.item to use the copying and pasting framework.In order...
0
Android’s latest version 5.0 Lollipop – What’s New

Android’s latest version 5.0 Lollipop – What’s New

Android 5.0 Lollipop is the largest and most ambitious release for Android yet. It is packed with new features for users and thousands of new APIs for developers. It extends Android even further, from phones, tablets, and wearables, to TVs and cars. For a closer look at the new developer APIs, see the...
Filed in: Android Tutorial
0
3D Programming Example in Android

3D Programming Example in Android

To add more depth to our games, we have to get ready to go 3D. 3D is not complicated at all and rendering 3D graphics is quite easy using OpenGL ES in Android. In a 3D game, as in the real world, everything happens in space. What we would see is defined by the field of view and the players that we “catch”...
0
How to use Custom Fonts in Android

How to use Custom Fonts in Android

In android , you can define your own custom fonts for the strings in your application. You just need to download the required font from the internet, and then place it in assets/fonts folder. After putting fonts in the assets folder under fonts folder, you can access it in your java code through Typeface...
0
Creating your own gesture library

Creating your own gesture library

Gesture is a prerecorded touch screen motion sequence. If user performs gesture as the prerecorded gesture, your app can recognized as a command. Gestures API (android.gesture) was introduced in Android 1.6, lets you store, load, draw and recognize gestures. In order to use Gestures API, you need a...
0
Monitering Battery Level in Android

Monitering Battery Level in Android

In this example we will see how to monitor battery level by registering our BroadcastReceiver with IntentFilter for Intent.ACTION_BATTERY_CHANGED. Algorithm: 1.) Create a new project by File-> New -> Android Project name it MoniterBatteryExample. 2.) Write following into main.xml: <LinearLayout...
0
Translate and rotate on GameSurface in android

Translate and rotate on GameSurface in android

In this example we will implement GestureOverlayView to detect gestures input, and apply scale, translate and rotate on canvas accordingly. To do this first you need to create gestures of up/down/left/right, clockwise/anti-clockwise, enlarge/reduce and copy the generated file to /res/raw folder. I will...
0
Device Movement effects in Android

Device Movement effects in Android

In this example we will see how we can react with the help of accelerometer on Android. Once implemented GmaeSprite will move as user moves the device. We will modify little code from our previous post UserTouch on surfaceView. Algorithm: 1.) Create a new project by File-> New -> Android Project...
0
Proudly designed by Theme Junkie.