A comparison of Android against J2ME for location-based services