Monthly Archives: January 2011

Base64 Encoding in Android 2.1 or Earlier

Base64 is common used. Now Google added a utility class android.util.Base64. Unfortunately it is only available in Android 2.2 and later. So, you need just a little bit work to use it with Android 2.1 or ealier. Yes, just copy … Continue reading

Posted in android, java, python | Tagged , , | 3 Comments

Get the latitude and longitude from google map, which can be copied easily

1. Center the location of interest. You can use the yellow people marker to center it. 2. Copy and paste the following line to the address bar. Then press ENTER: javascript:void(prompt(gApplication.getMap().getCenter())); —- or —- javascript:void(prompt(”,gApplication.getMap().getCenter()));

Posted in Internet | 1 Comment