Tag Archives: BufferedInputStream

Client-Server Programming in Android. Send Message to the Client and Back.

By | May 1, 2017

Hi all, Today I will show you how you can implement Client-Server architecture in an Android environment.   Watch Video Demo   Below is the demo of the app we are going to build.   Watch Video Tutorial   I wil be explaining the code in the below video tutorial. If you have any comments,… Read More »

How to encrypt and decrypt a file using “AES” algorithm in Android? – Google’s Advice

By | March 19, 2013

This is a simple example showing how to encrypt and decrypt a file in android. what we will do in this post is 1. Generate a key for encrypting our data. 2. Create a file and save data using ENCRYPTION with our generated key to the SDCARD. 3. With the help of the key DECRYPT… Read More »

How to store an Image from Android to a SQlite and retrieve it?

By | December 23, 2012

Hello all… In today’s post I will show you how to store an image in an SQLite database and retrieve it. First I will just create a Database Helper Class for adding and reading from the Database. Our Database contains only one table “Images” with two columns “id” and “image”. Note : If you want… Read More »

How to read and write files to SDCARD and application SandBox in Android – A complete example?

By | September 6, 2012

Here is a complete example of How to read and write files to SDCARD and application SandBox in Android. First create a new project and inside the mainActivity paste this code. Now create another class named MyFile.java and copy this code into it. Now the layout for the xml file. Note you should give this… Read More »

How to download a file from a remote site in android? – Another simple example – Method -3

By | May 7, 2012

Hello all ……. I have shown many examples on how to download and upload files in android through this site. These are other methods for downloadign a file in android. 1. How to Download an image in ANDROID programatically? 2. How to download a file to your android device from a remote server with a… Read More »

How to download a file to your android device from a remote server with a custom progressbar showing progress?

By | April 29, 2012

Actually this is really simple. I have already posted an example for how to download a file in this post. How to Download an image in ANDROID programatically? This is another one little different with a progressbar included. Previously I have shown three other methods to upload files to a server. Check these posts to… Read More »

How to Download an image in ANDROID programatically?

By | July 7, 2011

Hello everyone.. In one of my tutorials I have shown you how to upload an image in android.. In todays tutorial I will show you how to download an image into your phone programatically. I am just picking up an image url from google to show the download. Previously I have shown three other methods… Read More »