原创 Polymorphism, class member access control, static method/field

Overloading vs. overriding (Polymorphism) Overloading Between a class and its subclass or within the same classSame met

原创 Eclipse中用subclipse通過ssh tunneling check out project repo

Forwarded from http://myowntechdiary.blogspot.com/2009/05/eclipse-subclipse-svn-ssh.html solution validated on Eclipse

原创 Creating Toast in IntentService

Oftentimes, we need a background service to do a long running task like downloading a file when we develop android apps

原创 A very basic introduction about Java stack and heap

Forwarded from http://www.javatutorialhub.com/wiki/Stack_and_Heap Stack and Heap The JVM divided the memory into follo

原创 Neat and clear explanation of Java's passing by value

Q: Does Java pass by reference or pass by value? A: Your question demonstrates a common error made by Java language new

原创 Can Java classes be declared as static?

http://www.javaworld.com/javaworld/javaqa/1999-08/01-qa-static2.html?page=1

原创 Java Serialization

http://www.javabeginner.com/uncategorized/java-serialization 點贊 收藏 分享 文章舉報 Andrew659 發佈了

原创 shut down, restart, sleep keyboard short cut

shutdown: control+option+command+eject restart: control+command+eject sleep: option+command+eject One can set System P

原创 adb logcat filter doesn't work

My Android application tries to log some runtime information with Log.i ("myTag", rtMsg) According to Android developer

原创 Sending and receiving broadcast message in Android

Sending and receiving broadcast messages enables inter activity communication. Suppose in activity A you have completed

原创 Briefing introduction to four programming language concepts

link: http://joemorrison.org/projects/four-concepts/ 點贊 收藏 分享 文章舉報 Andrew659 發佈了82 篇原

原创 Android ListView and ListActivity Tutorial

http://www.vogella.de/articles/AndroidListView/article.html The above tutorial assumes you extend ListActivity. If you

原创 Android 用代碼開啓和關閉飛行模式

boolean isEnabled = Settings.System.getInt(getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 0) == 1; Settings.Sy

原创 Your project contains errors, but there is no red cross marks

http://hi.baidu.com/lonpo/blog/item/829a3862cf7568c9e7113aca.html 點贊 收藏 分享 文章舉報 Andrew659

原创 Calculate distance based on GPS data (latitude and longitude)

http://www.movable-type.co.uk/scripts/latlong.html 點贊 收藏 分享 文章舉報 Andrew659 發佈了82 篇原創文章 ·