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 moreJava — posts in this category.
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 moreI want to add a Google Play Style Action Bar into my AdvGen ToDoList acction. That will improve user interactions. I know that is doable in Android 3.0+, but I…
Read moreYou 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 moreThe standard way to do Ping in Android is using isReachable(). Like this: InetAddress address = InetAddress.getByName("192.168.1.1"));…
Read moreI have used HttpGet a lot in Android, but today, I started to build my first android widget. I used HttpGet for accessing some external feeds. I got…
Read moreI 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 moreDhcpInfo.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 moreIn the most situation, XML file is case-insensitive. I thought that is the same case as Android Layout XML. There is no different between and . There is a…
Read moreIn the C# Wolrd, we always use "MessageBox.Show (String)" to generate on screen notification (Pop-Up Message Box). In the Android, it has a similar thing calls…
Read moreApple has announced iPhone 4S and iOS 5 update. I need Google to response this news too! Last week, they has announced Galaxy Nexus and Android 4.0. That is the…
Read moreI have written a tiny game in Android. That is my frist android progam. The game is very simple to guess what number the computer picked. But it shows how to…
Read moreThat is easy. You need to put the findViewbyId in OnCreate; txtNumber = (EditText) findViewById(R.id.txtNumber);
Read more