| android Programming Glossary: enumerationAndroid: How to Know an IP Address is a Wifi IP Address? http://stackoverflow.com/questions/10683495/android-how-to-know-an-ip-address-is-a-wifi-ip-address  API to return. public String getClientIpAddress try for Enumeration NetworkInterface en NetworkInterface.getNetworkInterfaces en.hasMoreElements..  NetworkInterface intf en.nextElement  for Enumeration InetAddress enumIpAddr intf.getInetAddresses enumIpAddr.hasMoreElements.. 
 Steps to create APK expansion file http://stackoverflow.com/questions/11715855/steps-to-create-apk-expansion-file  File archive ZipFile zipfile new ZipFile archive for Enumeration e zipfile.entries e.hasMoreElements  ZipEntry entry ZipEntry.. 
 How to determine if my app is running on Android http://stackoverflow.com/questions/4519556/how-to-determine-if-my-app-is-running-on-android  to check by yourself Properties p System.getProperties Enumeration keys p.keys while keys.hasMoreElements String key String keys.nextElement.. 
 Bonjour implementation on Android http://stackoverflow.com/questions/4656379/bonjour-implementation-on-android   public InetAddress getLocalIpAddress try for Enumeration NetworkInterface en NetworkInterface  .getNetworkInterfaces.. NetworkInterface intf NetworkInterface en.nextElement  for Enumeration InetAddress enumIpAddr intf  .getInetAddresses enumIpAddr.hasMoreElements.. 
 Android - Unzip a folder? http://stackoverflow.com/questions/5028421/android-unzip-a-folder  import java.io.IOException import java.util.Enumeration import java.util.Observable import java.util.zip.ZipEntry import.. filePath try  ZipFile zipfile new ZipFile archive  for Enumeration e zipfile.entries e.hasMoreElements  ZipEntry entry ZipEntry.. 
 Invoking audio recorder and getting the resulting file http://stackoverflow.com/questions/6746979/invoking-audio-recorder-and-getting-the-resulting-file  import java.io.IOException import java.util.Enumeration import java.util.Vector import android.app.Activity import android.content.Intent.. 2 if mFileObserver null  mFileObserver.stopWatching  Enumeration String audioFileEnum audioFileNames.elements while audioFileEnum.hasMoreElements.. 
 Code for download video from Youtube on Java, Android http://stackoverflow.com/questions/7203047/code-for-download-video-from-youtube-on-java-android  import java.net.URL import java.util.Enumeration import java.util.Vector import android.app.Activity import android.app.ProgressDialog.. tmpstr.substring begin tmpstr.length  String result  Enumeration url_encoded_fmt_stream_map_enum url_encoded_fmt_stream_map.elements.. 
 how to Upload image into server in Android? http://stackoverflow.com/questions/8803430/how-to-upload-image-into-server-in-android  res new StringBuffer .append boundary .append r n Enumeration String keys params.keys while keys.hasMoreElements String key.. 
 Android ServerSocket programming with jCIFS streaming files http://stackoverflow.com/questions/9058135/android-serversocket-programming-with-jcifs-streaming-files  mT Content Type mimeType r n pw.print mT  if header null Enumeration e header.keys  while e.hasMoreElements  String key String e.nextElement.. 
 File transfer using smack in android apps. http://stackoverflow.com/questions/9782680/file-transfer-using-smack-in-android-apps  class in the asmack. Replace the following code Enumeration providerEnum classLoader.getResources  META INF smack.providers..  META INF smack.providers with this Enumeration providerEnum classLoader.getResources  data smack.providers.. 
 Android: How to Know an IP Address is a Wifi IP Address? http://stackoverflow.com/questions/10683495/android-how-to-know-an-ip-address-is-a-wifi-ip-address  IP Address of the Client. There is Delay of 2 Seconds for the API to return. public String getClientIpAddress try for Enumeration NetworkInterface en NetworkInterface.getNetworkInterfaces en.hasMoreElements  NetworkInterface intf en.nextElement  for.. en NetworkInterface.getNetworkInterfaces en.hasMoreElements  NetworkInterface intf en.nextElement  for Enumeration InetAddress enumIpAddr intf.getInetAddresses enumIpAddr.hasMoreElements  InetAddress inetAddress enumIpAddr.nextElement.. 
 Steps to create APK expansion file http://stackoverflow.com/questions/11715855/steps-to-create-apk-expansion-file  String archive File outputDir  try Log.d control ZipHelper.unzip File archive ZipFile zipfile new ZipFile archive for Enumeration e zipfile.entries e.hasMoreElements  ZipEntry entry ZipEntry e.nextElement  unzipEntry zipfile entry outputDir   catch Exception.. 
 How to determine if my app is running on Android http://stackoverflow.com/questions/4519556/how-to-determine-if-my-app-is-running-on-android  Android Project java.vendor The Android Project Maybe you want to check by yourself Properties p System.getProperties Enumeration keys p.keys while keys.hasMoreElements String key String keys.nextElement String value String p.get key System.out.println.. 
 Bonjour implementation on Android http://stackoverflow.com/questions/4656379/bonjour-implementation-on-android  found.  impl JmDNSImpl jmdns catch IOException e  e.printStackTrace  public InetAddress getLocalIpAddress try for Enumeration NetworkInterface en NetworkInterface  .getNetworkInterfaces en.hasMoreElements  NetworkInterface intf NetworkInterface en.nextElement.. NetworkInterface  .getNetworkInterfaces en.hasMoreElements  NetworkInterface intf NetworkInterface en.nextElement  for Enumeration InetAddress enumIpAddr intf  .getInetAddresses enumIpAddr.hasMoreElements  InetAddress inetAddress InetAddress enumIpAddr.. 
 Android - Unzip a folder? http://stackoverflow.com/questions/5028421/android-unzip-a-folder  import java.io.File import java.io.FileOutputStream import java.io.IOException import java.util.Enumeration import java.util.Observable import java.util.zip.ZipEntry import java.util.zip.ZipFile import org.apache.commons.io.IOUtils.. params 0 String destinationPath params 1 File archive new File filePath try  ZipFile zipfile new ZipFile archive  for Enumeration e zipfile.entries e.hasMoreElements  ZipEntry entry ZipEntry e.nextElement  unzipEntry zipfile entry destinationPath   catch.. 
 Invoking audio recorder and getting the resulting file http://stackoverflow.com/questions/6746979/invoking-audio-recorder-and-getting-the-resulting-file  import java.io.FileNotFoundException import java.io.FileOutputStream import java.io.IOException import java.util.Enumeration import java.util.Vector import android.app.Activity import android.content.Intent import android.os.Bundle import android.os.FileObserver.. Intent intent TODO Auto generated method stub if requestCode 2 if mFileObserver null  mFileObserver.stopWatching  Enumeration String audioFileEnum audioFileNames.elements while audioFileEnum.hasMoreElements  readFile String audioFileEnum.nextElement.. 
 Code for download video from Youtube on Java, Android http://stackoverflow.com/questions/7203047/code-for-download-video-from-youtube-on-java-android  import java.net.HttpURLConnection import java.net.MalformedURLException import java.net.URL import java.util.Enumeration import java.util.Vector import android.app.Activity import android.app.ProgressDialog import android.net.Uri import android.os.AsyncTask..  end tmpstr.indexOf begin  url_encoded_fmt_stream_map.addElement tmpstr.substring begin tmpstr.length  String result  Enumeration url_encoded_fmt_stream_map_enum url_encoded_fmt_stream_map.elements  while url_encoded_fmt_stream_map_enum.hasMoreElements.. 
 how to Upload image into server in Android? http://stackoverflow.com/questions/8803430/how-to-upload-image-into-server-in-android  params String fileField String fileName String fileType StringBuffer res new StringBuffer .append boundary .append r n Enumeration String keys params.keys while keys.hasMoreElements String key String keys.nextElement String value String params.get key.. 
 Android ServerSocket programming with jCIFS streaming files http://stackoverflow.com/questions/9058135/android-serversocket-programming-with-jcifs-streaming-files  1.0 status r n pw.print retLine  if mimeType null  String mT Content Type mimeType r n pw.print mT  if header null Enumeration e header.keys  while e.hasMoreElements  String key String e.nextElement  String value header.getProperty key  String l key.. 
 File transfer using smack in android apps. http://stackoverflow.com/questions/9782680/file-transfer-using-smack-in-android-apps  2010.05.07 source in eclipse for android 2.2. Go for ProviderManager class in the asmack. Replace the following code Enumeration providerEnum classLoader.getResources  META INF smack.providers with this Enumeration providerEnum classLoader.getResources.. Replace the following code Enumeration providerEnum classLoader.getResources  META INF smack.providers with this Enumeration providerEnum classLoader.getResources  data smack.providers After this you need to do a patch. Add the following function.. 
 |