Monday, March 24, 2014

Android: Easy Stock Quote

An easy to use stock quote app available:

Easy Stock Quote (簡易股票報價)


Easy Stock Quote

Features:

  • Stock Quote
  • Easy to use
  • Large font for easing viewing

https://play.google.com/store/apps/details?id=com.mk2.easystock&hl=en

Thursday, March 20, 2014

Android ListView Animations

Just found a library ListViewAnimations which delivers nice animations for list items in Android.

To start an animation programatically, we may consider something like:
v.clearAnimation();
Animation animation = AnimationUtils.loadAnimation(getActivity(), R.anim.slide_top_to_bottom);
v.startAnimation(animation);

Monday, March 17, 2014

Using Google Map API to access Google Earth Enterprise

Nice references for showing Google Earth Enterprise maps using the Map API:
The major thing is that we will use GFusionMap object instead of google.maps.Map object in the JavasScript. So that we can specify the GEE server definitions when we create the map object.

Sunday, March 2, 2014

ArcGIS Server Cached Map Expiry Time

The tiled cached map expire time can be controlled by a variable "cacheControlMaxAge" in ArcGIS Server Administrator Directory, available starting at ArcGIS for Server (Window) 10.2.

Ref: http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000577000000

The default HTTP header "max-age" is 86400 (i.e. 24 hours), which seems cannot be changed in ArcGIS Server 10.0.

For Android SDK 10.2, the map caching activities only works on the particular session. That means when the user quit the app and start it again. The previous cache will not be used.

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull