To quit the search UI in android:
((SearchManager)this.getSystemService(Context.SEARCH_SERVICE)).stopSearch();
Wednesday, November 27, 2013
Saturday, November 9, 2013
Android app: Find your phone via SMS
Beep My Phone is a useful Android app where you can send a SMS message to your phone, and the phone will play the notification sound no matter you had muted your phone or not.
Check it out via:
https://play.google.com/store/apps/details?id=com.mk2.beepmyphone
Check it out via:
https://play.google.com/store/apps/details?id=com.mk2.beepmyphone
Monday, November 4, 2013
Customize the 404 page for ArcGIS Server Map Services
ArcGIS Server 10 internal Tomcat web root:
\ArcGIS\Server10.0\java\manager\web_output
ArcGIS Server 10 internal Tomcat conf:
\ArcGIS\Server10.0\java\manager\service\managerappserver\conf
\ArcGIS\Server10.0\java\manager\web_output
ArcGIS Server 10 internal Tomcat conf:
\ArcGIS\Server10.0\java\manager\service\managerappserver\conf
You may modify the web.xml by adding the error page definition:
...
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/404.htm</location>
</error-page>
</web-app>
And the 404 error file can put in the root (/web_output)
Friday, November 1, 2013
References for setting up app routing in IIS 7
Application Request Routing in IIS
- http://learn.iis.net/page.aspx/482/install-application-request-routing/
- http://blogs.iis.net/wonyoo/archive/2011/04/20/how-to-install-application-request-routing-arr-2-5-without-web-platform-installer-webpi.aspx
- http://blogs.iis.net/wonyoo/archive/2011/03/29/why-is-application-request-routing-version-2-5-available-only-via-web-platform-installer.aspx
Subscribe to:
Posts (Atom)
Sync multiple git repo at once
Use the following command in Linux will do the job: ls -d RepoNames* | xargs -I{} git -C {} pull
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -&...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
To count the number lines of files / stdout in Linux, we uses "wc -l" to achieve. In Windows, we use the following instead: find...