Shaun Mccran

My digital playground

30
J
A
N
2011

Using ColdFusion to see Java server values

I've been dabbling in more and more Java recently as an accompaniment to my using ColdFusion development, and I've been finding more and more places where they support each other.

I rolled out a new Application to a live server (this one) and it failed to launch. This was all down to it running an incompatible JVM. So how do you tell what JVM version your server is running? I don't have direct access to this box, so I needed to do it in code.

[ More ]

15
J
A
N
2011

Dynamically adding markers to Google maps

Following on from a previous article I wrote about (Google maps panning the next step in my Google mapping project is to be able to add markers to a Google map dynamically.

This article deals with how to translate a location into a latitude and longitude using Google, and how to send and add markers from a database into a Google maps via a remote service, using AJAX and JSON.

There is a full example of the finished application here: Demo of dynamically adding markers to Google maps

[ More ]

14
J
A
N
2011

How Android application memory works

A common theme with the Android software platform is memory usage. Googling 'Android memory' will return a load of hits on how to optimise your memory usage, or how to free up more memory.

With the growth of the Application markets for Android I've been encountering more and more memory issues. Users want more Apps, and those Apps are becoming bigger and bigger, or are using third party plugins to run.

To effectively develop for the Android platform you should really consider how the system memory works.

[ More ]

03
O
C
T
2010

How to find out the size of data in MS SQL databases

If you are running Microsoft SQL server you may already be familiar with how the database file system can enlarge itself to astronomical proportions. There are 'Auto shrink' and 'Auto grow' options, but these are really not recommended for production environments.

So how do you go about determining how much space is being used by actual data IE records, and how much is being used by log files etc? This article will show you how to run a query that will return the size of all the tables in your database, and highlight a TSQL command that will clean up the file storage of a database.

[ More ]

_UNKNOWNTRANSLATION_ /