How to Load CSV file into Database
Loading CSV file into Database can be cumbersome task if your Database provider does not offer an out of box feature for this. Most of the time you’ll spend up in creating valid insert statements and...
View ArticleJava 2D Snake Game
In this part of the Java 2D games tutorial, we will create a Java Snake game clone. Snake Snake is an older classic video game. It was first created in late 70s. Later it was brought to PCs. In this...
View ArticleJava 2D Pacman Game
In this part of the Java 2D games tutorial we will create a simple Pacman game clone. Pacman is an arcade game originally developed by a Japanese company Namco in 1980. Pacman became one of the most...
View ArticleBlur Mask Filter in Android
This takes a mask, and blurs its edge by the specified radius. Whether or or not to include the original mask, and whether the blur goes outside, inside, or straddles, the original mask’s border, is...
View ArticleMerge two image in android
Last exercise combine two image side-by-side. In this post, the two images overlap with alpha setting. The layout is same as in last exercise “Combine bitmap side-by-side“. Main code: package...
View ArticleProgram to develop a Mail Client in Java.
import java.awt.*; import java.awt.event.*; import java.util.*; import java.net.*; import java.io.*; import javax.swing.*; public class MailClient { public static void main(String []args) { JFrame...
View ArticleProgram to develop a Web Browser in Java.
import java.awt.*; import java.awt.event.*; import java.util.*; import java.net.*; import java.io.*; import javax.swing.*; import javax.swing.event.*; public class WebBrowser { public static void...
View ArticleListView, with icon
ListView in simplest form with plain text only. This exercise describe how to add a icon in ListView. create a new file in /res/layout/row.xml, to setup our layout on each row. <?xml version="1.0"...
View ArticleImplement a simple File Explorer in Android
- First of all, as a user app, I think it should not access the root “/” directly. So I assign root to Environment.getExternalStorageDirectory(), it’s the Android external storage directory. -...
View ArticleDownloading a Web Page and Displaying its Contents. (Different Method)
import java.awt.*; import java.awt.event.*; import java.util.*; import java.net.*; import java.io.*; import javax.swing.*; import javax.swing.event.*; public class OpenURL { public static void...
View Article