Category Archives: ANDROID

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 »

Flitering a ListView using an input from an EditText in Android.

By | December 14, 2011

Hello everyone In today’s tutorial I will show you how to filter a ListView based on an input from the EditText. This is really simple we just need to call getFilter().filter(search_string) on the adapter to filter the values from the ListViews. Just take a look at this example. Here is the layout file main.xml Here… Read More »

SlidingDrawer in Android, A simple example.

By | July 12, 2013

Sliding-Drawer in a nice and useful widget in android. Please check one of my previous posts to do this in another way. How to show a sliding window from below in Android? Check this new One using Navigation Drawer About Sliding drawer SlidingDrawer hides content out of the screen and allows the user to drag… Read More »

How to show progress bar while loading a webpage in android?

By | November 3, 2011

This is a simple example showing how to load a webpage and show a progressBar while the page is loading in android. For that you have to set a chrome client for the webview which implements “onProgressChanged” Here is the layout file. Here is the java file

How to change the default transition between activities?

By | May 23, 2012

In android the default transition between activities is to slide from left to right. But with custom animations we can change that. First create a folder inside the res/drawable folder called “anim”. Then create a file named “fade.xml” and copy this code into it. create another file named “hold.xml” in the same place hold.xml. activity_animation.xml… Read More »

How to take screenshot of application and store it in SDCARD?

By | May 31, 2012

The first part is explained in this Tutorial, that is taking the screenshot of the application (View). The second part is storing it in the SDCARD. This is possible by compressing the image bitmap to bytes and then store. Finally dont forgot to put the following permission in the manifest file.