Java

Posts in this section.

News

Drop Menu - Superfish

There are a number of drop down menu in JQuery. The most I used a lot is Superfish. Because it can convert a <ul> into a menu, just remember <ul>…

Read more
JQuery

ColorBox- Jquery Light Box Plugin

I found a good Jquery Light Box Plugin, ColorBox. I love it, because it supports to load iframe in a light style. That is a better way to load a sub-page rather…

Read more
Android programming

ViewPagerIndicator(2)-Fragment

I started to use ViewPagerIndicator for a few weeks. I found out each "page" inside ViewPagerIndicator is a Fragment. If that is a simple page, it will extend…

Read more
Android programming

onListItemClick is not working

You need to build a sub-class of ListActivity. Then you can override onListItemClick to catch the event on click when the list item is clicked. But that is not…

Read more
Android programming

Resource Not Found in Android

I have tried to get a string resource via getResources().getString(R.string.msg_err). Under values/strings.xml. I am 100% sure there is msg_err value. But I…

Read more
Android programming

Convert DhcpInfo.dns into a readable IP

DhcpInfo.dns1 and DhcpInfo.dns2 is an integer, not a readable IP string,"x.x.x.x". That is hard to understand. I did a search in internet. There are a number of…

Read more