Working with SQLite databases through command Line in android.

By | May 3, 2013

Hello all, In todays tutorial I will show you how to work with sqlite databases in android through command line. Advantages 1. You can browse any number of databases. 2. You can write any queries and execute. First go through these tutorials to get a glance of how to work with sqlite databases in android.… Read More »

How to save data or score in Android Cocos2D?

By | June 11, 2012

Hello Friends Today I will show you how to save data in cocos2D android in a database and reload it when the game starts. This has been always a problem withe game developers for cocos2D android. I will show you a way to save almost any number of data in a database using SQlite in… Read More »

Controlling android emulator with keypad.

By | January 16, 2012

Emulator Keyboard Mapping The table below summarizes the mappings between the emulator keys and and the keys of your keyboard. Emulated Device Key Keyboard Key Home HOME Menu (left softkey) F2 or Page-up button Star (right softkey) Shift-F2 or Page Down Back ESC Call/dial button F3 Hangup/end call button F4 Search F5 Power button F7… Read More »

How to encrypt a string in Android Using Base64?

By | December 18, 2012

Please check the LogCat for output. Join the Forum discussion on this post

Single Selection ListView in android

By | January 17, 2018

Hello all….. In today’s post I will show you how to create a single selection list in android. Here is the main.xml Now this line in the java file creates the single choice. setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_single_choice, android.R.id.text1, names)); Now this is the full java code

How to check whether a video has completed playing in android?

By | January 6, 2012

Hello all… Today I will show you how to get notified when a video completes playing in android. PLease check this post for playing a video and the resources. First create a folder named “raw” inside the “res” folder and copy a video inside it. Now copy the xml from this link. For listening to… Read More »

Starting PhoneGap for ANDROID.

By | January 4, 2012

Hello everyone…. In today’s tutorial I will show how to start with a HelloWorld Application in PhoneGap for ANDROID. So what is PhoneGap PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. Follow these steps exactly to build the helloworld… Read More »

Using WebView to call a function in android java code or How to use a WebViewClient in android?

By | January 1, 2012

Hello everyone Today I will explain how will you call a function that is defined inside the java android code from a webview. For this we need to add a webviewclient in android for the WebView we are adding in the xml. Then we have to register the webviewclient with the WebView we are creating… Read More »

Image transition animation in Android

By | April 27, 2012

Hello all… I have shown a lot of examples of animations in android. Today I will show you how to show an image transition animation between two images. For that you have to create an xml named “expand_collapse.xml” inside the res/drawable folder. The contents of “expand_collapse.xml” are Now in the main.xml place an imageView to… Read More »

How to create a custom layout for your camera in Android?

By | July 10, 2013

Hello everyone, Today’s example shows how to create a custom layout for your camera preview, that is if you want a custom layout while your camera is opening. This example helps you to achieve this. First create a fresh project and name it CameraCustomLayout and copy this code to CameraCustomLayout.java file. After that create an… Read More »

How to install an APK into your device or emulator through command prompt or shell.

By | December 27, 2011

In this post I will show you how to install an apk on to the emulator or the device through the shell or command prompt. Before experimenting with this post I assume that you have these done 1. Installed the Android SDK. 2. Added the adb path to the environment path. This is how you… Read More »

Parsing an XML from Online in Android

By | April 21, 2012

In the previous example I showed how to parse an xml that is stored in a file in res/xml folder. In this post I will show you how to parse an xml that is stored in a server in an xml file. Here I am using an xml that is stored in here Here is… Read More »

Android 4.0 IceCream Sandwich Cool features

By | December 24, 2011

Android 4.0 is here and it is completely different from its predecessors. The rate at which android is growing is unbeleivable. Students earning computer forensics degrees need to be aware of all different systems, so they should learn about these features. These are some of the features. 1. Refined, evolved UI 2. Home screen folders… Read More »

Parsing XML in Android a simple example

By | December 24, 2011

This is a simple example showing how to parse an xml in Androi. In this method the xml file is stored in res/xml folder. First create a folder named “xml” inside the raw folder. Then create an xml file named test.xml and copy the contents into it. This is the XML file we are going… Read More »

How to show a sliding window from below in Android?

By | June 28, 2013

Hello everyone, I have already showed you how to use a SlidingViewer to create a slidingWindow. Today I will show another way to create such a window with the help of animation. Please check one of my previous posts to do this in another way. How to show a sliding window from below in Android?… Read More »

How to add markers on our desired location in Google Maps Android?

By | December 21, 2011

In the last few posts I have showed some examples of how to work with Google maps. In this post I will show you how to add a marker in our desired position in the map. Adding something on top of a map is called overlay. Here we will create a class to add an… Read More »

Showing a desired location on Google Maps in Android?

By | December 20, 2011

In the previous post I showed you how to start with google Maps and changing the views and changing the zooming of maps. Today I will show how to show our desired location in the Map. For that we need the latitude and longitude of the location we want to show the location on the… Read More »

Displaying Zoom Controls and Changing the View of Google Maps in Android. or Create ZoomIn or Out by Code

By | December 19, 2011

Hello all……… In the previous post I showed you how to start with Google maps in android. In this post I will show you how to show zooming controls and changing the view of the map. Actually this is really simple. Add these lines to the previous code to add the zooming controls. Now how… Read More »

How to start with Google Maps in Android?

By | May 6, 2013

Hello everyone, in this tutorial I will show you how to start with Google Maps in android. Follow these steps while connecting to Google Maps in android. Create a project with “Google APIs” as the Base SDK. First, if you are testing the application on the Android emulator, locate the SDK debug certificate located in… Read More »