Tag Archives: FileNotFoundException

How to encrypt and decrypt an audio file in Android?

By | May 8, 2018

Here is a simple example to encrypt and decrypt a audio file in Android. We will directly go to the implementation part. Demo Video You can check the demo video here. Download Library You can download the simple library from here. Aim Download an audio file from internet. Encrypt and save the encrypted file in… 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 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 avoid OutOfMemory Exception in android- Second Method?

By | July 24, 2011

In the previous tutorial I showed you one method to avoid OutOfMemory Exception in android. And In this tutorial I will show you another method. The reduceImageSize function in this code reduces the image to the desired size you want. Create a fresh project and copy this code into it. How to put images inside… Read More »

How to avoid OutOfMemory Exception in android?

By | July 23, 2011

Hello all.. The OutofMemory exception is a common exception in android when you select an image from a gallery or load Big Images in android. There are different methods to solve this problem. Today I will show you one of the method to solve this problem. The method I am going to explain here is… Read More »