Tag Archives: RELEASE

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 Disk, so that… Read More »

Using Different Media Libraries in Android

By | February 5, 2017

Android provides two main API’s for playing sounds. SoundPool MediaPlayer SoundPool SoundPool can be used for small audio clips. It can repeat sounds and play several sounds simultaneously. The sound files played with SoundPool should not exceed 1 MB. SoundPool does load the file asynchronously. As of Android API8 it is possible to check if the loading is… Read More »

How to get the ANDROID SDK Version? How to get your Phone's IP Address in ANDROID? Also how to get your phone number from the phone?

By | January 23, 2011

Please checkout the “LogCat” for the output. If you don’t know about Logcat In Eclipse “Go to Window->showView and search for Logcat”. [java] package com.ip; import android.app.Activity; import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Build; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log; public class Get_IP extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // WifiManager wifiManager… Read More »

How to get the ANDROID SDK Version? How to get your Phone’s IP Address in ANDROID? Also how to get your phone number from the phone?

By | January 23, 2011

Please checkout the “LogCat” for the output. If you don’t know about Logcat In Eclipse “Go to Window->showView and search for Logcat”. [java] package com.ip; import android.app.Activity; import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Build; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log; public class Get_IP extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // WifiManager wifiManager… Read More »

How to get the ANDROID SDK Version? How to get your Phone’s IP Address in ANDROID? Also how to get your phone number from the phone?

By | January 23, 2011

Please checkout the “LogCat” for the output. If you don’t know about Logcat In Eclipse “Go to Window->showView and search for Logcat”. [java] package com.ip; import android.app.Activity; import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Build; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log; public class Get_IP extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // WifiManager wifiManager… Read More »