GT's Blog
Code snippets, technical articles, tips on computing and programming...
Pages
(Move to ...)
Type in Nepali Unicode Romanized - Convert Roman Nepali to Unicode Tool
▼
Java- extract / unzip a zip file - working code example
›
How to Extract / unzip a zip file in Java - complete source code example . import java.io.*; import java.util.zip.*; public class UnzipTes...
Java: using recursion to read a folder and its content in tree format sub-folders/files in tree format
›
Java CODE: Using recursion to read a folder and its content - sub-folders/files in tree format. public class TreeTest { public sta...
Java : Generate JTree from XML dynamically - code example
›
In this post, i am going to describe how to generate JTree in swing according to an XML document dynamically. Used XML File : catalog.xml ...
Java : Html form parser return map of (name,value) pair of input attribute
›
Simple HTML Form Parser which parses the given string of HTML and returns Map of (name,value) pair of form's input attribute. CODE ...
Java : Counting frequency of word in a string using Map
›
Use a Map to map Map<String,Integer> the words with frequency. String SPACE =" "; String [] words = input.split(SPACE); ...
Java: ping an URL from java application - code example
›
The code to ping a URL from java application is as follows : public static void pingUrl ( final String address) { try { final U...
Android: Killing a running process with processid(pid) and package name
›
After analysis of source code of Android's package manager application, i found forceStopPackage method is used by system image to kill...
3 comments:
Android: Code for detecting if specific application or service running
›
For checking a application is running or not : public static boolean isThisApplicationRunning(final Context context, final String appPackag...
Android code for reading phone contacts detail
›
Here is code for reading all phone contacts(phone number, email etc with their type) stored in android phone programmatically.
7 comments:
Android Reading Call Log from Phone Programmatically
›
Here is the code to read all call log data (MISSED, OUTGOING, INCOMING) from android phone programmatically. Permission in AndroidManifest...
6 comments:
‹
›
Home
View web version